Skip to content

Commit 33d572d

Browse files
authored
Merge pull request #68 from KNowledgeOnWebScale/EDC_active
Many visual and functional fixes and improvements
2 parents 8fcc45e + 99c0648 commit 33d572d

20 files changed

Lines changed: 14541 additions & 6661 deletions
Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
1-
# Datasources: https://sparql.uniprot.org/sparql, https://sparql.rhea-db.org/sparql/
1+
# Datasources: https://sparql.uniprot.org/sparql https://sparql.rhea-db.org/sparql/
22
PREFIX up: <http://purl.uniprot.org/core/>
33
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
44

55
SELECT ?protein ?reaction ?reactionLabel
66
WHERE {
7-
SERVICE <https://sparql.uniprot.org/sparql> {
8-
?protein a up:Protein ;
9-
up:organism <http://purl.uniprot.org/taxonomy/9606> ;
10-
up:catalyzedReaction ?reaction .
11-
}
12-
13-
SERVICE <https://sparql.rhea-db.org/sparql/> {
14-
?reaction rdfs:label ?reactionLabel .
15-
FILTER(lang(?reactionLabel) = "en")
16-
}
7+
?protein a up:Protein ;
8+
up:organism <http://purl.uniprot.org/taxonomy/9606> ;
9+
up:catalyzedReaction ?reaction .
10+
?reaction rdfs:label ?reactionLabel .
11+
FILTER(lang(?reactionLabel) = "en")
1712
}
1813
LIMIT 30
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Datasources: https://query.wikidata.org/sparql
2+
PREFIX wd: <http://www.wikidata.org/entity/>
3+
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
4+
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
5+
PREFIX wikibase: <http://wikiba.se/ontology#>
6+
PREFIX bd: <http://www.bigdata.com/rdf#>
7+
PREFIX dbo: <http://dbpedia.org/ontology/>
8+
9+
SELECT ?city ?cityLabel ?countryLabel ?dbpediaAbstract
10+
WHERE {
11+
?city wdt:P31/wdt:P279* wd:Q515 ; # city
12+
wdt:P17 ?country .
13+
SERVICE wikibase:label {
14+
bd:serviceParam wikibase:language "en" .
15+
?city rdfs:label ?cityLabel .
16+
?country rdfs:label ?countryLabel .
17+
}
18+
}
19+
LIMIT 20

demonstrator/federated-wikidata-dbpedia-cities.rq

Lines changed: 0 additions & 28 deletions
This file was deleted.

demonstrator/federated-wikidata-uniprot-human-proteins.rq

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Datasources: https://query.wikidata.org/sparql, https://sparql.uniprot.org/sparql
1+
# Datasources: https://query.wikidata.org/sparql
22
PREFIX wd: <http://www.wikidata.org/entity/>
33
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
44
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
@@ -8,14 +8,12 @@ PREFIX up: <http://purl.uniprot.org/core/>
88

99
SELECT ?wikidataProtein ?wikidataLabel ?uniprotAccession ?mnemonic
1010
WHERE {
11-
SERVICE <https://query.wikidata.org/sparql> {
12-
?wikidataProtein wdt:P31 wd:Q8054 ; # protein
13-
wdt:P703 wd:Q15978631 ; # Homo sapiens
14-
wdt:P352 ?uniprotAccession .
15-
SERVICE wikibase:label {
16-
bd:serviceParam wikibase:language "en" .
17-
?wikidataProtein rdfs:label ?wikidataLabel .
18-
}
11+
?wikidataProtein wdt:P31 wd:Q8054 ; # protein
12+
wdt:P703 wd:Q15978631 ; # Homo sapiens
13+
wdt:P352 ?uniprotAccession .
14+
SERVICE wikibase:label {
15+
bd:serviceParam wikibase:language "en" .
16+
?wikidataProtein rdfs:label ?wikidataLabel .
1917
}
2018

2119
SERVICE <https://sparql.uniprot.org/sparql> {

demonstrator/mixed-solid-wikidata-label-join.rq

Lines changed: 0 additions & 21 deletions
This file was deleted.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Datasources: https://triple.ilabt.imec.be/test/profile/card
2+
# QueryMode: solid-link-traversal
3+
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
4+
5+
SELECT ?person ?name
6+
WHERE {
7+
<http://localhost:3000/test/profile/card#me> foaf:knows ?person .
8+
?person foaf:name ?name .
9+
}
10+
LIMIT 10
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Datasources:https://triple.ilabt.imec.be/test/profile/card
2+
# QueryMode: solid-link-traversal
3+
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
4+
5+
SELECT ?linkedDocument
6+
WHERE {
7+
<http://localhost:3000/test/profile/card#me> rdfs:seeAlso ?linkedDocument .
8+
}
9+
LIMIT 10
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Datasources: https://triple.ilabt.imec.be/test/bio-usecase/nbn-chist-era-annex-1-chemicals-custom-predicate.ttl
2+
# QueryMode: solid-no-traversal
3+
SELECT ?s ?p ?o
4+
WHERE {
5+
?s ?p ?o .
6+
}
7+
LIMIT 15
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Datasources: https://triple.ilabt.imec.be/test/bio-usecase/nbn-chist-era-annex-1-chemicals-custom-predicate.ttl
2+
# QueryMode: solid-no-traversal
3+
SELECT DISTINCT ?value
4+
WHERE {
5+
?s ?p ?value .
6+
FILTER(isLiteral(?value))
7+
}
8+
LIMIT 10

demonstrator/triple-combined-service.rq

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
 (0)