what is the {statement is subject of} for {Eurasian Magpie} has {uses} as {self-awareness} ?
What is the Eurasian Magpie's statement concerning self awareness
What is the statement is subject of Eurasian Magpie  that uses self-awareness?
SELECT ?o WHERE { ?d property:statement_is_subject_of ?o . resource:Eurasian_Magpie property:uses ?d . ?d property:uses resource:self-awareness }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q25307> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2283> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q1314553> .
?statement <http://www.wikidata.org/entity/P805> ?value. 
} 

SELECT ?value WHERE { wd:Q25307 p:P2283 ?s . ?s ps:P2283 wd:Q1314553 . ?s pq:P805 ?value}