Please enter your STRUQL query

 

 

Examples of STRUQL queries:

 

WHERE
     X->":NAME"->"Thorax",
     X->"constitutional part"+."contains"->Y,
     Y->":NAME"->Contains
     CREATE
     TheThorax(Contains)

The above query will return what is contained by the constitutional parts of the thorax.

 

WHERE
     X->":NAME"->"Heart",
     X->"constitutional part"+->Y,
     Y->":NAME"->Parts
     CREATE
     TheHeart(Parts)

The above query will return the constitutional parts of the heart.

 

WHERE
     X->":NAME"->"Thorax",
     X->"constitutional part"+->Y,
     Y->"contains"->Z,
     Z->":NAME"->"Lung",
     Y->":NAME"->Partcontains
     CREATE
     ThoraxLung(Partcontains)

The above query will return the constitutional parts of the thorax that contain the lung