Question: How many in learned society have the ISNI 0000 0001 2248 8383 or are located in Manhattan (the one that is the birthplace of Peter Coyote)?
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> "learned society" .  { ?e <ISNI> ?pv . ?pv <pred:value> "0000 0001 2248 8383" .  } UNION { ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Manhattan" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> "Peter Coyote" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0001 2248 8383
function: FilterConcept
dependencies: 1
inputs: learned society
function: Find
inputs: Peter Coyote
function: Relate
dependencies: 3
inputs: place of birth
forward
function: Find
inputs: Manhattan
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 7
inputs: learned society
function: Or
dependencies: 2
8
function: Count
dependencies: 9
Answer: 2