Question: How many ceremonial counties of England are located in England, the narrative location of The French Lieutenant's Woman, or are the twinned administrative body of Meridian (the one whose official website is http://www.meridianms.org/)    ?
Choices:
22
23
24
25
26
27
28
29
30
31
Answer: 25
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "ceremonial county of England" .  { ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "England" . ?e_2 <narrative_location> ?e_1 . ?e_2 <pred:name> "The French Lieutenant's Woman" .  } UNION { ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Meridian" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://www.meridianms.org/" .  } }
Program:
function: Find
inputs: The French Lieutenant's Woman
function: Relate
dependencies: 0
inputs: narrative location
forward
function: Find
inputs: England
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: ceremonial county of England
function: Find
inputs: Meridian
function: FilterStr
dependencies: 6
inputs: official website
http://www.meridianms.org/
function: Relate
dependencies: 7
inputs: twinned administrative body
forward
function: FilterConcept
dependencies: 8
inputs: ceremonial county of England
function: Or
dependencies: 5
9
function: Count
dependencies: 10