carlos moreno was the judge in which legal cases?
Entity Entity Entity Entity Entity
m.0j66ll6 m.0541psw m.0k0qs_c m.0463dq6 m.0gjb_l5
People v. Diaz Strauss v. Horton Taus v. Loftus In re Marriage Cases Discover Bank v. Superior Court
class entity
law.legal_case m.0dxdkx
law.legal_case law.judge
Legal case carlos moreno
none none
law.legal_case.judges
Judges
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 :law.legal_case . 
VALUES ?x1 { :m.0dxdkx } 
?x0 :law.legal_case.judges ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND law.legal_case (JOIN law.legal_case.judges m.0dxdkx))