Question: Is 10000 not the number of employees participating as a professor at the university whose headquarters is located in Munich (that is the birthplace of Werner Herzog)?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "university" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Munich" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> "Werner Herzog" .  ?e <employees> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "10000"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <employees> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv . ?qpv <pred:value> "professor" .  }
Program:
function: Find
inputs: Werner Herzog
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: Munich
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: headquarters location
backward
function: FilterConcept
dependencies: 4
inputs: university
function: QueryAttrUnderCondition
dependencies: 5
inputs: employees
applies to part
professor
function: VerifyNum
dependencies: 6
inputs: 10000
!=