Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT ?item ?type ?itemLabel ?snippet WHERE {
- SERVICE wikibase:mwapi {
- bd:serviceParam wikibase:api "Search" .
- bd:serviceParam wikibase:endpoint "www.wikidata.org" .
- bd:serviceParam mwapi:srsearch "Merkel" .
- ?item wikibase:apiOutputItem "@title" .
- ?snippet wikibase:apiOutput "@snippet" .
- ?ordinal wikibase:apiOrdinal TRUE .
- }
- ?item wdt:P31 ?type .
- SERVICE wikibase:label { bd:serviceParam wikibase:language "en" . }.
- } ORDER BY ASC (?ordinal) LIMIT 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement