Hello everyone,

I have the following pattern in a SPARQL query:

?s ps:P2302 wd:Q52712340.
?item p:P2302 ?s.

It should give me all properties constrained by a specific constraint, which works. Based on this I would like to find out how many statements have these properties. However, ?item has the wd-prefix. To use it in

?subject ?item ?object,

I would need to "transform" it into the same ID but with the wdt-prefix. Is this possible in any way?

Greetings

Adrian


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

Reply via email to