tisdag 26 juli 2016

Find all WikiTree people with Occupation Lady in Waiting Q715222

#defaultView:ImageGrids

SELECT DISTINCT ?occupationLabel ?nobelhouseLabel ?person ?personLabel ?dateOfBirth  ?WikiTree ?pic WHERE
{

  ?person wdt:P106 wd:Q715222 . # Occupation Lady in Waiting
  ?person wdt:P106 ?occupation . # Occupation Lady in Waiting
  OPTIONAL {?person wdt:P53 ?nobelhouse}
OPTIONAL {?person wdt:P2949 ?WikiTreeID } # WikiTreeID
   ?person wdt:P569 ?dateOfBirth .
    OPTIONAL {?person wdt:P19 ?placeOfBirth } # Birth location
    OPTIONAL {?person wdt:P18 ?pic}   # picture
 
  FILTER(?occupation = wd:Q715222)
   BIND (URI(CONCAT("http://www.wikitree.com/wiki/",?WikiTreeID)) AS ?WikiTree)

    SERVICE wikibase:label { bd:serviceParam wikibase:language "en","fr". } #English
}
Order By DESC(?WikiTree) ?nobelhouseLabel ?dateOfBirth
LIMIT 1000

Result

WikiTree profiles with this occupations

Inga kommentarer:

Skicka en kommentar