What is {date of birth} of {Hamilcar Barca} that is {instance of} is {statement with Gregorian date earlier than 1584} ?
When was Hamil Barca born, was it before 1584?
Was Hamilcar Barca born before 1584?
SELECT ?p WHERE { resource:Hamilcar_Barca property:date_of_birth ?k . ?k rdf:type ontology:statement_with_Gregorian_date_earlier_than_1584 . ?k property:date_of_birth ?p }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q185101> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P569> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q26961029>
} 

SELECT ?obj WHERE { wd:Q185101 p:P569 ?s . ?s ps:P569 ?obj . ?s pq:P31 wd:Q26961029 }