which cheese is from both the french republic and swiss confederation?
Entity Entity
m.01245r m.01z65z
Raclette Vacherin
class entity entity
food.cheese m.0f8l9c m.06mzp
food.cheese location.country location.country
Cheese french republic swiss confederation
none none none
food.cheese.country_of_origin food.cheese.country_of_origin
Country Of Origin Country Of Origin
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX : <http://rdf.freebase.com/ns/> 
SELECT (?x0 AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :food.cheese . 
VALUES ?x1 { :m.0f8l9c } 
VALUES ?x2 { :m.06mzp } 
?x0 :food.cheese.country_of_origin ?x1 . 
?x0 :food.cheese.country_of_origin ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND food.cheese (AND (JOIN food.cheese.country_of_origin m.0f8l9c) (JOIN food.cheese.country_of_origin m.06mzp)))