which wine has a vintage date of 1997
Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.0dnndtx m.05n5hkn m.05n74bh m.05n5hl2 m.0gfmtld m.05n5nrd m.05n5nrh m.05n5nrl m.05n5hkx
1997 Marsala Superiore Riserva Targa Riserva 1840 1997 Benessere Napa Valley Sangiovese 1997 Swanson Napa Valley Sangiovese Rosato 1997 Luna Napa Valley Sangiovese 1997 Lagarde Henry Gran Guarda No 1 1997 Michael Pozzan Napa Valley Special Reserve Sangiovese 1997 Charles Krug "Reserve" Napa Valley Sangiovese 1997 Renwood "Linsteadt" Amador County Sangiovese 1997 Miner Family Mendocino County Sangiovese
class literal
wine.wine 1997^^http://www.w3.org/2001/XMLSchema#gYear
wine.wine type.datetime
Wine 1997
none none
wine.wine.vintage
Vintage
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 { "1997-08:00"^^<http://www.w3.org/2001/XMLSchema#gYear> } 
?x0 :wine.wine.vintage ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND wine.wine (JOIN wine.wine.vintage 1997^^http://www.w3.org/2001/XMLSchema#gYear))