Part of the overall odata2sparql solution, this odata2sparql.v4 module containing the olingo4 dependencies. In other words specifically for odata v4
5
stars
5
forks
source link
Add support for implicit rdf properties #161
Closed
peterjohnlawrence closed 4 years ago
Support classes
Facts Terms ObjectPredicate
Support properties
facts predicate terms resource literal isObjectOf isPredicateOf subjects
These require that the defaults query generation be overwritten to handle these requests:
http://localhost:8080/odata2sparql/northwind/Customer('NWD~Customer-ALFKI')?$select=subjectId&$expand=rdf_facts($select=subjectId;$expand=rdf_property($select=subjectId,label),rdf_terms($select=rdf_literal;$expand=rdf_resource($select=subjectId,label)))&$format=json
http://localhost:8080/odata2sparql/tfl/rdfs_Resource('londontube~Acton_Main_Line')?$select=subjectId&$expand=rdf_facts($select=subjectId;$expand=rdf_property($select=subjectId,label),rdf_terms($select=rdf_literal;$expand=rdf_resource($select=subjectId,label)))&$format=json
http://localhost:8080/odata2sparql/northwind/Customer('NWD~Customer-ALFKI')?$select=subjectId&$expand=rdf_isObjectOf($select=rdf_isPropertyOf,rdf_subjects;$expand=rdf_isPropertyOf,rdf_subjects)&$format=json