Question: How many provinces of the Netherlands are named after Utrecht (that contains Utrecht University) or are a common property of vitamin A?
Choices:
1
2
3
4
5
6
7
8
9
10
Program:
function: Find
inputs: Utrecht University
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Utrecht
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: named after
backward
function: FilterConcept
dependencies: 4
inputs: province of the Netherlands
function: Find
inputs: vitamin A
function: Relate
dependencies: 6
inputs: properties for this type
forward
function: FilterConcept
dependencies: 7
inputs: province of the Netherlands
function: Or
dependencies: 5
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of the Netherlands" .  { ?e <named_after> ?e_1 . ?e_1 <pred:name> "Utrecht" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "Utrecht University" .  } UNION { ?e_1 <properties_for_this_type> ?e . ?e_1 <pred:name> "vitamin A" .  } }
Answer: 1