-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GitHub-AmlodipineExample - Added details for manufacturing operation and site for Pfizer #645
Open
ElisaKendall
wants to merge
12
commits into
master
Choose a base branch
from
GitHub-AmlodipineExample
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+405
−27
Open
Changes from 4 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
e576f0e
Added details for manufacturing operation and site for Pfizer
ElisaKendall 7ffb164
Added relationships to the medicinal and packaged medicinal products …
ElisaKendall eb5cfe9
Added the references for the SPOR substance
ElisaKendall ae0075b
added UC CMC tests
tw-osthus 20af416
GitHub-AmlodipineExample - added hasReleaseDate restriction on batch,…
ElisaKendall 1cf7849
GitHub-AmlodipineExample - differentiated manufacturing / marketing a…
ElisaKendall f54be38
minor fixes to SPARQL CQs
mereolog 57d9f42
uc_cmc_cq3 added
mereolog f1251ec
fix to uc_cmc_cq2
mereolog 0917434
another fix to uc_cmc_cq2
mereolog 9423717
another fix to uc_cmc_cq3
mereolog 660e0d6
GitHub-AmlodipineExample - added manufacturer and site ids and names
ElisaKendall File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# UC-CMC-CQ 1: Which manufacturing site <site> is producing which packaged medicinal product <pmp>? | ||
PREFIX cmns-dsg: <https://www.omg.org/spec/Commons/Designators/> | ||
PREFIX cmns-prd: <https://www.omg.org/spec/Commons/ProductsAndServices/> | ||
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 idmp-amp: <https://spec.pistoiaalliance.org/idmp/ontology/EXT/Examples/AmlodipineExample/> | ||
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 | ||
|
||
WHERE { | ||
# Bind Variable packaged medicinal product <$PackagedMedicinalProduct> | ||
# Example for Norvasc: <https://spec.pistoiaalliance.org/idmp/ontology/EXT/Examples/AmlodipineExample/NorvascPackagedMedicinalProduct> | ||
BIND(uc_cmc_cq1_parameter_1 AS $PackagedMedicinalProduct ) | ||
$PackagedMedicinalProduct 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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# 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 . | ||
} |
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,12 @@ | ||
# UC-CMC-CQ 3: Which manufacturing site <site> is producing which substance <sub>? | ||
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#> | ||
|
||
|
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
17 changes: 17 additions & 0 deletions
17
etc/unit_tests/cq_expected_results/IDMP/uc_cmc_cq1_expected_results.json
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,17 @@ | ||
{ | ||
"head": { | ||
"vars": [ | ||
"site" | ||
] | ||
}, | ||
"results": { | ||
"bindings": [ | ||
{ | ||
"site": { | ||
"type": "uri", | ||
"value": "https://spec.pistoiaalliance.org/idmp/ontology/EXT/Examples/AmlodipineExample/PGSKalamazooManufacturingSite" | ||
} | ||
} | ||
] | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
etc/unit_tests/cq_expected_results/IDMP/uc_cmc_cq2_expected_results.json
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,22 @@ | ||
{ | ||
"head": { | ||
"vars": [ | ||
"medicinalProduct", | ||
"site" | ||
] | ||
}, | ||
"results": { | ||
"bindings": [ | ||
{ | ||
"medicinalProduct": { | ||
"type": "uri", | ||
"value": "https://spec.pistoiaalliance.org/idmp/ontology/EXT/Examples/AmlodipineExample/NorvascMedicinalProduct" | ||
}, | ||
"site": { | ||
"type": "uri", | ||
"value": "https://spec.pistoiaalliance.org/idmp/ontology/EXT/Examples/AmlodipineExample/PGSKalamazooManufacturingSite" | ||
} | ||
} | ||
] | ||
} | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something seems to be missing here.