Question: How many law schools in Manhattan either have the subreddit of manhattan or the ARCHON code of 1514?
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> "law school" .  { ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Manhattan" . ?e_1 <subreddit> ?pv . ?pv <pred:value> "manhattan" .  } UNION { ?e <ARCHON_code> ?pv . ?pv <pred:value> "1514" .  } }
Program:
function: Find
inputs: Manhattan
function: FilterStr
dependencies: 0
inputs: subreddit
manhattan
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 2
inputs: law school
function: FindAll
function: FilterStr
dependencies: 4
inputs: ARCHON code
1514
function: FilterConcept
dependencies: 5
inputs: law school
function: Or
dependencies: 3
6
function: Count
dependencies: 7
Answer: 4