Wikidata:SPARQL query service/queries/USPres via P6
Jump to navigation
Jump to search
# Alternative query for the
# President and First Lady of the United States
SELECT ?pres ?presLabel ?wife ?wifeLabel WHERE {
wd:Q30 wdt:P6 ?pres .
?pres wdt:P26 ?wife .
SERVICE wikibase:label {
bd:serviceParam wikibase:language "en" .
}
}
Run this
When transcluded from a wiki page, the query above will be turned into a URL suitable to include in a link