As a researcher, I need to have access to the tokens of cardiac and cancer patients, so I can query if a patient is both a cardiac and a cancer patients.
[ ] Get a machine on which websites can be hosted which are accessible from within UHN
[ ] Install on the system an RDF store with a SPARQL endpoint
[ ] Create an empty cardiac and a cancer graph
[ ] Upload the cardiac and cancer tokens to their respective graphs
[ ] Check if the below query gives back the tokens for each graph
PREFIX ncit:<http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#>
SELECT * WHERE
{?s a ncit:C16960.}
LIMIT 10
[ ] Check if the below query gives back the number of patients which have an entry in both the cardiac and in the cancer graph
PREFIX roo:<http://www.cancerdata.org/roo/>
PREFIX ncit:<http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#>
SELECT (COUNT(?patient) as ?overlappingPatients) WHERE
{
SERVICE <http://localhost:9999/bigdata/namespace/CardiacPatients/sparql>
{
?patient a ncit:C16960.
}
SERVICE <http://localhost:9999/bigdata/namespace/CancerPatients/sparql>
{
?patient a ncit:C16960.
}
.}
As a researcher, I need to have access to the tokens of cardiac and cancer patients, so I can query if a patient is both a cardiac and a cancer patients.