find computers whose peripheral is commodore 1571.
Entity Entity
m.0228q m.0jgp6
Commodore 64 Commodore 128
class entity
computer.computer m.0255y
computer.computer computer.computer_peripheral
Computer Commodore 1571
none none
computer.computer.peripherals
Peripherals
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 :computer.computer . 
VALUES ?x1 { :m.0255y } 
?x0 :computer.computer.peripherals ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND computer.computer (JOIN computer.computer.peripherals m.0255y))