PREFIX rdf: PREFIX rdfs: PREFIX owl: PREFIX corvus: PREFIX dm: PREFIX nci: PREFIX sm: PREFIX caarray: PREFIX catissuesuite: PREFIX catissuecore: SELECT DISTINCT ?hybridizationName ?diagnosis WHERE { # Find all Sources that are derived from a Specimen. ?source corvus:derived_from ?specimen. # Traverse from Source to Hybridization. ?source caarray:Source_samples_Sample ?sample. ?sample caarray:Sample_extracts_Extract ?extract. ?extract caarray:Extract_labeledExtracts_LabeledExtract ?labeledExtract. ?labeledExtract caarray:LabeledExtract_hybridizations_Hybridization ?hybridization. ?hybridization dm:umlAttributeCollection ?hybridizationNameAtt. # Extract the name of the Hybridization ?hybridizationNameAtt rdf:type ?hybridizationNameAttType . ?hybridizationNameAttType rdfs:subClassOf ?hnaSmr . ?hnaSmr rdf:type owl:Restriction; owl:onProperty sm:semanticMetadataCollection; owl:someValuesFrom nci:Name. ?hybridizationNameAtt dm:datatype ?hybridizationName. # Find all Specimen Collection Groups that are linked to our Specimens. ?scg catissuecore:SpecimenCollectionGroup_specimenCollection_CellSpecimen ?specimen. # Extract the Clinical Diagnosis at the time the # Specimen Collection Group was collected. ?scg dm:umlAttributeCollection ?scgDiagnosisAtt. ?scgDiagnosisAtt rdf:type ?scgDiagnosisAttType . ?scgDiagnosisAttType rdfs:subClassOf ?scgdaSmr . ?scgdaSmr rdf:type owl:Restriction; owl:onProperty sm:semanticMetadataCollection; owl:someValuesFrom nci:Clinical_Diagnosis. ?scgDiagnosisAtt dm:datatype ?diagnosis. }