Question: How many private not-for-profit educational institutions are located in Texas (the one whose official website is http://www.texas.gov/)?
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> "private not-for-profit educational institution" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Texas" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://www.texas.gov/" .   }
Program:
function: Find
inputs: Texas
function: FilterStr
dependencies: 0
inputs: official website
http://www.texas.gov/
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 2
inputs: private not-for-profit educational institution
function: Count
dependencies: 3