Question: Give me all anarcho punk bands that were formed in the 80s.
SPARQL:
PREFIX yago: <http://dbpedia.org/class/yago/> PREFIX bio: <http://purl.org/vocab/bio/0.1/> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type yago:Anarcho-punkGroups . ?uri owl:sameAs ?mb_band . ?mb_band bio:event ?event . ?event rdf:type bio:Birth . ?event bio:date ?date . { ?event bio:date ?date . FILTER (?date <= '1989-12-31'^^xsd:date || ?date >= '1980-01-01'^^xsd:date ) } UNION { ?event bio:date ?date . FILTER regex(?date,'^198') } OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }