sparql query in cardioSHARE

13 views
Skip to first unread message

Sadnan Al Manir

unread,
Mar 20, 2016, 2:10:47 PM3/20/16
to sadi-dev
Hi,

I have two SADI services which shows desired results when they are invoked (based on the input attached) separately using the curl commands as follows:


The following query, however, has failed to find any matching service in  from above:


SELECT ?patient ?diagnosis_code
WHERE{
?patient rdf:type HAIOnt:Patient .
?patient HAIOnt:has_diagnosis ?diagnosis .
?diagnosis rdf:type HAIOnt:Diagnosis .
?diagnosis HAIOnt:has_diagnosis_code ?diagnosis_code .
}

Any help would be appreciated.

regards...

Sadnan Al Manir
UNBSJ

getDiagnosisIDByPatientID_input.rdf
getDiagnosisCodeByDiagnosisID_input.rdf
Reply all
Reply to author
Forward
0 new messages