We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some XPath expressions involving attribute names used in references lead to errors.
<?xml version="1.0" encoding="UTF-8"?> <products> <product> <id>1</id> <Property Name="1"> <String>1</String> </Property> </product> </products>
Mind the reference in the rr:ObjectMap
rr:ObjectMap
@prefix rr: <http://www.w3.org/ns/r2rml#> . @prefix foaf: <http://xmlns.com/foaf/0.1/> . @prefix ex: <http://example.com/> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . @prefix rml: <http://semweb.mmlab.be/ns/rml#> . @prefix ql: <http://semweb.mmlab.be/ns/ql#> . @base <http://example.com/base/> . <TriplesMap1> a rr:TriplesMap; rml:logicalSource [ rml:source "input.xml"; rml:referenceFormulation ql:XPath; rml:iterator "//product" ]; rr:subjectMap [ rr:template "http://example.org/products/{id}" ]; rr:predicateObjectMap [ rr:predicate ex:id ; rr:objectMap [ rml:reference "Property[@Name='1']/String"; ] ].
<http://example.org/products/1> <http://example.com/id> "1".
Empty graph.
The text was updated successfully, but these errors were encountered:
Hi, this issue is fixed with the new release.
Sorry, something went wrong.
No branches or pull requests
Description
Some XPath expressions involving attribute names used in references lead to errors.
Example
Input
Mapping:
Mind the reference in the
rr:ObjectMap
Expected output:
Actual output:
Empty graph.
The text was updated successfully, but these errors were encountered: