Question: How many museums belong to a country that is the sovereign state whose external data URL is https://www.data.gov/ (the license of this statement is CC0) ?
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> "museum" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "sovereign state" . ?e_1 <external_data_available_at> ?pv . ?pv <pred:value> "https://www.data.gov/" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <external_data_available_at> ; <pred:fact_t> ?pv ] <license> ?qpv . ?qpv <pred:value> "CC0" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: external data available at
https://www.data.gov/
function: QFilterStr
dependencies: 1
inputs: license
CC0
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: museum
function: Count
dependencies: 5
Answer: 3