what is the {start time} for {C-130 Hercules} has {military designation} as {CC-130} ?
On what date did the military designate the C-130 Hercules as CC-130?
When did the military designate the C-130 Hercules as CC-130?
SELECT ?y WHERE { FILTER ( CONTAINS ( ?k , 'CC-130' ) ) . ?o property:military_designation ?k . resource:Lockheed_C-130_Hercules property:military_designation ?o . ?o property:start_time ?y }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q182027> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P798> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <CC-130> .
?statement <http://www.wikidata.org/entity/P580> ?value. 
} 

SELECT ?value WHERE { wd:Q182027 p:P798 ?s . ?s ps:P798 ?x filter(contains(?x , 'CC-130')) . ?s pq:P580 ?value}