Skip to content

Commit

Permalink
roll back of uc2_cq2-1.sparql
Browse files Browse the repository at this point in the history
Signed-off-by: mereolog <[email protected]>
  • Loading branch information
mereolog committed Jan 14, 2025
1 parent 811d07d commit 3f0aeef
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions etc/CQ/Example/uc2_cq2-1.sparql
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@ SELECT DISTINCT ?MarketingAuthorizationNumber (SAMPLE(?MarketingAuthorizationNum


WHERE {
# Bind Variable substance <$SellableArticle>
# Bind Variable substance <$SellalbeArticle>
# Example for AMLODIPINE: <https://spec.pistoiaalliance.org/idmp/ontology/EXT/Examples/AmlodipineExample/NorvascMedicinalProduct>
BIND( uc2_cq2-1_parameter_1 AS $SellableArticle )
BIND( uc2_cq2-1_parameter_1 AS $SellalbeArticle )

$AuthorizedMedicinalProduct cmns-rlcmp:isPlayedBy $SellableArticle .
$AuthorizedMedicinalProduct idmp-mprd:isAuthorizedForMarketingThrough $Authorization .
$AuthorizedMedicinalProduct cmns-rlcmp:isPlayedBy $SellalbeArticle .
$AuthorizedMedicinalProduct idmp-mprd:hasAuthorization $Authorization .
$Authorization cmns-cxtdsg:isApplicableIn ?Jurisdiction .
?MarketingAuthorizationNumber cmns-id:identifies $Authorization

# Optionally, get the name of the Authorization Number
OPTIONAL{?MarketingAuthorizationNumber rdfs:label ?MarketingAuthorizationNumberLabel }
OPTIONAL{?MarketingAuthorizationNumber rdfs:label ?MarketingAuthorizationNumberLabel }

# Optionally, get the name of the Jurisdiction
OPTIONAL{?Jurisdiction rdfs:label ?JurisdictionLabel }
OPTIONAL{?Jurisdiction rdfs:label ?JurisdictionLabel }

} GROUP BY ?MarketingAuthorizationNumber ?Jurisdiction

0 comments on commit 3f0aeef

Please sign in to comment.