Skip to content

Commit

Permalink
Merge pull request #489 from OP-TED/feature/TDA-272
Browse files Browse the repository at this point in the history
Update sample application with new queries
  • Loading branch information
CaptainOfHacks authored Sep 12, 2023
2 parents 61f8d9c + 05e7895 commit 899d41f
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 924 deletions.
18 changes: 13 additions & 5 deletions notebooks/query_cellar_R.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,19 @@
"\n",
"# Preparing query\n",
"query <- '\n",
"prefix cdm: <http://publications.europa.eu/ontology/cdm#>\n",
"select distinct ?Countries\n",
"where {\n",
"?Countries a cdm:country\n",
"}'"
"PREFIX epo: <http://data.europa.eu/a4g/ontology#>\n",
"PREFIX cccev: <http://data.europa.eu/m8g/>\n",
"SELECT (COUNT (DISTINCT(?Notice)) as ?NrOfNotices) WHERE {\n",
" ?Notice epo:hasPublicationDate ?Date .\n",
" ?Notice epo:announcesRole ?Buyer .\n",
" ?Buyer epo:playedBy ?Organization .\n",
" ?Oganization epo:hasBusinessSize <http://publications.europa.eu/resource/authority/economic-operator-size/sme> .\n",
" ?Organization cccev:registeredAddress / epo:hasCountryCode <http://publications.europa.eu/resource/authority/country/DEU> .\n",
" VALUES ?Date {\n",
" \"20230905\" \"20230906\"\n",
" }\n",
"}\n",
"'"
]
},
{
Expand Down
Loading

0 comments on commit 899d41f

Please sign in to comment.