Question: How many activities' external data URL is http://data.europa.eu/euodp/en/data/group/eurovoc_domain_100146 or whose software engine is Havok (whose Stack Exchange tag is https://stackoverflow.com/tags/havok)?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "activity" .  { ?e <external_data_available_at> ?pv . ?pv <pred:value> "http://data.europa.eu/euodp/en/data/group/eurovoc_domain_100146" .  } UNION { ?e <software_engine> ?e_1 . ?e_1 <pred:name> "Havok" . ?e_1 <Stack_Exchange_tag> ?pv . ?pv <pred:value> "https://stackoverflow.com/tags/havok" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: external data available at
http://data.europa.eu/euodp/en/data/group/eurovoc_domain_100146
function: FilterConcept
dependencies: 1
inputs: activity
function: Find
inputs: Havok
function: FilterStr
dependencies: 3
inputs: Stack Exchange tag
https://stackoverflow.com/tags/havok
function: Relate
dependencies: 4
inputs: software engine
backward
function: FilterConcept
dependencies: 5
inputs: activity
function: Or
dependencies: 2
6
function: Count
dependencies: 7