nikon coolpix p3 has what format?
Entity
m.01xrfxm
Compact
class entity
digicams.camera_format g.120wrm3w
digicams.camera_format digicams.digital_camera
Camera Format Nikon Coolpix P3
none none
digicams.camera_format.cameras
Cameras
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 :digicams.camera_format . 
VALUES ?x1 { :g.120wrm3w } 
?x0 :digicams.camera_format.cameras ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND digicams.camera_format (JOIN digicams.camera_format.cameras g.120wrm3w))