Changes
Jump to navigation
Jump to search
Line 1:
Line 1:
− +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
no edit summary
{{SPARQLLink|query=s}}
{{SPARQLLink|query=#defaultView:Graph
PREFIX pdio: <http://wiki.personaldata.io/entity/>
PREFIX pdiot: <http://wiki.personaldata.io/prop/direct/>
SELECT ?operator ?operatorLabel ?rgb ?project ?projectLabel
WITH {SELECT ?operator WHERE {
BIND(?item AS ?operator)
BIND(pdio:Q401 AS ?class)
?item pdiot:P3 ?class.
}
}
AS %operator
WITH {SELECT ?project WHERE {
BIND(?item AS ?project)
BIND(pdio:Q646 AS ?class)
?item pdiot:P3 ?class.
}
}
AS %project
WHERE {
{
INCLUDE %operator.
}
UNION
{
INCLUDE %project.
BIND("990000" AS ?rgb)
}
UNION
{
INCLUDE %operator.
INCLUDE %project.
?project pdiot:P111 ?operator
BIND("FFFFFF" AS ?rgb)
}
UNION
{
INCLUDE %operator.
INCLUDE %project.
?operator pdiot:P111 ?project
BIND("FFFFFF" AS ?rgb)
}
SERVICE wikibase:label {
bd:serviceParam wikibase:language "en" .
}
}
LIMIT 10000}}