Question: How many guitar pieces are related to famous Charlie Cox, who died on 1st January 1978, or, are a guitar part ?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Charlie Cox
function: FilterDate
dependencies: 0
inputs: date of death
1978-01-01
=
function: Relate
dependencies: 1
inputs: famous people
backward
function: FilterConcept
dependencies: 2
inputs: guitar
function: Find
inputs: guitar
function: Relate
dependencies: 4
inputs: has parts of the class
forward
function: FilterConcept
dependencies: 5
inputs: guitar
function: And
dependencies: 3
6
function: Count
dependencies: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "guitar" . ?e <famous_people> ?e_1 . ?e_1 <pred:name> "Charlie Cox" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1978-01-01"^^xsd:date .  ?e_2 <has_parts_of_the_class> ?e . ?e_2 <pred:name> "guitar" .  }
Answer: 0