Skip to content

Commit 5d32cc9

Browse files
committed
add placenames count query
1 parent 6b62687 commit 5d32cc9

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
PREFIX schema: <http://schema.org/>
3+
PREFIX sschema: <https://schema.org/>
4+
5+
SELECT DISTINCT ?name (count(?subj) as ?datasetcount) (count(?name) as ?count) WHERE {
6+
?subj sschema:spatialCoverage ?placenames_node .
7+
?placenames_node sschema:name ?name .
8+
}
9+
group by ?name
10+
ORDER BY DESC(?count)
11+

0 commit comments

Comments
 (0)