what is the {of} for {Knights Templar} has {dissolved, abolished or demolished} as {1312-3-22} ?
Why was Knights Templar destroyed in 1312?
Give the reason for Knights Templar demolished in the year 1312?
SELECT ?g WHERE { ?y property:dissolved,_abolished_or_demolished_date ?y . FILTER ( CONTAINS ( YEAR ( ?y ) , '1312' ) ) . ?y property:of ?g . resource:Knights_Templar property:dissolved,_abolished_or_demolished_date ?y }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q41300> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P576> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <1312-3-22> .
?statement <http://www.wikidata.org/entity/P642> ?value. 
} 

SELECT ?value WHERE { wd:Q41300 p:P576 ?s . ?s ps:P576 ?x filter(contains(YEAR(?x),'1312')) . ?s pq:P642 ?value}