Skip to content

How Can I Retrieve Tender Value and Deadline from the TED SPARQL Endpoint? #47

@collinstechwrite

Description

@collinstechwrite

Hello can anyone help?

I'm working with the TED (Tenders Electronic Daily) SPARQL endpoint (https://publications.europa.eu/webapi/rdf/sparql) to extract public procurement tender information. I have the following query based on a keyword. My query successfully returns fields like publication number, legal name, publication date, title, and description.

I have been searching for online resources for SPARQL queries but I am unable to find the fields for tender value or tender deadline data.

PREFIX dc: <http://purl.org/dc/elements/1.1/>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX epo: <http://data.europa.eu/a4g/ontology#>
PREFIX cccev: <http://data.europa.eu/m8g/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

SELECT DISTINCT ?publicationNumber ?legalName ?publicationDate ?title ?description
WHERE {
  GRAPH ?g {
    ?notice a epo:Notice ;
            epo:hasPublicationDate ?publicationDate ;
            epo:hasNoticePublicationNumber ?publicationNumber ;
            epo:announcesRole [
                a epo:Buyer ;
                epo:playedBy [
                    epo:hasLegalName ?legalName ;
                    cccev:registeredAddress [
                        epo:hasCountryCode ?countryUri
                    ]
                ]
            ] ;
            epo:refersToProcedure [
                dcterms:title ?title ;
                dcterms:description ?description
            ] .
  }
  ?countryUri skos:prefLabel "Ireland"@en .
  FILTER (
    CONTAINS(LCASE(STR(?title)), "construction") ||
    CONTAINS(LCASE(STR(?description)), "construction")
  )
}
ORDER BY ?publicationDate

Is there a source that has all the fields available for TED Tenders?

https://stackoverflow.com/questions/79412195/how-can-i-retrieve-tender-value-and-deadline-from-the-ted-sparql-endpoint

I'd consider other solutions outside of SPARQL that I can run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions