Difference between revisions of "Project:MyData"
Jump to navigation
Jump to search
(Created page with "{{SPARQLtext|query= #defaultView:Graph PREFIX pdio: <http://wiki.personaldata.io/entity/> PREFIX pdiot: <http://wiki.personaldata.io/prop/direct/> SELECT ?node ?nodeLabel ?...") |
|||
| Line 1: | Line 1: | ||
| − | [[{{ | + | [[{{SPARQLText|query= |
#defaultView:Graph | #defaultView:Graph | ||
PREFIX pdio: <http://wiki.personaldata.io/entity/> | PREFIX pdio: <http://wiki.personaldata.io/entity/> | ||
Revision as of 23:40, 18 October 2019
[[PREFIX pdio: <https://wiki.personaldata.io/entity/> PREFIX pdiot: <https://wiki.personaldata.io/prop/direct/> PREFIX pdiop: <https://wiki.personaldata.io/prop/> PREFIX pdiops: <https://wiki.personaldata.io/prop/statement/> PREFIX pdiopq: <https://wiki.personaldata.io/prop/qualifier/>
- 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]]