671 bytes added
, 5 years ago
[[{{SPARQLtext|query=
#defaultView:Graph
PREFIX pdio: <http://wiki.personaldata.io/entity/>
PREFIX pdiot: <http://wiki.personaldata.io/prop/direct/>
SELECT ?node ?nodeLabel ?value ?valueLabel ?edgeLabel
(IF(BOUND(?edge), ?propertyrgb, "FFFFFF") AS ?rgb) #white
{
VALUES (?propertyRel ?propertyrgb)
{
(pdiot:P57 "880000") # red
(pdiot:P55 "00AA00") # light green
(pdiot:P137 "0000AA") # blue
(pdiot:P145 "AA00AA") # pink
}
pdio:Q49 pdiot:P63 ?node.
OPTIONAL
{
?node ?propertyRel ?value.
?edge wikibase:directClaim ?propertyRel.
}.
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
}}|hub graph]]