what astronomical discovery is associated with landessternwarte heidelberg-königstuhl and has a discovery site of vienna observatory?
Entity
m.08m85d
867 Kovacia
class entity entity
astronomy.astronomical_discovery m.02pv3dj m.08k4xy
astronomy.astronomical_discovery astronomy.astronomical_observatory astronomy.astronomical_observatory
Astronomical Discovery Landessternwarte Heidelberg-Königstuhl Vienna Observatory
none none none
astronomy.astronomical_observatory.discoveries astronomy.astronomical_discovery.discovery_site
Discoveries Discovery Site
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.astronomical_discovery . 
VALUES ?x1 { :m.02pv3dj } 
VALUES ?x2 { :m.08k4xy } 
?x1 :astronomy.astronomical_observatory.discoveries ?x0 . 
?x0 :astronomy.astronomical_discovery.discovery_site ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND astronomy.astronomical_discovery (AND (JOIN (R astronomy.astronomical_observatory.discoveries) m.02pv3dj) (JOIN astronomy.astronomical_discovery.discovery_site m.08k4xy)))