Difference between revisions of "Template:Graph"
Jump to navigation
Jump to search
(Created page with "{{SPARQL|state={{{state}}} |query= #defaultView:Graph SELECT ?object ?objectLabel ?rgb ?subject ?subjectLabel WHERE { VALUES (?object ?rgb){ {{{ objects_and_colors}...") |
|||
Line 4: | Line 4: | ||
SELECT ?object ?objectLabel ?rgb ?subject ?subjectLabel | SELECT ?object ?objectLabel ?rgb ?subject ?subjectLabel | ||
WHERE { | WHERE { | ||
− | VALUES | + | VALUES {{{ selector_objects}}} { |
− | {{{ | + | {{{ objects}}} |
} | } | ||
− | VALUES | + | VALUES {{{selector_predicates}}} { |
{{{predicates}}} | {{{predicates}}} | ||
} | } |
Revision as of 12:06, 15 January 2020
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
SELECT ?object ?objectLabel ?rgb ?subject ?subjectLabel
WHERE {
VALUES {{{ selector_objects}}} {
{{{ objects}}}
}
VALUES {{{selector_predicates}}} {
{{{predicates}}}
}
?subject ?predicate ?object
SERVICE wikibase:label {
bd:serviceParam wikibase:language "en" .
}
}
LIMIT 1000