Question: How many public educational institution of the United States have Annapolis (twinned town with Wexford) as their headquarters, or ISNI of 0000 0001 0722 8794?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0001 0722 8794
function: FilterConcept
dependencies: 1
inputs: public educational institution of the United States
function: Find
inputs: Wexford
function: Relate
dependencies: 3
inputs: twinned administrative body
forward
function: Find
inputs: Annapolis
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: headquarters location
backward
function: FilterConcept
dependencies: 7
inputs: public educational institution of the United States
function: Or
dependencies: 2
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "public educational institution of the United States" .  { ?e <ISNI> ?pv . ?pv <pred:value> "0000 0001 0722 8794" .  } UNION { ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Annapolis" . ?e_2 <twinned_administrative_body> ?e_1 . ?e_2 <pred:name> "Wexford" .  } }
Answer: 2