Hello,

Of course, this is a pretty simple query: http://tinyurl.com/y5jvash3
Hope this helps.

Ettore Rizza


Le jeu. 28 mars 2019 à 09:51, Raveesh M <raveesh.tmh@gmail.com> a écrit :
Hi,

I would like to know if SPARQL can be used to fetch information like "What is the value of the property P31 for a given QId?"

e.g.,
query: What is the value of the property P31 for QId="Q949228"
response: Q11424 (label: film)

The intent behind such query is to identify the "type of" (or "sub-class of") for some entity Q for which I know the QId.

Thanks and regards,
Raveesh
_______________________________________________
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata