locate a wine with a 55 percent of new oak.
Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.04c6g42 m.0431x34 m.03bs7j3 m.0431wwh m.040vck7 m.04clq3v m.0431w6z m.04g7t1y m.043wcjs m.043w63z m.04g8yy2 m.0431vs2 m.04dcrgz
2005 Patz & Hall "Hyde Vineyard" Los Carneros Pinot Noir 2005 HALL "T Bar T Ranch" Alexander Valley Estate Cabernet Sauvignon 2005 Acorn "Heritage Vines, Alegria Vineyards" Russian River Valley Zinfandel 2005 HALL "Lieff Auberge Road Vineyard" Rutherford Cabernet Sauvignon 2004 Hess Collection Mount Veeder Cabernet Sauvignon 2005 Russian Hill "Tara Vineyard" Russian River Valley Estate Pinot Noir 2004 HALL "Bergfeld Vineyard" Saint Helena Estate Cabernet Sauvignon 2006 Arista "Longbow" Russian River Valley Pinot Noir 2005 Ehlers Estate Saint Helena Estate Cabernet Sauvignon 2004 Renteria "Annapurna Vineyard" Stags Leap District Cabernet Sauvignon 2006 Hartford Court "Fog Dance Vineyards" Green Valley of Russian River Valley Estate Pinot Noir 2005 HALL Napa Valley Cabernet Sauvignon 2006 Olson Ogden Russian River Valley Pinot Noir
class literal
wine.wine 55^^http://www.w3.org/2001/XMLSchema#integer
wine.wine type.int
Wine 55
none none
wine.wine.percent_new_oak
Percent new oak
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 { "55"^^<http://www.w3.org/2001/XMLSchema#integer> } 
?x0 :wine.wine.percent_new_oak ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND wine.wine (JOIN wine.wine.percent_new_oak 55^^http://www.w3.org/2001/XMLSchema#integer))