I used the query builder to find all instances where property Q1902
is available. A portion of the query returned by the builder is:
<code>SELECT DISTINCT ?item ?statement0 WHERE {
?item p:P1902 ?statement0.
?statement0 (ps:P1902) _:anyValueP1902.
}
LIMIT 100
</code>
<code>SELECT DISTINCT ?item ?statement0 WHERE {
?item p:P1902 ?statement0.
?statement0 (ps:P1902) _:anyValueP1902.
}
LIMIT 100
</code>
SELECT DISTINCT ?item ?statement0 WHERE {
?item p:P1902 ?statement0.
?statement0 (ps:P1902) _:anyValueP1902.
}
LIMIT 100
How can I get the actual value (or label) of the property returned in the query rather than the link to it?