which cheese is from both the french republic and italian republic?
Entity
m.037brh
Reblochon
class entity entity
food.cheese m.0f8l9c m.03rjj
food.cheese location.country location.country
Cheese french republic italian republic
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.03rjj } 
?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.03rjj)))