Question: How many counties of New Jersey were named after the historic county in England with an area less than 8100 square kilometers?
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> "county of New Jersey" . ?e <named_after> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "historic county of England" . ?e_1 <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> ?v . FILTER ( ?v < "8100"^^xsd:double ) .   }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: area
8100 square kilometre
<
function: FilterConcept
dependencies: 1
inputs: historic county of England
function: Relate
dependencies: 2
inputs: named after
backward
function: FilterConcept
dependencies: 3
inputs: county of New Jersey
function: Count
dependencies: 4
Answer: 1