who is the health authority for the most recent medical trial?who is the health authority for the most recent medical trial?
Entity
m.01bqks
Federal government of the United States
class class literal
medicine.medical_trial_health_authority medicine.medical_trial 0^^http://www.w3.org/2001/XMLSchema#int
medicine.medical_trial_health_authority medicine.medical_trial type.datetime
Medical trial health authority Medical trial 0
none none argmax
medicine.medical_trial_health_authority.medical_trials medicine.medical_trial.start_date
Medical trials Start date
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX : <http://rdf.freebase.com/ns/> 
SELECT (?x0 AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :medicine.medical_trial_health_authority . 
?x1 :type.object.type :medicine.medical_trial . 
{
SELECT (MAX(?y2) AS ?x2)  WHERE { 
?y0 :type.object.type :medicine.medical_trial_health_authority . 
?y1 :type.object.type :medicine.medical_trial . 
?y0 :medicine.medical_trial_health_authority.medical_trials ?y1 . 
?y1 :medicine.medical_trial.start_date ?y2 . 
FILTER ( ?y0 != ?y1 && ?y0 != ?y2 && ?y1 != ?y2  )
}
}
?x0 :medicine.medical_trial_health_authority.medical_trials ?x1 . 
?x1 :medicine.medical_trial.start_date ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(ARGMAX medicine.medical_trial_health_authority (JOIN medicine.medical_trial_health_authority.medical_trials medicine.medical_trial.start_date))