PREFIX myModel: <http://staff.science.uva.nl/~lpost/SemanticModels/EpigeneticsFoundation.owl#>PREFIX myModelExperiment: <http://staff.science.uva.nl/~lpost/SemanticModels/Experiment.owl#>
PREFIX theirDataModelH3K4Me3: <http://staff.science.uva.nl/~lpost/DataModels/TheirENCODEChIPchipDataModel.owl#>
PREFIX theirDataModelTFBS: <http://staff.science.uva.nl/~lpost/DataModels/TheirTFBSdataModel.owl#>
SELECT *
WHERE {
?datafile1 theirDataModelTFBS:contains ?rowX myModel:Chromosome_identifier ?chrom1? .
?rowX myModel:hasStartLocation ?tStart1 .
?rowX myModel:hasEndLocation ?tEnd1 .
?rowX myModelExperiment:hasMeasurementValue ?score1 .
?datafile2 theirDataModelH3K4Me3:contains ?rowY myModel:Chromosome_identifier ?chrom2 .
?rowY myModel:hasStartLocation ?tStart2 .
?rowY myModel:hasEndLocation ?tEnd2 .
?rowY myModelExperiment:hasMeasurementValue ?score2 .
FILTER
datafile1 = "<http://staff.science.uva.nl/~lpost/Data/TFBSConsSites.txt>" &&
datafile2 = "<http://staff.science.uva.nl/~lpost/Data/encodeSangerChipH3K4me3.txt>" &&
xsd:integer(tStart1) <= xsd:integer(tEnd2) && xsd:integer(tEnd1) >= xsd:integer(tStart2)
}
|