Skip to content

Commit 1409d4c

Browse files
committed
update SPARQL queries for language
1 parent 4a2df34 commit 1409d4c

2 files changed

Lines changed: 7 additions & 22 deletions

File tree

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
11
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
22
PREFIX euvoc: <http://publications.europa.eu/ontology/euvoc#>
3+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
34

4-
5-
select distinct ?code ?conceptURI
6-
where
5+
SELECT DISTINCT ?code ?conceptURI
6+
WHERE
77
{
8-
graph <http://publications.europa.eu/resource/authority/language>
9-
{
10-
8+
GRAPH <http://publications.europa.eu/resource/authority/language>
9+
{
1110
?conceptURI skos:notation ?code .
12-
13-
filter (datatype(?code) in (euvoc:XML_LNG, euvoc:TED_SCHEMA))
14-
# bind(datatype(?code) as ?datatype)
15-
16-
11+
FILTER (datatype(?code) IN (rdf:resource="http://publications.europa.eu/resource/authority/notation-type/ISO_639_3", euvoc:TED_SCHEMA))
1712
}
18-
}
13+
}
Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +0,0 @@
1-
PREFIX dc: <http://purl.org/dc/elements/1.1/>
2-
3-
select ?code ?conceptURI
4-
where
5-
{
6-
graph <http://publications.europa.eu/resource/authority/main-activity>
7-
{
8-
?conceptURI dc:identifier ?code .
9-
}
10-
}

0 commit comments

Comments
 (0)