Question: How many academic degrees are an aspect of The End of the Affair (whose publication date is 1951) or are the academic degree of Ludwig Wittgenstein?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "academic degree" .  { ?e <facet_of> ?e_1 . ?e_1 <pred:name> "The End of the Affair" . ?e_1 <publication_date> ?pv . ?pv <pred:year> 1951 .  } UNION { ?e_1 <academic_degree> ?e . ?e_1 <pred:name> "Ludwig Wittgenstein" .  } }
Program:
function: Find
inputs: The End of the Affair
function: FilterYear
dependencies: 0
inputs: publication date
1951
=
function: Relate
dependencies: 1
inputs: facet of
backward
function: FilterConcept
dependencies: 2
inputs: academic degree
function: Find
inputs: Ludwig Wittgenstein
function: Relate
dependencies: 4
inputs: academic degree
forward
function: FilterConcept
dependencies: 5
inputs: academic degree
function: Or
dependencies: 3
6
function: Count
dependencies: 7
Answer: 1