query-d77be0918b7219d10d09752a87e5f830
, it already takes much longer (surprisingly) ?item p:P106 ?statement1works and is very fast (5 ms), but when I use it as a subquery and add
Use at
- https://query.wikidata.org/sparql
PREFIX p: <http://www.wikidata.org/prop/>
SELECT DISTINCT ?item
WHERE
{
{
SELECT DISTINCT ?item
WHERE
{
?item p:P106 [].
} LIMIT 10
}
?item p:P106 ?statement1.
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
v2("?statement1")
a1((" "))
v1 --"p:P106"--> a1
v1 --"p:P106"--> v2