Question: How many manifestations use the Chinese language or are studied by women's studies?
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> "manifestation" .  { ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "Chinese" .  } UNION { ?e_1 <studies> ?e . ?e_1 <pred:name> "women's studies" .  } }
Program:
function: Find
inputs: Chinese
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: FilterConcept
dependencies: 1
inputs: manifestation
function: Find
inputs: women's studies
function: Relate
dependencies: 3
inputs: studies
forward
function: FilterConcept
dependencies: 4
inputs: manifestation
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2