which legal case has a subject of amendment?
Entity
m.02621v3
Ewing v. California
class entity
law.legal_case m.07skl
law.legal_case law.legal_subject
Legal case amendment
none none
law.legal_case.subject
Subject
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.07skl } 
?x0 :law.legal_case.subject ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND law.legal_case (JOIN law.legal_case.subject m.07skl))