Issue with SPARQL Query Filtering by Polish Buyers - Getting Limited Results #22
-
|
I'm experiencing an issue with filtering procurement notices by buyer country using SPARQL queries. When filtering for Polish buyers (POL), I only get notices from European agencies like FRONTEX, but when filtering for German buyers (DEU) or Czech buyers (CZE), I get the expected diverse range of national contracting authorities. ` SELECT DISTINCT WHERE { FILTER (?publicationDate >= "2025-01-01"^^xsd:date && GRAPH ?g { } ?buyerOrganization epo:hasLegalName ?buyerName . OPTIONAL { OPTIONAL { } Results Comparison
For Germany (ns11:DEU): Returns diverse results from:
Evidence That Polish Notices Exist Question
I've verified that:
Any guidance on how to properly filter for Polish buyers would be greatly appreciated! Additional Information
Thank you for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Though the question is a few months old, here is a possible answer if it still helps and also for future reference. |
Beta Was this translation helpful? Give feedback.
Though the question is a few months old, here is a possible answer if it still helps and also for future reference.
The sample notice (https://ted.europa.eu/en/notice/-/detail/00070358-2025) mentioned in the question is a Result notice. For Result notices, announcesRole of Buyer type is not available. We can check the available relationships using the inspect option in https://data.ted.europa.eu/.
By replacing epo:announcesRole in the line epo:announcesRole [a epo:Buyer ; epo:playedBy ?buyerOrganization ] ; with epo:refersToRole, it fetches the sample notice too.