what type of medical trial has a maximum age for eligibility less than 60?
Entity
m.03zbgdr
Interventional
class class literal
medicine.medical_trial_type medicine.medical_trial 60^^http://www.w3.org/2001/XMLSchema#integer
medicine.medical_trial_type medicine.medical_trial type.int
Medical trial type Medical trial 60
none none <
medicine.medical_trial.type_of_trial medicine.medical_trial.maximum_age_for_eligibility
Type of trial Maximum age for eligibility
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_type . 
?x1 :type.object.type :medicine.medical_trial . 
FILTER (?x2 < "60"^^<http://www.w3.org/2001/XMLSchema#integer>)
?x1 :medicine.medical_trial.type_of_trial ?x0 . 
?x1 :medicine.medical_trial.maximum_age_for_eligibility ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND medicine.medical_trial_type (JOIN (R medicine.medical_trial.type_of_trial) (lt medicine.medical_trial.maximum_age_for_eligibility 60^^http://www.w3.org/2001/XMLSchema#integer)))