which songwriter had his/her wedding ceremony at new forest?
Entity
m.01bpnd
Noel Gallagher
class class entity
music.songwriter people.marriage m.02s1w_
music.songwriter people.marriage protected_sites.protected_site
Songwriter Marriage New Forest
none none none
people.person.spouse_s people.marriage.location_of_ceremony
Spouse (or domestic partner) Location of ceremony
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 :music.songwriter . 
?x1 :type.object.type :people.marriage . 
VALUES ?x2 { :m.02s1w_ } 
?x0 :people.person.spouse_s ?x1 . 
?x1 :people.marriage.location_of_ceremony ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND music.songwriter (JOIN people.person.spouse_s (JOIN people.marriage.location_of_ceremony m.02s1w_)))