Closed marioscrock closed 8 months ago
Describe the bug Considering a SubjectMap s: ex:person/$(firstname) and a prefix ex, the prefix is not resolved when generating the SubjectMap.
s: ex:person/$(firstname)
ex
To Reproduce Use this mapping file
prefixes: ex: "http://example.com/" mappings: person: sources: - ['persons.json~jsonpath', '$.persons[*]'] s: ex:person/$(firstname) po: - [a, foaf:Person]
Expected behavior In the SubjectMap generated the ex: is resolved as http://example.com/.
ex:
http://example.com/
rr:subjectMap [ a rr:SubjectMap; rr:template "http://example.com/person/{firstname}"; ];
Sorry for the late fix, but now prefixes are substituted in any TermMap with reference and prefixes.
Describe the bug Considering a SubjectMap
s: ex:person/$(firstname)
and a prefixex
, the prefix is not resolved when generating the SubjectMap.To Reproduce Use this mapping file
Expected behavior In the SubjectMap generated the
ex:
is resolved ashttp://example.com/
.