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
Not sure whether this is an RMLMapper problem or a Matey problem, but I have noticed the following:
Input:
<tasks> <task> <task_id>1</task_id> <description lang="en">Design Mockups</description> <description lang="fr">Concevoir des maquettes</description> </task> <task> <task_id>2</task_id> <description lang="en">Develop Frontend</description> <description lang="fr">Développer le frontend</description> </task> <task> <task_id>3</task_id> <description lang="en">Develop Backend</description> <description lang="fr">Développer le backend</description> </task> </tasks>
Mapping:
ex: "http://example.com/" mappings: person: sources: - ['source_1.xml~xpath', '/tasks/task'] s: http://example.com/task/$(task_id) po: - [ex:description, $(description), $(description/@lang)~lang]
Output:
@prefix ex: <http://example.com/> . <http://example.com/task/1> ex:description "Concevoir des maquettes"@en, "Design Mockups"@en . <http://example.com/task/2> ex:description "Develop Frontend"@en, "Développer le frontend"@en . <http://example.com/task/3> ex:description "Develop Backend"@en, "Développer le backend"@en .
The French labels do not have the correct language-tag.
If I change the first lang attribute to "it," both descriptions have the it language tag:
<http://example.com/task/1> ex:description "Concevoir des maquettes"@it, "Design Mockups"@it .
It thus keeps the lang attribute from the first description.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Not sure whether this is an RMLMapper problem or a Matey problem, but I have noticed the following:
Input:
Mapping:
Output:
The French labels do not have the correct language-tag.
If I change the first lang attribute to "it," both descriptions have the it language tag:
<http://example.com/task/1> ex:description "Concevoir des maquettes"@it, "Design Mockups"@it .
It thus keeps the lang attribute from the first description.
The text was updated successfully, but these errors were encountered: