Skip to content

Commit 5273b4f

Browse files
authored
Merge pull request #525 from OP-TED/feature-TED5-171
SPARQL queries for resources
2 parents f35d3e4 + b2fef74 commit 5273b4f

29 files changed

Lines changed: 264 additions & 21 deletions
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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/eu-programme>
7+
{
8+
?conceptURI dc:identifier ?code .
9+
}
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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/accessibility>
7+
{
8+
?conceptURI dc:identifier ?code .
9+
}
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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/applicability>
7+
{
8+
?conceptURI dc:identifier ?code .
9+
}
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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/change-corrig-justification>
7+
{
8+
?conceptURI dc:identifier ?code .
9+
}
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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/communication-justification>
7+
{
8+
?conceptURI dc:identifier ?code .
9+
}
10+
}

ted_sws/resources/queries/country.rq

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ where
1010

1111
?conceptURI skos:notation ?code .
1212

13-
filter (datatype(?code)=euvoc:TED_SCHEMA)
13+
filter (datatype(?code) in (euvoc:ISO_3166_1_ALPHA_3, euvoc:TED_SCHEMA))
1414

1515
}
1616
}

ted_sws/resources/queries/cvd-contract-type.rq

Whitespace-only changes.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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/dps-usage>
7+
{
8+
?conceptURI dc:identifier ?code .
9+
}
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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/environmental-impact>
7+
{
8+
?conceptURI dc:identifier ?code .
9+
}
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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/framework-agreement>
7+
{
8+
?conceptURI dc:identifier ?code .
9+
}
10+
}

0 commit comments

Comments
 (0)