16,603
edits
Line 86: | Line 86: | ||
SERVICE wikibase:label { bd:serviceParam wikibase:language "da,en". } | SERVICE wikibase:label { bd:serviceParam wikibase:language "da,en". } | ||
} | } | ||
</pre> | |||
=== Effect graph === | |||
<pre> | |||
#defaultView:Graph | |||
PREFIX dreams: <http://dreams.wiki.opencura.com/entity/> | |||
PREFIX dreamst: <http://dreams.wiki.opencura.com/prop/direct/> | |||
SELECT | |||
?subactivity ?subactivityLabel ?rgb | |||
?impact ?impactLabel | |||
{ | |||
BIND( IF(EXISTS { ?subactivity dreamst:P14+ dreams:Q106 }, "3182BD", "E6550D") AS ?rgb) | |||
# ?impact dreamst:P14+ dreams:Q49 . | |||
?subactivity dreamst:P9 ?impact . | |||
SERVICE wikibase:label { bd:serviceParam wikibase:language "da,en". } | |||
} | |||
</pre> | </pre> |