Question: What number of museums own the painting that the Louvre Museum owns?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Louvre Museum
function: Relate
dependencies: 0
inputs: owner of
forward
function: FilterConcept
dependencies: 1
inputs: painting
function: Relate
dependencies: 2
inputs: owner of
backward
function: FilterConcept
dependencies: 3
inputs: museum
function: Count
dependencies: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "museum" . ?e <owner_of> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "painting" . ?e_3 <owner_of> ?e_1 . ?e_3 <pred:name> "Louvre Museum" .   }
Answer: 1