-
Notifications
You must be signed in to change notification settings - Fork 0
/
ulan.sparql
47 lines (47 loc) · 1.46 KB
/
ulan.sparql
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
SELECT ?uri ?name ?birth_year ?birth_place ?death_year ?death_place ?gender ?nationality ?object_links
WHERE {
BIND(<???> AS ?uri)
OPTIONAL {
?uri xl:prefLabel ?o1.
?o1 gvp:term ?name.
}
OPTIONAL {
?uri foaf:focus ?o2.
?o2 gvp:biographyPreferred ?o3.
?o3 gvp:estStart ?birth_year.
}
OPTIONAL {
?uri foaf:focus ?o4.
?o4 gvp:biographyPreferred ?o5.
?o5 gvp:estEnd ?death_year.
}
OPTIONAL {
?uri foaf:focus ?o6.
?o6 gvp:biographyPreferred ?o7.
?o7 schema:gender ?o8.
?o8 gvp:prefLabelGVP ?o9.
?o9 xl:literalForm ?gender.
}
OPTIONAL {
?uri foaf:focus ?o10.
?o10 gvp:biographyPreferred ?o11.
?o11 schema:birthPlace ?o12.
?o13 foaf:focus ?o12;
gvp:prefLabelGVP ?o14.
?o14 xl:literalForm ?birth_place.
}
OPTIONAL {
?uri foaf:focus ?o15.
?o15 gvp:biographyPreferred ?o16.
?o16 schema:deathPlace ?o17.
?o18 foaf:focus ?o17;
gvp:prefLabelGVP ?o19.
?o19 xl:literalForm ?death_place.
}
OPTIONAL {
?uri foaf:focus ?o20.
?o20 gvp:nationalityPreferred ?o21.
?o21 gvp:prefLabelGVP ?o22.
?o22 xl:literalForm ?nationality.
}
}