Question: How many Golden Globe Award ceremony there have beenthat follows 56th Golden Globe Awards or whose location is Midland (the one created in 1881)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Golden Globe Award ceremony" .  { ?e_1 <followed_by> ?e . ?e_1 <pred:name> "56th Golden Globe Awards" .  } UNION { ?e <location> ?e_1 . ?e_1 <pred:name> "Midland" . ?e_1 <inception> ?pv . ?pv <pred:year> 1881 .  } }
Program:
function: Find
inputs: 56th Golden Globe Awards
function: Relate
dependencies: 0
inputs: followed by
forward
function: FilterConcept
dependencies: 1
inputs: Golden Globe Award ceremony
function: Find
inputs: Midland
function: FilterYear
dependencies: 3
inputs: inception
1881
=
function: Relate
dependencies: 4
inputs: location
backward
function: FilterConcept
dependencies: 5
inputs: Golden Globe Award ceremony
function: Or
dependencies: 2
6
function: Count
dependencies: 7