-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathontorefine-sparql-construct
47 lines (46 loc) · 1.39 KB
/
ontorefine-sparql-construct
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
41
42
43
44
45
46
47
PREFIX lod: <http://lod.eurohelp.es/>
PREFIX spif: <http://spinrdf.org/spif#>
INSERT {
GRAPH<http://lod.eurohelp.es/graph/basic3>{
?myRowId a <http://purl.obolibrary.org/obo/SO_0000289> ;
lod:Microsatellite_ID ?Microsatellite_ID ;
lod:Motif ?Motif ;
lod:Target_region_sequence ?Target_region_sequence ;
lod:Primer_F ?Primer_F ;
lod:Column ?Column ;
lod:Column2 ?Column2 ;
lod:Primer_R ?Primer_R ;
lod:Column3 ?Column3 ;
lod:Column4 ?Column4 ;
lod:Sequence ?Sequence ;
lod:BLAST_results ?BLAST_results ;
lod:Column5 ?Column5 ;
lod:Column6 ?Column6 ;
lod:Column7 ?Column7 ;
lod:Column8 ?Column8 ;
lod:Column9 ?Column9 ;
<http://purl.uniprot.org/core/organism> ?Column10 .
}
} WHERE {
SERVICE <http://localhost:7200/rdf-bridge/1897288433875> {
?row a lod:Row ;
lod:Microsatellite_ID ?Microsatellite_ID ;
lod:Motif ?Motif ;
lod:Target_region_sequence ?Target_region_sequence ;
lod:Primer_F ?Primer_F ;
lod:Column ?Column ;
lod:Column2 ?Column2 ;
lod:Primer_R ?Primer_R ;
lod:Column3 ?Column3 ;
lod:Column4 ?Column4 ;
lod:Sequence ?Sequence ;
lod:BLAST_results ?BLAST_results ;
lod:Column5 ?Column5 ;
lod:Column6 ?Column6 ;
lod:Column7 ?Column7 ;
lod:Column8 ?Column8 ;
lod:Column9 ?Column9 ;
lod:Column10 ?Column10 .
BIND(IRI(spif:buildString("http://lod.eurohelp.es/{?1}", ENCODE_FOR_URI(?Microsatellite_ID))) AS ?myRowId)
}
}