Question: I'd like to know the industry that is nicknamed Longhorn or that is based in Solaris (which was developed by Sun Microsystems)
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> "industry" .  { ?e <nickname> ?pv . ?pv <pred:value> "Longhorn" .  } UNION { ?e <based_on> ?e_1 . ?e_1 <pred:name> "Solaris" . ?e_1 <developer> ?e_2 . ?e_2 <pred:name> "Sun Microsystems" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: nickname
Longhorn
function: FilterConcept
dependencies: 1
inputs: industry
function: Find
inputs: Sun Microsystems
function: Relate
dependencies: 3
inputs: developer
backward
function: Find
inputs: Solaris
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: based on
backward
function: FilterConcept
dependencies: 7
inputs: industry
function: Or
dependencies: 2
8
function: Count
dependencies: 9
Answer: 1