Question: How many film genres have origins from Austria-Hungary or are the genre of Little Women (whose publication date is 1950-01-01)?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film genre" .  { ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Austria-Hungary" .  } UNION { ?e_1 <genre> ?e . ?e_1 <pred:name> "Little Women" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1950-01-01"^^xsd:date .  } }
Program:
function: Find
inputs: Austria-Hungary
function: Relate
dependencies: 0
inputs: country of origin
backward
function: FilterConcept
dependencies: 1
inputs: film genre
function: Find
inputs: Little Women
function: FilterDate
dependencies: 3
inputs: publication date
1950-01-01
=
function: Relate
dependencies: 4
inputs: genre
forward
function: FilterConcept
dependencies: 5
inputs: film genre
function: Or
dependencies: 2
6
function: Count
dependencies: 7
Answer: 1