Skip to content

Commit

Permalink
update sample application with new queries
Browse files Browse the repository at this point in the history
  • Loading branch information
duprijil committed Sep 12, 2023
1 parent 61f8d9c commit 905c68b
Show file tree
Hide file tree
Showing 2 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 905c68b

Please sign in to comment.