geo:asWKT (errors) poi:address (no) dc:identifier (no) dc:rights (no) locn:locatorDesignator (error) locn:adminUnitL1 (no) locn:fullAddress (error) locn:postCode (no) locn:postName (error) poi:region (error) (no) PREFIX geo: PREFIX geof: PREFIX virtrdf: PREFIX poi: PREFIX rdfs: PREFIX locn: PREFIX dc: SELECT ?Resource FROM WHERE { ?Resource poi:region ?obj . } GROUP BY ?Resource HAVING(COUNT(?obj) > 1) #limit 10 ### different languages label '' ru de pt en fr it cs ro pl fi la es cz lv PREFIX geo: PREFIX geof: PREFIX virtrdf: PREFIX poi: PREFIX rdfs: PREFIX locn: PREFIX dc: SELECT distinct (lang(?obj)) FROM WHERE { ?Resource rdfs:label ?obj . } #### different language title '' en de cs PREFIX geo: PREFIX geof: PREFIX virtrdf: PREFIX poi: PREFIX rdfs: PREFIX locn: PREFIX dc: SELECT DISTINCT ?Resource1 ?Resource2 FROM WHERE { ?Resource1 a ?type1 . ?Resource1 rdfs:label ?label1 . ?Resource2 a ?type2 . ?Resource2 rdfs:label ?label2 . #FILTER(lcase(str(?label1) = lcase(str(?label1) ) . FILTER ( ?Resource1 != ?Resource2 ) FILTER regex(?label1, ?label2, "i") } limit 10 ### PREFIX geo: PREFIX geof: PREFIX virtrdf: PREFIX poi: PREFIX rdfs: PREFIX locn: PREFIX dc: SELECT DISTINCT ?Resource1 ?Resource2 FROM WHERE { ?Resource1 a ?type1 . ?Resource1 rdfs:label ?label1 . ?Resource2 a ?type2 . ?Resource2 rdfs:label ?label2 . FILTER (lcase(str(?label1)) = lcase(str(?label2) )) . FILTER ( ?Resource1 != ?Resource2 ) #FILTER bif:contains(str(?label1), str(?label2)) } limit 10 ######## PREFIX geo: PREFIX geof: PREFIX virtrdf: PREFIX poi: PREFIX rdfs: PREFIX locn: PREFIX dc: PREFIX units: SELECT DISTINCT ?Resource1 ?Resource2 ?distance FROM WHERE { ?Resource1 a ?type1 . ?Resource1 rdfs:label ?label1 . ?Resource1 geo:asWKT ?geo1 . ?Resource2 a ?type2 . ?Resource2 rdfs:label ?label2 . ?Resource2 geo:asWKT ?geo2 . FILTER (lcase(str(?label1)) = lcase(str(?label2) )) . FILTER ( ?Resource1 != ?Resource2 && ?Resource1 < ?Resource2) FILTER (NOT EXISTS {?x a ?Resource1} && NOT EXISTS {?y a ?Resource2}) . BIND (geof:distance ( ?geo1 , ?geo2 , units:meter ) as ?distance) . FILTER ( ?distance < 1000 ) } LIMIT 1000 OFFSET 0