René's URL Explorer Experiment


Title: Issue with language-tagged literals in nested XML using languageMap · Issue #262 · RMLio/rmlmapper-java · GitHub

Open Graph Title: Issue with language-tagged literals in nested XML using languageMap · Issue #262 · RMLio/rmlmapper-java

X Title: Issue with language-tagged literals in nested XML using languageMap · Issue #262 · RMLio/rmlmapper-java

Description: I'm working with nested XML input where elements like contain a language attribute, e.g.: <myElement> <title language="fi">Automaalari Billackerare In the past, I successfully use...

Open Graph Description: I'm working with nested XML input where elements like contain a language attribute, e.g.: <myElement> <title language="fi">Automaalari Billackerare

X Description: I'm working with nested XML input where elements like <title> contain a language attribute, e.g.: <myElement> <title language="fi">Automaalari</title> <titl...

Opengraph URL: https://github.com/RMLio/rmlmapper-java/issues/262

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Issue with language-tagged literals in nested XML using languageMap","articleBody":"I'm working with nested XML input where elements like `\u003ctitle\u003e` contain a language attribute, e.g.:\n\n```\n\u003cmyElement\u003e\n  \u003ctitle language=\"fi\"\u003eAutomaalari\u003c/title\u003e\n  \u003ctitle language=\"sv\"\u003eBillackerare\u003c/title\u003e\n\u003c/myElement\u003e\n```\nIn the past, I successfully used this mapping to generate properly language-tagged literals:\n\n```\nrr:predicate dc:title ;\nrr:objectMap [\n  rml:reference \"./*[local-name()='title']\" ;\n  rr:termType rr:Literal ;\n  rml:languageMap [\n    rr:class rdf:langString ;\n    rml:reference \"./@*[local-name()='language']\"\n  ]\n] .\n```\nHowever, in the latest version of RMLMapper that I tried (currently using the cli jar), all language literals that are using this kind of mapping are missing from the output.\n\nI have tried to modify the mapping based on the [test case](https://github.com/RMLio/rmlmapper-java/blob/a6e67cd9c95d220ce9b6d071836a3d98c509255b/src/test/resources/test-cases/RMLTC1032-XML/mapping.ttl)\nas follows:\n\n```\nrr:predicate dc:title ;\nrr:objectMap [\n  rml:reference \"./title\" ;\n  rr:termType rr:Literal ;\n  rml:languageMap [\n    rr:class rdf:langString ;\n    rml:reference \"./title/@language\"\n  ]\n] .\n```\nbut all language values appear to be taken from the first \u003ctitle\u003e, resulting in:\n`dc:title \"Automaalari\"@fi , \"Billackerare\"@fi .`\n\nThis seems to indicate that `rml:languageMap` does not correctly align language attributes with their respective values when dealing with sibling elements in XML.\n\nI've tried adjusting the reference paths and iterators, but results didn't change. Either the attribute was missing completely or all attributes were getting the same language tag.\n\nIs this a known regression or change in how `rml:languageMap` is evaluated with sibling XML elements?\nWhat is the recommended way to generate correct language-tagged literals from repeated XML child elements like `\u003ctitle\u003e` in the current version of RMLMapper?\n","author":{"url":"https://github.com/marianna-tselepi","@type":"Person","name":"marianna-tselepi"},"datePublished":"2025-07-22T08:21:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/262/rmlmapper-java/issues/262"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:1d6ee5ee-8fb1-f4d8-68b1-e981a250979d
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDE6E:3F42A4:C2A97:10726B:6A5547EE
html-safe-nonce6015ebc839b39fb098c9e24407d15499151b6ff22dbd83dd3936ba864f798c1a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTZFOjNGNDJBNDpDMkE5NzoxMDcyNkI6NkE1NTQ3RUUiLCJ2aXNpdG9yX2lkIjoiODk2NTM3ODcwNDY5NzI4MDQ5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac40e344108d10b332cf5256ff4633618e5eb62f2b9ee2a286535d71371a47248d
hovercard-subject-tagissue:3251643294
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/RMLio/rmlmapper-java/262/issue_layout
twitter:imagehttps://opengraph.githubassets.com/3ef972f36de01f9cd06a95b28987006855ac16cb22c92dab4cc73d8f7c818b6f/RMLio/rmlmapper-java/issues/262
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3ef972f36de01f9cd06a95b28987006855ac16cb22c92dab4cc73d8f7c818b6f/RMLio/rmlmapper-java/issues/262
og:image:altI'm working with nested XML input where elements like contain a language attribute, e.g.: <myElement> <title language="fi">Automaalari Billackerare
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemarianna-tselepi
hostnamegithub.com
expected-hostnamegithub.com
Nonecd9eea424140838b22e9eabd53d92b5702617ddd6d76efcd3a37f08d44309ca5
turbo-cache-controlno-preview
go-importgithub.com/RMLio/rmlmapper-java git https://github.com/RMLio/rmlmapper-java.git
octolytics-dimension-user_id12096796
octolytics-dimension-user_loginRMLio
octolytics-dimension-repository_id138707242
octolytics-dimension-repository_nwoRMLio/rmlmapper-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id138707242
octolytics-dimension-repository_network_root_nwoRMLio/rmlmapper-java
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3084b9f587e8f1e19803bbe0c77ac77ce3c99c5c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/RMLio/rmlmapper-java/issues/262#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRMLio%2Frmlmapper-java%2Fissues%2F262
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRMLio%2Frmlmapper-java%2Fissues%2F262
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=RMLio%2Frmlmapper-java
Reloadhttps://github.com/RMLio/rmlmapper-java/issues/262
Reloadhttps://github.com/RMLio/rmlmapper-java/issues/262
Reloadhttps://github.com/RMLio/rmlmapper-java/issues/262
Please reload this pagehttps://github.com/RMLio/rmlmapper-java/issues/262
RMLio https://github.com/RMLio
rmlmapper-javahttps://github.com/RMLio/rmlmapper-java
Notifications https://github.com/login?return_to=%2FRMLio%2Frmlmapper-java
Fork 68 https://github.com/login?return_to=%2FRMLio%2Frmlmapper-java
Star 201 https://github.com/login?return_to=%2FRMLio%2Frmlmapper-java
Code https://github.com/RMLio/rmlmapper-java
Issues 58 https://github.com/RMLio/rmlmapper-java/issues
Pull requests 3 https://github.com/RMLio/rmlmapper-java/pulls
Actions https://github.com/RMLio/rmlmapper-java/actions
Projects https://github.com/RMLio/rmlmapper-java/projects
Security and quality 0 https://github.com/RMLio/rmlmapper-java/security
Insights https://github.com/RMLio/rmlmapper-java/pulse
Code https://github.com/RMLio/rmlmapper-java
Issues https://github.com/RMLio/rmlmapper-java/issues
Pull requests https://github.com/RMLio/rmlmapper-java/pulls
Actions https://github.com/RMLio/rmlmapper-java/actions
Projects https://github.com/RMLio/rmlmapper-java/projects
Security and quality https://github.com/RMLio/rmlmapper-java/security
Insights https://github.com/RMLio/rmlmapper-java/pulse
Issue with language-tagged literals in nested XML using languageMaphttps://github.com/RMLio/rmlmapper-java/issues/262#top
https://github.com/marianna-tselepi
marianna-tselepihttps://github.com/marianna-tselepi
on Jul 22, 2025https://github.com/RMLio/rmlmapper-java/issues/262#issue-3251643294
test casehttps://github.com/RMLio/rmlmapper-java/blob/a6e67cd9c95d220ce9b6d071836a3d98c509255b/src/test/resources/test-cases/RMLTC1032-XML/mapping.ttl
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.