Mercurial > hg > NamedIdentityManager
comparison src/de/mpiwg/itgroup/nimanager/persons/personQueryString @ 5:cdc4c12262b1
minor changes
author | dwinter |
---|---|
date | Wed, 21 Dec 2011 22:10:38 +0100 |
parents | |
children | 290d859f036b |
comparison
equal
deleted
inserted
replaced
4:f986e74583eb | 5:cdc4c12262b1 |
---|---|
1 sparql | |
2 | |
3 select * | |
4 FROM <file://mpiwg_persons_dnb.rdf> | |
5 FROM <file://mpiwg_persons_2.rdf> | |
6 FROM <file:///GND.rdf> | |
7 FROM <http://identifiedNames> | |
8 where { | |
9 {?person <http://xmlns.com/foaf/0.1/name> "%s". | |
10 | |
11 ?ident <http://ontologies.mpiwg-berlin.mpg.de/authorities/namedIdentities/identifies_NamedEntity> ?person. | |
12 ?gnd crm:P1_is_identified_by ?ident. | |
13 | |
14 optional {?person2 <http://www.w3.org/2002/07/owl#sameAs> ?person. | |
15 ?ident2 <http://ontologies.mpiwg-berlin.mpg.de/authorities/namedIdentities/identifies_NamedEntity> ?person2. | |
16 ?objects crm:P1_is_identified_by ?ident2.} | |
17 | |
18 optional {?gnd <http://RDVocab.info/ElementsGr2/dateOfBirth> ?birthDate.} | |
19 optional {?gnd <http://RDVocab.info/ElementsGr2/dateOfDeath> ?deathDate.} | |
20 } | |
21 UNION {GRAPH <file://newpersonsFromProjects> {?person <http://xmlns.com/foaf/0.1/name> "Einstein, Albert"}}} |