Question: How many Virginia counties have the ISNI of 0000 0004 0415 3127 or are a Virginia (the one that is the narrative location of The Vampire Diaries), administrative division?
Choices:
9
10
11
12
13
14
15
16
17
18
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0004 0415 3127
function: FilterConcept
dependencies: 1
inputs: county of Virginia
function: Find
inputs: The Vampire Diaries
function: Relate
dependencies: 3
inputs: narrative location
forward
function: Find
inputs: Virginia
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 7
inputs: county of Virginia
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 Virginia" .  { ?e <ISNI> ?pv . ?pv <pred:value> "0000 0004 0415 3127" .  } UNION { ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Virginia" . ?e_2 <narrative_location> ?e_1 . ?e_2 <pred:name> "The Vampire Diaries" .  } }
Answer: 15