Skip to content

Commit 4a2df34

Browse files
committed
update SPARQL queries for language
1 parent 75f2999 commit 4a2df34

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

ted_sws/resources/queries/languages.rq

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,17 @@ PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
22
PREFIX euvoc: <http://publications.europa.eu/ontology/euvoc#>
33

44

5-
select ?code ?conceptURI
5+
select distinct ?code ?conceptURI
66
where
77
{
88
graph <http://publications.europa.eu/resource/authority/language>
99
{
1010

1111
?conceptURI skos:notation ?code .
1212

13-
filter (datatype(?code)=euvoc:TED_SCHEMA)
13+
filter (datatype(?code) in (euvoc:XML_LNG, euvoc:TED_SCHEMA))
14+
# bind(datatype(?code) as ?datatype)
15+
1416

1517
}
1618
}

0 commit comments

Comments
 (0)