what is the {instance of} for {Bielefeld} has {short name} as {Bet} ?
In what moment Bielefeld declared to as Wager?
When is Bielefeld referred to as Bet?
SELECT ?e WHERE { ?k property:short_name ?r . FILTER ( CONTAINS ( ?r , 'Bet' ) ) . resource:Bielefeld property:short_name ?k . ?k rdf:type ?e }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q2112> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1813> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <Bet> .
?statement <http://www.wikidata.org/entity/P31> ?value. 
} 

SELECT ?value WHERE { wd:Q2112 p:P1813 ?s . ?s ps:P1813 ?x filter(contains(?x , 'Bet')) . ?s pq:P31 ?value}