CREATE SERVER epo FOREIGN DATA WRAPPER rdf_fdw OPTIONS ( endpoint 'https://data.epo.org/linked-data/query' ); CREATE FOREIGN TABLE applications ( appuri text OPTIONS (variable '?application', nodetype 'iri'), appnum text OPTIONS (variable '?appNum', nodetype 'literal'), fdate date OPTIONS (variable '?filingDate', nodetype 'literal', literaltype 'xsd:date'), authority text OPTIONS (variable '?authority', nodetype 'literal') ) SERVER epo OPTIONS ( log_sparql 'true', sparql ' prefix cpc: prefix dcterms: prefix ipc: prefix mads: prefix owl: prefix patent: prefix rdf: prefix rdfs: prefix skos: prefix st3: prefix text: prefix vcard: prefix xsd: SELECT ?application ?appNum ?filingDate ?authority { ?application rdf:type patent:Application ; patent:applicationNumber ?appNum ; patent:filingDate ?filingDate ; patent:applicationAuthority ?authority ; . } '); SELECT appuri, appnum, fdate, authority FROM applications WHERE fdate > '2023-01-01' LIMIT 10; SELECT appuri, appnum, fdate, authority FROM applications WHERE appuri = 'http://data.epo.org/linked-data/id/application/EP/23723398' LIMIT 10;