Question: What is the relation between Karl Marx (whose PhilPapers topic is karl-marx) and historian?
Choices:
copyright holder
business division
occupation
member of sports team
publisher
located on terrain feature
practiced by
native language
license
instrument
Program:
function: Find
inputs: Karl Marx
function: FilterStr
dependencies: 0
inputs: PhilPapers topic
karl-marx
function: Find
inputs: historian
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Karl Marx" . ?e_1 <PhilPapers_topic> ?pv . ?pv <pred:value> "karl-marx" . ?e_2 <pred:name> "historian" . ?e_1 ?p ?e_2 .  }
Answer: occupation