what drug form shape is manufactured by stewart-jackson pharmacal?
Entity
m.0hqx6kn
Capsule
class class entity
medicine.drug_form_shape medicine.manufactured_drug_form m.0hqycts
medicine.drug_form_shape medicine.manufactured_drug_form medicine.drug_manufacturer
Drug form shape Manufactured drug form Stewart-jackson Pharmacal
none none none
medicine.manufactured_drug_form.shape medicine.drug_manufacturer.drugs_manufactured
Shape Drugs manufactured
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.drug_form_shape . 
?x1 :type.object.type :medicine.manufactured_drug_form . 
VALUES ?x2 { :m.0hqycts } 
?x1 :medicine.manufactured_drug_form.shape ?x0 . 
?x2 :medicine.drug_manufacturer.drugs_manufactured ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND medicine.drug_form_shape (JOIN (R medicine.manufactured_drug_form.shape) (JOIN (R medicine.drug_manufacturer.drugs_manufactured) m.0hqycts)))