Question: How many officials are represented by the website www.state.gov/secretary/index.htm or are appointed by the First Lady of the US?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "official" .  { ?e <official_website> ?pv . ?pv <pred:value> "https://www.state.gov/secretary/index.htm" .  } UNION { ?e <appointed_by> ?e_1 . ?e_1 <pred:name> "First Lady of the United States" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
https://www.state.gov/secretary/index.htm
function: FilterConcept
dependencies: 1
inputs: official
function: Find
inputs: First Lady of the United States
function: Relate
dependencies: 3
inputs: appointed by
backward
function: FilterConcept
dependencies: 4
inputs: official
function: Or
dependencies: 2
5
function: Count
dependencies: 6