Wikidata SPARL query by generic property return object instead of statement

I want to disseminate the query by spreading the nodes like in the below query. SELECT ?item ?itemLabel ?prop ?object ?objectLabel ?prop2 ?object2 WHERE { VALUES (?item) { (wd:Q12418)} ?item ?prop ?object. ?object ?prop2 ?object2 SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } # Helps get the label in your language, if not, then en language… Read More Wikidata SPARL query by generic property return object instead of statement