Question: How many counties of Texas have a capital Beaumont, or FIPS 6-4 (Us counties_ of 48157?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Texas" .  { ?e <capital> ?e_1 . ?e_1 <pred:name> "Beaumont" .  } UNION { ?e <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> "48157" .  } }
Program:
function: Find
inputs: Beaumont
function: Relate
dependencies: 0
inputs: capital
backward
function: FilterConcept
dependencies: 1
inputs: county of Texas
function: FindAll
function: FilterStr
dependencies: 3
inputs: FIPS 6-4 (US counties)
48157
function: FilterConcept
dependencies: 4
inputs: county of Texas
function: Or
dependencies: 2
5
function: Count
dependencies: 6