# Query Find all subclasses P279 to Nobel houses Q13417114
#
#defaultView:ImageGrid
SELECT distinct ?nobelhouse ?nobelhouseLabel ?personDescription ?personLabel ?wikiTree ?findaGrave ?pic
{
?nobelhouse wdt:P31*/wdt:P279* wd:Q13417114 .
{?nobelhouse wdt:P17 ?country .}
?person wdt:P53 ?nobelhouse
OPTIONAL {?person wdt:P535 ?findAGrave } # FindAGraveID
# OPTIONAL {?person wdt:P1819 ?genealogics } # Genealogics
{?person wdt:P2949 ?wikiTreeID } # WikiTreeID
OPTIONAL {?person wdt:P569 ?dateOfBirth }
OPTIONAL {?person wdt:P19 ?placeOfBirth } # Birth location
# OPTIONAL {?placeOfBirth wdt:P625 ?coord1 } . # Get coordinates of Place of birth
OPTIONAL {?person wdt:P570 ?dateofDeath } # Deathdate
OPTIONAL {?person wdt:P20 ?deathLoc } # Death location
OPTIONAL {?person wdt:P18 ?pic} # picture
BIND (URI(CONCAT("http://www.wikitree.com/wiki/",?wikiTreeID)) AS ?wikiTree)
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","sv","cs","de","nl","ru","pl","fi","ca","es","bg",
"da","ro","sk","be","fy","it","br","uk","yi","gsw","fa","he","sr". } #English
}
Order By ?countryLabel ?nobelhouseLabel
LIMIT 10000
Inga kommentarer:
Skicka en kommentar