Wikidata:SPARQL_query_service/queries/examples#Simple_Queries
Maybe one can add an example for getting data by QID? I propose Einstein and Bach : Q937, Q1339 and something that normally should have a single value, e.g. P25 mother. SELECT ?item ?itemLabel ?mother ?motherLabel WHERE {
?item IN SET {????????} OPTIONAL { ?item wdt:P25 ?mother. } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}