Difference between revisions of "Project talk:MyData/Finland/Mapping"

From Wikibase Personal data
Jump to navigation Jump to search
Line 1: Line 1:
 +
{{#invoke:ConcatArgs|ConcatArgs|init=PREFIX pdio: <http://wiki.personaldata.io/entity/>
 +
PREFIX pdiot: <http://wiki.personaldata.io/prop/direct/>
 +
SELECT DISTINCT ?operator ?operatorLabel ?project ?projectLabel
 +
WHERE {
 +
  {
 +
    ?operator pdiot:P3 pdio:Q401.
 +
    OPTIONAL {?project pdiot:P111 ?operator}
 +
    OPTIONAL {?project pdiot:P111 ?operator}
 +
    ?operator pdiot:P55 pdio:Q564.
 +
  }
 +
  UNION
 +
  {
 +
    ?project pdiot:P3 pdio:Q646.
 +
    OPTIONAL {?project pdiot:P111 ?operator}
 +
    OPTIONAL {?project pdiot:P111 ?operator}
 +
    ?project pdiot:P55 pdio:Q564.
 +
  }
 +
  SERVICE wikibase:label {
 +
    bd:serviceParam wikibase:language "en" .
 +
  }
 +
}
 +
LIMIT 10000
 +
|min=1}}
 +
 +
 
{{SPARQLText|q=PREFIX pdio: <http://wiki.personaldata.io/entity/>
 
{{SPARQLText|q=PREFIX pdio: <http://wiki.personaldata.io/entity/>
 
PREFIX pdiot: <http://wiki.personaldata.io/prop/direct/>
 
PREFIX pdiot: <http://wiki.personaldata.io/prop/direct/>

Revision as of 11:00, 13 May 2019