Question: How many Texas counties have the ISNI 0000 0004 0481 0334 or are an administrative division of Texas (that is the narrative location of The Texas Chainsaw Massacre)?
Choices:
15
16
17
18
19
20
21
22
23
24
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0004 0481 0334
function: FilterConcept
dependencies: 1
inputs: county of Texas
function: Find
inputs: The Texas Chainsaw Massacre
function: Relate
dependencies: 3
inputs: narrative location
forward
function: Find
inputs: Texas
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 7
inputs: county of Texas
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> "county of Texas" .  { ?e <ISNI> ?pv . ?pv <pred:value> "0000 0004 0481 0334" .  } UNION { ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Texas" . ?e_2 <narrative_location> ?e_1 . ?e_2 <pred:name> "The Texas Chainsaw Massacre" .  } }
Answer: 17