Closed tobybatch closed 11 years ago
This, gives no results. May be a virtuosos issue. I'll investigate on monday when Neil is back.
select distinct ?region as ?url ?regionlabel as ?label count(distinct ?article) as ?count from http://linked-development.org/eldis/ where { ?article a http://purl.org/ontology/bibo/Article . ?article http://purl.org/dc/terms/coverage ?region . ?region a http://www.fao.org/countryprofiles/geoinfo/geopolitical/resource/geographical_region. { ?region http://www.fao.org/countryprofiles/geoinfo/geopolitical/resource/nameList ?regionlabel. } UNION { ?region http://www.w3.org/2000/01/rdf-schema#label ?regionlabel. } FILTER(lang(?regionlabel) = 'en' || lang(?regionlabel) = "") }
This seemed to be working on the API.
This, gives no results. May be a virtuosos issue. I'll investigate on monday when Neil is back.
select distinct ?region as ?url ?regionlabel as ?label count(distinct ?article) as ?count from http://linked-development.org/eldis/ where { ?article a http://purl.org/ontology/bibo/Article . ?article http://purl.org/dc/terms/coverage ?region . ?region a http://www.fao.org/countryprofiles/geoinfo/geopolitical/resource/geographical_region. { ?region http://www.fao.org/countryprofiles/geoinfo/geopolitical/resource/nameList ?regionlabel. } UNION { ?region http://www.w3.org/2000/01/rdf-schema#label ?regionlabel. } FILTER(lang(?regionlabel) = 'en' || lang(?regionlabel) = "") }