which comet is predicted to be closest to the sun next on jan. the 13rd, 2019?
Entity
m.0bxjz0
171P/Spahr
class literal
astronomy.comet 2019-01-13^^http://www.w3.org/2001/XMLSchema#date
astronomy.comet type.datetime
Comet Jan. the 13rd, 2019
none none
astronomy.comet.next_perihelion_predicted
Next perihelion (predicted)
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 :astronomy.comet . 
VALUES ?x1 { "2019-01-13-08:00"^^<http://www.w3.org/2001/XMLSchema#date> } 
?x0 :astronomy.comet.next_perihelion_predicted ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND astronomy.comet (JOIN astronomy.comet.next_perihelion_predicted 2019-01-13^^http://www.w3.org/2001/XMLSchema#date))