Question: How many states are the birthplace of Carlos Santana (citizen of the USA) and have the official website of http://www.sa.gov.au/?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "first-level administrative country subdivision" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Carlos Santana" . ?e_1 <country_of_citizenship> ?e_2 . ?e_2 <pred:name> "United States of America" .  ?e <official_website> ?pv . ?pv <pred:value> "http://www.sa.gov.au/" .  }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: Carlos Santana
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of birth
forward
function: FilterConcept
dependencies: 4
inputs: first-level administrative country subdivision
function: FindAll
function: FilterStr
dependencies: 6
inputs: official website
http://www.sa.gov.au/
function: FilterConcept
dependencies: 7
inputs: first-level administrative country subdivision
function: And
dependencies: 5
8
function: Count
dependencies: 9