-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnotes.txt
40 lines (33 loc) · 1.2 KB
/
notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
https://github.com/dotnetrdf/dotnetrdf
http://www.obofoundry.org/ontology/ncbitaxon.html
https://jena.apache.org/documentation/fuseki2/
https://hub.docker.com/r/stain/jena-fuseki/
lobster: <http://purl.obolibrary.org/obo/NCBITaxon_6693>
arachnida: <http://purl.obolibrary.org/obo/NCBITaxon_6854>
ricinulei: <http://purl.obolibrary.org/obo/NCBITaxon_58139>
ricinoididae: <http://purl.obolibrary.org/obo/NCBITaxon_88345>
Least common superclass:
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
prefix owl: <http://www.w3.org/2002/07/owl#>
select ?lcs ?label
where {
?lcs ^rdfs:subClassOf*
<http://purl.obolibrary.org/obo/NCBITaxon_6693> ,
<http://purl.obolibrary.org/obo/NCBITaxon_6854> .
filter not exists {
?sublcs ^rdfs:subClassOf*
<http://purl.obolibrary.org/obo/NCBITaxon_6693> ,
<http://purl.obolibrary.org/obo/NCBITaxon_6854> .
?sublcs rdfs:subClassOf ?lcs;
}
?lcs rdfs:label ?label .
}
Taxon:
prefix dbp: <http://dbpedia.org/property/>
select ?taxon ?label ?uri {
?uri rdfs:label ?label
filter contains(lcase(str(?label)), "spider")
?uri dbp:taxon ?taxon
}
order by asc (strlen(?label))