Question: Does the organization that has member Walter Scott (the one that has the occupation of playwright), have its Library of Congress Classification equal to HS395?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "organization" . ?e_1 <member_of> ?e . ?e_1 <pred:name> "Walter Scott" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "playwright" .  ?e <Library_of_Congress_Classification> ?pv . ?pv <pred:value> "HS395" .  }
Program:
function: Find
inputs: playwright
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Walter Scott
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: member of
forward
function: FilterConcept
dependencies: 4
inputs: organization
function: QueryAttr
dependencies: 5
inputs: Library of Congress Classification
function: VerifyStr
dependencies: 6
inputs: HS395
Answer: yes