Well, for that you can also use Special:ListProperties/url :)


On 08.06.2018 00:16, Thad Guidry wrote:
Thanks Lucas !

With that I was able to find and tweak another example ( since you showed me it's a wikibase parameter itself ! thanks so much !)

This gives me my list of all the Properties that are of " propertyType wikibase: Url "

https://query.wikidata.org/#%23Properties%20of%20type%20URL%0A%23%20Make%20a%20list%20of%20properties%20of%20the%20type%20Url%0ASELECT%20%3Fproperty%20%3FpropertyLabel%20%3FpropertyDescription%20WHERE%20%7B%0A%20%20%3Fproperty%20wikibase%3ApropertyType%20wikibase%3AUrl%20.%0A%09SERVICE%20wikibase%3Alabel%20%7B%0A%09%09bd%3AserviceParam%20wikibase%3Alanguage%20%22en%22%20.%0A%09%7D%20%20%20%20%20%20%20%20%20%20%0A%7D%20ORDER%20BY%20%3FpropertyLabel


On Thu, Jun 7, 2018 at 4:28 PM Lucas Werkmeister <mail@lucaswerkmeister.de> wrote:

The property type is available under the wikibase:propertyType predicate: https://query.wikidata.org/#%23Subproperties%20of%20URL%20%28P2699%29%0ASELECT%20DISTINCT%20%3FsubProperties%20%3FsubPropertiesLabel%20%3FpropertyType%20WHERE%20%7B%0A%20%20%3FsubProperties%20wdt%3AP1647%2a%20wd%3AP2699%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20wikibase%3ApropertyType%20%3FpropertyType.%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D

Cheers, Lucas


On 07.06.2018 17:01, Thad Guidry wrote:
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:

However, I don't quite understand how to get at the Data Type itself in Sparql ?

2. Should equivalent property and equivalent class 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

_______________________________________________
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech


_______________________________________________
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech