Question: How many land-grant universities are out there whose Twitter username is universityofri or that are in California (containing Humboldt County administrative division) ?
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> "land-grant university" .  { ?e <Twitter_username> ?pv . ?pv <pred:value> "universityofri" .  } UNION { ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "California" . ?e_1 <contains_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> "Humboldt County" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
universityofri
function: FilterConcept
dependencies: 1
inputs: land-grant university
function: Find
inputs: Humboldt County
function: Relate
dependencies: 3
inputs: contains administrative territorial entity
backward
function: Find
inputs: California
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 7
inputs: land-grant university
function: Or
dependencies: 2
8
function: Count
dependencies: 9
Answer: 2