The property type is available under the wikibase:propertyType predicate: https://query.wikidata.org/#%23Subproperties%20of%20URL%20%28P2699%29%0ASELE...
Cheers, Lucas
On 07.06.2018 17:01, Thad Guidry wrote:
- 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%0ASELE...
- 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
Wikidata-tech mailing list Wikidata-tech@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-tech