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