-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #647 from edmcouncil/GitHub-646
Updated 2 of the CMC UC CQs to reflect ontology revisions
- Loading branch information
Showing
14 changed files
with
955 additions
and
539 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,18 @@ | ||
# UC-CMC-CQ 2: Which manufacturing site <site> is producing which medicinal product <m>? – FDA would ask for this in the application | ||
PREFIX cmns-dsg: <https://www.omg.org/spec/Commons/Designators/> | ||
PREFIX cmns-rlcmp: <https://www.omg.org/spec/Commons/RolesAndCompositions/> | ||
PREFIX cmns-txt: <https://www.omg.org/spec/Commons/TextDatatype/> | ||
PREFIX idmp-mprd: <https://spec.pistoiaalliance.org/idmp/ontology/ISO/ISO11615-MedicinalProducts/> | ||
PREFIX idmp-spor: <https://spec.pistoiaalliance.org/idmp/ontology/ISO/EuropeanJurisdiction/SubstancesProductsOrganisationsReferentials/> | ||
PREFIX idmp-sub: <https://spec.pistoiaalliance.org/idmp/ontology/ISO/ISO11238-Substances/> | ||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | ||
PREFIX owl: <http://www.w3.org/2002/07/owl#> | ||
|
||
|
||
SELECT DISTINCT ?medicinalProduct ?site | ||
|
||
WHERE { | ||
?medicinalProduct a idmp-mprd:MedicinalProduct . | ||
?medicinalProduct idmp-mprd:isProducedAtManufacturingSite ?site . | ||
?site a idmp-mprd:ManufacturingSite . | ||
# UC-CMC-CQ 2: Which manufacturing site <site> is producing which medicinal product <m>? – FDA would ask for this in the application | ||
PREFIX cmns-doc: <https://www.omg.org/spec/Commons/Documents/> | ||
PREFIX idmp-mprd: <https://spec.pistoiaalliance.org/idmp/ontology/ISO/ISO11615-MedicinalProducts/> | ||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | ||
PREFIX owl: <http://www.w3.org/2002/07/owl#> | ||
|
||
|
||
SELECT DISTINCT ?medicinalProduct ?physicalMedicinalProduct ?site | ||
|
||
WHERE { | ||
?medicinalProduct a idmp-mprd:MedicinalProduct . | ||
?medicinalProduct cmns-doc:specifies ?physicalMedicinalProduct . | ||
?physicalMedicinalProduct a idmp-mprd:PhysicalMedicinalProduct . | ||
?physicalMedicinalProduct idmp-mprd:isProducedAtManufacturingSite ?site . | ||
?site a idmp-mprd:ManufacturingSite . | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,26 @@ | ||
# UC-CMC-CQ 3: Which manufacturing site <site> is producing which substance <substance>? | ||
PREFIX cmns-dsg: <https://www.omg.org/spec/Commons/Designators/> | ||
PREFIX cmns-rlcmp: <https://www.omg.org/spec/Commons/RolesAndCompositions/> | ||
PREFIX cmns-txt: <https://www.omg.org/spec/Commons/TextDatatype/> | ||
PREFIX idmp-mprd: <https://spec.pistoiaalliance.org/idmp/ontology/ISO/ISO11615-MedicinalProducts/> | ||
PREFIX idmp-spor: <https://spec.pistoiaalliance.org/idmp/ontology/ISO/EuropeanJurisdiction/SubstancesProductsOrganisationsReferentials/> | ||
PREFIX idmp-sub: <https://spec.pistoiaalliance.org/idmp/ontology/ISO/ISO11238-Substances/> | ||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | ||
PREFIX owl: <http://www.w3.org/2002/07/owl#> | ||
PREFIX cmns-col: <https://www.omg.org/spec/Commons/Collections/> | ||
|
||
|
||
SELECT DISTINCT ?site ?substance | ||
|
||
WHERE { | ||
# Bind Variable medicinal product <$medicinalProduct> | ||
# Example for Norvasc: <https://spec.pistoiaalliance.org/idmp/ontology/EXT/Examples/AmlodipineExample/NorvascMedicinalProduct> | ||
BIND(uc_cmc_cq3_parameter_1 AS $medicinalProduct ) | ||
|
||
$medicinalProduct idmp-mprd:isProducedAtManufacturingSite ?site . | ||
?site a idmp-mprd:ManufacturingSite . | ||
|
||
$medicinalProduct cmns-col:comprises ?pharmaceuticalOrManufacturedProduct. | ||
?pharmaceuticalOrManufacturedProduct cmns-col:comprises ?substance. | ||
?substance rdf:type/rdfs:subClassOf idmp-sub:Substance. | ||
# UC-CMC-CQ 3: Which manufacturing site <site> is producing which substance <substance>? | ||
PREFIX cmns-col: <https://www.omg.org/spec/Commons/Collections/> | ||
PREFIX cmns-doc: <https://www.omg.org/spec/Commons/Documents/> | ||
PREFIX idmp-mprd: <https://spec.pistoiaalliance.org/idmp/ontology/ISO/ISO11615-MedicinalProducts/> | ||
PREFIX idmp-sub: <https://spec.pistoiaalliance.org/idmp/ontology/ISO/ISO11238-Substances/> | ||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | ||
PREFIX owl: <http://www.w3.org/2002/07/owl#> | ||
|
||
SELECT DISTINCT ?site ?substance | ||
|
||
WHERE { | ||
# Bind Variable medicinal product <$medicinalProduct> | ||
# Example for Norvasc: <https://spec.pistoiaalliance.org/idmp/ontology/EXT/Examples/AmlodipineExample/NorvascMedicinalProduct> | ||
BIND(uc_cmc_cq3_parameter_1 AS $medicinalProduct ) | ||
|
||
$medicinalProduct cmns-doc:specifies ?physicalMedicinalProduct . | ||
?physicalMedicinalProduct a idmp-mprd:PhysicalMedicinalProduct . | ||
?physicalMedicinalProduct idmp-mprd:isProducedAtManufacturingSite ?site . | ||
?site a idmp-mprd:ManufacturingSite . | ||
|
||
$medicinalProduct cmns-col:comprises ?pharmaceuticalOrManufacturedProduct . | ||
?pharmaceuticalOrManufacturedProduct cmns-col:comprises ?substance . | ||
?substance rdf:type/rdfs:subClassOf idmp-sub:Substance . | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# UC-CMC-CQ 4: Which material ID <m> is used in which batch ID <b>? | ||
PREFIX cmns-col: <https://www.omg.org/spec/Commons/Collections/> | ||
PREFIX cmns-doc: <https://www.omg.org/spec/Commons/Documents/> | ||
PREFIX cmns-dsg: <https://www.omg.org/spec/Commons/Designators/> | ||
PREFIX cmns-id: <https://www.omg.org/spec/Commons/Identifiers/> | ||
PREFIX cmns-txt: <https://www.omg.org/spec/Commons/TextDatatype/> | ||
PREFIX idmp-mprd: <https://spec.pistoiaalliance.org/idmp/ontology/ISO/ISO11615-MedicinalProducts/> | ||
PREFIX idmp-sub: <https://spec.pistoiaalliance.org/idmp/ontology/ISO/ISO11238-Substances/> | ||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | ||
PREFIX owl: <http://www.w3.org/2002/07/owl#> | ||
|
||
SELECT DISTINCT ?materialIdentifierValue ?productBatchIdentifierValue | ||
|
||
WHERE { | ||
# Bind Variable medicinal product <$medicinalProduct> | ||
# Example for Norvasc: <https://spec.pistoiaalliance.org/idmp/ontology/EXT/Examples/AmlodipineExample/NorvascMedicinalProduct> | ||
BIND(uc_cmc_cq4_parameter_1 AS $medicinalProduct ) | ||
|
||
$medicinalProduct cmns-doc:specifies ?physicalMedicinalProduct . | ||
?physicalMedicinalProduct a idmp-mprd:PhysicalMedicinalProduct . | ||
?productBatch cmns-col:isConstituentOf ?physicalMedicinalProduct . | ||
?productBatch rdf:type idmp-mprd:Batch . | ||
?productBatch cmns-dsg:isSignifiedBy ?productBatchId . | ||
?productBatchId cmns-txt:hasTextValue ?productBatchIdentifierValue. | ||
?productBatch cmns-col:comprises ?material . | ||
?material cmns-id:isIdentifiedBy ?materialIdentifierIRI . | ||
?materialIdentifierIRI rdf:type idmp-sub:MaterialIdentifier. | ||
?materialIdentifierIRI cmns-txt:hasTextValue ?materialIdentifierValue. | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# UC-CMC-CQ 5: Which material <m> is approved in which country <c> ? and what is the application ID? | ||
|
||
PREFIX cmns-col: <https://www.omg.org/spec/Commons/Collections/> | ||
PREFIX cmns-doc: <https://www.omg.org/spec/Commons/Documents/> | ||
PREFIX cmns-dsg: <https://www.omg.org/spec/Commons/Designators/> | ||
PREFIX cmns-cxtdsg: <https://www.omg.org/spec/Commons/ContextualDesignators/> | ||
PREFIX cmns-id: <https://www.omg.org/spec/Commons/Identifiers/> | ||
PREFIX cmns-rlcmp: <https://www.omg.org/spec/Commons/RolesAndCompositions/> | ||
PREFIX cmns-rga: <https://www.omg.org/spec/Commons/RegulatoryAgencies/> | ||
PREFIX cmns-txt: <https://www.omg.org/spec/Commons/TextDatatype/> | ||
PREFIX idmp-mprd: <https://spec.pistoiaalliance.org/idmp/ontology/ISO/ISO11615-MedicinalProducts/> | ||
PREFIX idmp-sub: <https://spec.pistoiaalliance.org/idmp/ontology/ISO/ISO11238-Substances/> | ||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | ||
PREFIX owl: <http://www.w3.org/2002/07/owl#> | ||
|
||
SELECT DISTINCT ?materialIdentifierValue ?marketingAuthorisationId ?country | ||
|
||
WHERE { | ||
# Bind Variable medicinal product <$medicinalProduct> | ||
# Example for Norvasc: <https://spec.pistoiaalliance.org/idmp/ontology/EXT/Examples/AmlodipineExample/NorvascMedicinalProduct> | ||
BIND(uc_cmc_cq5_parameter_1 AS $medicinalProduct ) | ||
|
||
$medicinalProduct cmns-doc:specifies ?physicalMedicinalProduct . | ||
?physicalMedicinalProduct a idmp-mprd:PhysicalMedicinalProduct . | ||
?productBatch cmns-col:isConstituentOf ?physicalMedicinalProduct . | ||
?productBatch rdf:type idmp-mprd:Batch . | ||
?productBatch cmns-col:comprises ?material . | ||
?materialIdentifierIRI rdf:type idmp-sub:MaterialIdentifier. | ||
?materialIdentifierIRI cmns-txt:hasTextValue ?materialIdentifierValue. | ||
?authorisedMedicinalProduct cmns-rlcmp:isPlayedBy $medicinalProduct . | ||
?authorisedMedicinalProduct idmp-mprd:isAuthorizedForMarketingThrough ?marketingAuthorisation . | ||
?marketingAuthorisationId cmns-id:identifies ?marketingAuthorisation . | ||
?marketingAuthorisation cmns-cxtdsg:isApplicableIn ?jurisdiction . | ||
?jurisdiction cmns-rga:hasReach ?country. | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# UC-CMC-CQ 6: Which batch <b> is released for which country <c>? | ||
PREFIX cmns-col: <https://www.omg.org/spec/Commons/Collections/> | ||
PREFIX cmns-doc: <https://www.omg.org/spec/Commons/Documents/> | ||
PREFIX cmns-dsg: <https://www.omg.org/spec/Commons/Designators/> | ||
PREFIX cmns-cxtdsg: <https://www.omg.org/spec/Commons/ContextualDesignators/> | ||
PREFIX cmns-id: <https://www.omg.org/spec/Commons/Identifiers/> | ||
PREFIX cmns-rlcmp: <https://www.omg.org/spec/Commons/RolesAndCompositions/> | ||
PREFIX cmns-rga: <https://www.omg.org/spec/Commons/RegulatoryAgencies/> | ||
PREFIX cmns-txt: <https://www.omg.org/spec/Commons/TextDatatype/> | ||
PREFIX idmp-mprd: <https://spec.pistoiaalliance.org/idmp/ontology/ISO/ISO11615-MedicinalProducts/> | ||
PREFIX idmp-sub: <https://spec.pistoiaalliance.org/idmp/ontology/ISO/ISO11238-Substances/> | ||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | ||
PREFIX owl: <http://www.w3.org/2002/07/owl#> | ||
|
||
SELECT DISTINCT ?productBatchIdentifierValue ?marketingAuthorisationId ?country | ||
|
||
WHERE { | ||
# Bind Variable medicinal product <$medicinalProduct> | ||
# Example for Norvasc: <https://spec.pistoiaalliance.org/idmp/ontology/EXT/Examples/AmlodipineExample/NorvascMedicinalProduct> | ||
BIND(uc_cmc_cq6_parameter_1 AS $medicinalProduct ) | ||
|
||
$medicinalProduct cmns-doc:specifies ?physicalMedicinalProduct . | ||
?physicalMedicinalProduct a idmp-mprd:PhysicalMedicinalProduct . | ||
|
||
?productBatch cmns-col:isConstituentOf ?physicalMedicinalProduct . | ||
?productBatch rdf:type idmp-mprd:Batch . | ||
?productBatch cmns-col:comprises ?material . | ||
?productBatch cmns-dsg:isSignifiedBy ?productBatchId . | ||
?productBatchId cmns-txt:hasTextValue ?productBatchIdentifierValue. | ||
|
||
?authorisedMedicinalProduct cmns-rlcmp:isPlayedBy $medicinalProduct . | ||
?authorisedMedicinalProduct idmp-mprd:isAuthorizedForMarketingThrough ?marketingAuthorisation . | ||
?marketingAuthorisationId cmns-id:identifies ?marketingAuthorisation . | ||
?marketingAuthorisation cmns-cxtdsg:isApplicableIn ?jurisdiction . | ||
|
||
?jurisdiction cmns-rga:hasReach ?country. | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.