find a theater production that has 22 performances
Entity Entity Entity Entity Entity
m.0kcszgy m.0gj594d m.0zfl2b6 m.051_j92 m.0zfg0cj
All My Sons Kessen / Transylvania no Mori (Kaiteiban) - Saikyou no Kataki Dark Cain no Nazo Two Gentlemen Of Verona Liza's at the Palace... From Above
class literal
theater.theater_production 22^^http://www.w3.org/2001/XMLSchema#integer
theater.theater_production type.int
Theater Production 22
none none
theater.theater_production.number_of_performances
Number of performances
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 :theater.theater_production . 
VALUES ?x1 { "22"^^<http://www.w3.org/2001/XMLSchema#integer> } 
?x0 :theater.theater_production.number_of_performances ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND theater.theater_production (JOIN theater.theater_production.number_of_performances 22^^http://www.w3.org/2001/XMLSchema#integer))