what is the {start time} for {Arab League} has {shares border with} as {Ethiopia} ?
What year was the Arab League founded?
When was the Arab League founded that shares a border with Ethiopia?
SELECT ?t WHERE { resource:Arab_League property:shares_border_with ?i . ?i property:start_time ?t . ?i property:shares_border_with resource:Ethiopia }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q7172> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P47> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q115> .
?statement <http://www.wikidata.org/entity/P580> ?value. 
} 

SELECT ?value WHERE { wd:Q7172 p:P47 ?s . ?s ps:P47 wd:Q115 . ?s pq:P580 ?value}