Hello Wikicommunity,
What attributes are we seeking to output , just hyperlinks? The output
shall easily be In tabular format for further analysis.
~ Sikeyboi
On Thu, Jun 7, 2018, 3:22 PM <wikidata-tech-request(a)lists.wikimedia.org>
wrote:
Send Wikidata-tech mailing list submissions to
wikidata-tech(a)lists.wikimedia.org
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
or, via email, send a message with subject or body 'help' to
wikidata-tech-request(a)lists.wikimedia.org
You can reach the person managing the list at
wikidata-tech-owner(a)lists.wikimedia.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Wikidata-tech digest..."
Today's Topics:
1. Query data type using WDQS (Thad Guidry)
2. Re: Query data type using WDQS (Lucas Werkmeister)
3. Re: Query data type using WDQS (Thad Guidry)
----------------------------------------------------------------------
Message: 1
Date: Thu, 7 Jun 2018 10:01:10 -0500
From: Thad Guidry <thadguidry(a)gmail.com>
To: Wikidata technical discussion <wikidata-tech(a)lists.wikimedia.org>
Subject: [Wikidata-tech] Query data type using WDQS
Message-ID:
<CAChbWaPz-8bwyKbZF1pXfcB55=
Mc3PDOcN_y3fRhMDH1H+39rw(a)mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
1. Ok, after 1 hour, I have given up trying to find some good documentation
on Data Type querying with Sparql and asking for assistance from experts.
Many properties have a Data Type locked in with URL as shown on this Wiki
maintenance page:
https://www.wikidata.org/wiki/Category:Properties_with_url-datatype
However, I don't quite understand how to get at the Data Type itself in
Sparql ?
https://query.wikidata.org/#%23Subproperties%20of%20URL%20%28P2699%29%0ASEL…
2. Should equivalent property <
https://www.wikidata.org/wiki/Property:P1628>
and equivalent class <https://www.wikidata.org/wiki/Property:P1709> both
be
a subproperty of URL (I have applied this assumption to both, but wondering
if I might have missed some other way of expressing that or if not needed
since the Data Type is set, but having difficulty querying that in 1.)
I'm looking to query subjects having a statement where the property is a
Data Type = URL and filtered by contains("world") (don't ask why, hahaha)
Thanks in advance for direction and help,
-Thad