what routed drug has a commercialized formulation that has a reference form of pepcid 40 film coated tablet?
Entity
m.0z3yszp
Famotidine Oral
class class entity
medicine.routed_drug medicine.drug_formulation m.0hqk17p
medicine.routed_drug medicine.drug_formulation medicine.manufactured_drug_form
Routed drug Drug formulation Pepcid 40 film coated tablet
none none none
medicine.routed_drug.marketed_formulations medicine.drug_formulation.reference_form
Marketed formulations Reference form
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.routed_drug . 
?x1 :type.object.type :medicine.drug_formulation . 
VALUES ?x2 { :m.0hqk17p } 
?x0 :medicine.routed_drug.marketed_formulations ?x1 . 
?x1 :medicine.drug_formulation.reference_form ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND medicine.routed_drug (JOIN medicine.routed_drug.marketed_formulations (JOIN medicine.drug_formulation.reference_form m.0hqk17p)))