Question: What is the Dewey Decimal Classification of the independent city that is a part of Virginia (which contains Fairfax County)?
Choices:
2--761
491.439
2--786
2--77177
2--79421
2--72921
2--76431
2--755523
2--4897
2--5525
Answer: 2--755523
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "independent city" . ?e_1 <has_part> ?e . ?e_1 <pred:name> "Virginia" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "Fairfax County" .  ?e <Dewey_Decimal_Classification> ?pv .  }
Program:
function: Find
inputs: Fairfax County
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Virginia
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: has part
forward
function: FilterConcept
dependencies: 4
inputs: independent city
function: QueryAttr
dependencies: 5
inputs: Dewey Decimal Classification