what wines come from spain?
Entity Entity Entity Entity Entity Entity
m.03ggy4b m.05l_c64 m.05mknz2 m.03hc7gj m.0qzsz0b m.0qzsz03
2004 Zarus Barrica Ribera Del Duero 1999 Albet i Noya Collecció Penedès Tempranillo 1998 Remirez de Ganuza "Reserva" Rioja 2003 Vinos de Terrunos "Lamilla", Jumilla Fagus Oxia
class entity
wine.wine m.06mkj
wine.wine location.country
Wine Spain
none none
wine.wine.country
Country
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 :wine.wine . 
VALUES ?x1 { :m.06mkj } 
?x0 :wine.wine.country ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND wine.wine (JOIN wine.wine.country m.06mkj))