What is the {human} for {studies} of {psychology}
Which is the name given to one who studies psychology?
What is the name given to one who studies psychology?
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:human . ?v property:studies resource:psychology }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2578> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q9418> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q5> } 
 select distinct ?sbj where { ?sbj wdt:P2578 wd:Q9418 . ?sbj wdt:P31 wd:Q5 } 
Ghasem Bahram Afshar