16,603
edits
Line 111: | Line 111: | ||
SERVICE wikibase:label { bd:serviceParam wikibase:language "da,en". } | SERVICE wikibase:label { bd:serviceParam wikibase:language "da,en". } | ||
} | } | ||
</pre> | |||
=== Project types === | |||
<pre> | |||
#defaultView:Graph | |||
PREFIX dreams: <https://dreams.wikibase.cloud/entity/> | |||
PREFIX dreamst: <https://dreams.wikibase.cloud/prop/direct/> | |||
SELECT | |||
?project1 ?project1Label | |||
?project2 ?project2Label | |||
WHERE { | |||
{ ?project1 dreamst:P14+ dreams:Q91 . | |||
?project2 dreamst:P14+ dreams:Q91 } | |||
UNION | |||
{ BIND(dreams:Q91 AS ?project1) } | |||
?project2 dreamst:P14 ?project1 . | |||
SERVICE wikibase:label { bd:serviceParam wikibase:language "da,en". } | |||
} | |||
</pre> | </pre> |