Project:SPARQL/examples: Difference between revisions

Jump to navigation Jump to search
Line 230: Line 230:


#defaultView:LineChart
#defaultView:LineChart
SELECT ?EqualityIndex ?PointInTime ?RegionLabel
SELECT ?PointInTime ?EqualityIndex ?RegionLabel
WHERE
WHERE
{
{
   ?RegionLabel p:P861 ?EqualityIndexProp .
   ?Region p:P864 ?EqualityIndexProp .
   ?EqualityIndexProp pq:P19 ?PointInTime ;
   ?EqualityIndexProp pq:P19 ?PointInTime ;
                     ps:P861 ?EqualityIndex .
                     ps:P864 ?EqualityIndex .
   SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
   SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
}

Navigation menu