onsdag 27 juli 2016

Nobel house Bernadotte Q201625

# Query Find all people subclasses P279 to Nobelhouses Bernadotte Q201625
#
#defaultView:ImageGrid
SELECT DISTINCT ?person ?personLabel ?dateofBirth ?placeOfBirthLabel ?dateofDeath ?WikiTreeIDf ?findAGravef ?wikiTreeIDf ?genealogicsf ?pic  WHERE

{
?nobelhouse wdt:P31*/wdt:P279* wd:Q201625 .
  ?person wdt:P53 ?nobelhouse
OPTIONAL {?person wdt:P535 ?findAGrave } # FindAGraveID
        OPTIONAL {?person wdt:P1819 ?genealogics }   # Genealogics
OPTIONAL {?person wdt:P2949 ?wikiTreeID } # WikiTreeID

        OPTIONAL {?person wdt:P569 ?dateOfBirth }
        OPTIONAL {?person wdt:P19 ?placeOfBirth } # Birth location

        OPTIONAL {?person wdt:P570 ?dateofDeath } # Deathdate
        OPTIONAL {?person wdt:P20 ?deathLoc } # Death location

        OPTIONAL {?person wdt:P119 ?placeOfBurial } # Burial location
        OPTIONAL {?person wdt:P18 ?pic}   # picture

    BIND (URI(CONCAT("http://www.wikitree.com/wiki/",?wikiTreeID)) AS ?wikiTreeIDf)
    BIND (URI(CONCAT("http://www.findagrave.com/cgi-bin/fg.cgi?page=gr&df=all&GRid=",?findAGrave)) AS ?findAGravef)
    BIND (URI(CONCAT("http://www.genealogics.org/getperson.php?tree=LEO&personID=",?genealogics)) AS ?genealogicsf)
   SERVICE wikibase:label { bd:serviceParam wikibase:language "en","fr". } #English
}
Order By (?dateOfBirth)
LIMIT 1000


Inga kommentarer:

Skicka en kommentar