which person is buried on 1846?
Entity
m.09g4vn
Samuel Ringgold
class literal
people.deceased_person 1846^^http://www.w3.org/2001/XMLSchema#gYear
people.deceased_person type.datetime
Deceased Person 1846
none none
people.deceased_person.date_of_burial
Date of burial
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 :people.deceased_person . 
VALUES ?x1 { "1846-08:00"^^<http://www.w3.org/2001/XMLSchema#gYear> } 
?x0 :people.deceased_person.date_of_burial ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND people.deceased_person (JOIN people.deceased_person.date_of_burial 1846^^http://www.w3.org/2001/XMLSchema#gYear))