Question: How many software have either the operating system of Microsoft Windows or are common property of a public university?
Choices: 1
2
3
4
5
6
7
8
9
10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "software" .  { ?e <operating_system> ?e_1 . ?e_1 <pred:name> "Microsoft Windows" .  } UNION { ?e_1 <properties_for_this_type> ?e . ?e_1 <pred:name> "public university" .  } }
Program:
function: Find
inputs: Microsoft Windows
function: Relate
dependencies: 0
inputs: operating system
backward
function: FilterConcept
dependencies: 1
inputs: software
function: Find
inputs: public university
function: Relate
dependencies: 3
inputs: properties for this type
forward
function: FilterConcept
dependencies: 4
inputs: software
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 4