René's URL Explorer Experiment


Title: Enhancement: Use rdflib's JSON-LD parser for full context expansion · Issue #2 · JavaScriptSolidServer/solid-shim · GitHub

Open Graph Title: Enhancement: Use rdflib's JSON-LD parser for full context expansion · Issue #2 · JavaScriptSolidServer/solid-shim

X Title: Enhancement: Use rdflib's JSON-LD parser for full context expansion · Issue #2 · JavaScriptSolidServer/solid-shim

Description: Current Behavior The parseJsonLdToStore() function uses a simple manual parser that only expands the schema: prefix: const typeUri = node['@type'].replace('schema:', 'http://schema.org/') This means JSON-LD using other vocabularies (like...

Open Graph Description: Current Behavior The parseJsonLdToStore() function uses a simple manual parser that only expands the schema: prefix: const typeUri = node['@type'].replace('schema:', 'http://schema.org/') This mean...

X Description: Current Behavior The parseJsonLdToStore() function uses a simple manual parser that only expands the schema: prefix: const typeUri = node['@type'].replace('schema:', 'http://sch...

Opengraph URL: https://github.com/JavaScriptSolidServer/solid-shim/issues/2

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Enhancement: Use rdflib's JSON-LD parser for full context expansion","articleBody":"## Current Behavior\n\nThe `parseJsonLdToStore()` function uses a simple manual parser that only expands the `schema:` prefix:\n\n```typescript\nconst typeUri = node['@type'].replace('schema:', 'http://schema.org/')\n```\n\nThis means JSON-LD using other vocabularies (like W3C Verifiable Credentials) must use full URIs instead of relying on `@context` expansion.\n\n## Proposed Enhancement\n\nUse rdflib's built-in JSON-LD parser which handles full context expansion:\n\n```typescript\n$rdf.parse(jsonLdString, store, baseUri, 'application/ld+json')\n```\n\n## Benefits\n\n- Full JSON-LD context expansion\n- Support for any vocabulary without code changes\n- Proper handling of `@type` arrays\n- Standards-compliant parsing\n\n## Considerations\n\n- **Network latency**: Context URLs need to be fetched (could cache common ones)\n- **Offline support**: Would need bundled/cached contexts\n- **Async**: `$rdf.parse()` with remote contexts is async\n\n## Possible Approach\n\n1. Use `$rdf.parse()` for full JSON-LD support\n2. Bundle common contexts (schema.org, credentials/v1, etc.)\n3. Fall back to simple parser if context fetch fails\n\n## Related\n\n- Issue #1: @type array handling (subset of this problem)\n- W3C Verifiable Credentials demo requires full URIs as workaround","author":{"url":"https://github.com/melvincarvalho","@type":"Person","name":"melvincarvalho"},"datePublished":"2026-01-06T21:37:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2/solid-shim/issues/2"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:12807d1d-d185-65f9-b434-f43b4c8b309e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id840E:2E9694:23C10B8:31A51B5:69779EC0
html-safe-nonceb4ef37d0b3e31dd98ffb12c8ca718bf37580828fd5fe51cafc2fa79d20367ff2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDBFOjJFOTY5NDoyM0MxMEI4OjMxQTUxQjU6Njk3NzlFQzAiLCJ2aXNpdG9yX2lkIjoiNzgwNDc1OTA3MjQ5MzI0ODE5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac89db44630ffaa946c315f7deeaa6d9a49efe116129e139b9c1043333e7a0c37f
hovercard-subject-tagissue:3786621406
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/JavaScriptSolidServer/solid-shim/2/issue_layout
twitter:imagehttps://opengraph.githubassets.com/1ecc846dd2e590e0d46e9eecb434378e0551841c7c38f2158e4f0cdd63012563/JavaScriptSolidServer/solid-shim/issues/2
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1ecc846dd2e590e0d46e9eecb434378e0551841c7c38f2158e4f0cdd63012563/JavaScriptSolidServer/solid-shim/issues/2
og:image:altCurrent Behavior The parseJsonLdToStore() function uses a simple manual parser that only expands the schema: prefix: const typeUri = node['@type'].replace('schema:', 'http://schema.org/') This mean...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemelvincarvalho
hostnamegithub.com
expected-hostnamegithub.com
Nonee10aafdf5297192c9b24eb4c1705326a9448d90025c2907ca863f7e62d40627d
turbo-cache-controlno-preview
go-importgithub.com/JavaScriptSolidServer/solid-shim git https://github.com/JavaScriptSolidServer/solid-shim.git
octolytics-dimension-user_id205442424
octolytics-dimension-user_loginJavaScriptSolidServer
octolytics-dimension-repository_id1125206031
octolytics-dimension-repository_nwoJavaScriptSolidServer/solid-shim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1125206031
octolytics-dimension-repository_network_root_nwoJavaScriptSolidServer/solid-shim
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
release6ba450e9e3f0dbffd9b797b93684cf55e32593e3
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/JavaScriptSolidServer/solid-shim/issues/2#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJavaScriptSolidServer%2Fsolid-shim%2Fissues%2F2
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2FJavaScriptSolidServer%2Fsolid-shim%2Fissues%2F2
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=JavaScriptSolidServer%2Fsolid-shim
Reloadhttps://github.com/JavaScriptSolidServer/solid-shim/issues/2
Reloadhttps://github.com/JavaScriptSolidServer/solid-shim/issues/2
Reloadhttps://github.com/JavaScriptSolidServer/solid-shim/issues/2
JavaScriptSolidServer https://github.com/JavaScriptSolidServer
solid-shimhttps://github.com/JavaScriptSolidServer/solid-shim
Notifications https://github.com/login?return_to=%2FJavaScriptSolidServer%2Fsolid-shim
Fork 0 https://github.com/login?return_to=%2FJavaScriptSolidServer%2Fsolid-shim
Star 0 https://github.com/login?return_to=%2FJavaScriptSolidServer%2Fsolid-shim
Code https://github.com/JavaScriptSolidServer/solid-shim
Issues 5 https://github.com/JavaScriptSolidServer/solid-shim/issues
Pull requests 0 https://github.com/JavaScriptSolidServer/solid-shim/pulls
Actions https://github.com/JavaScriptSolidServer/solid-shim/actions
Projects 0 https://github.com/JavaScriptSolidServer/solid-shim/projects
Security 0 https://github.com/JavaScriptSolidServer/solid-shim/security
Insights https://github.com/JavaScriptSolidServer/solid-shim/pulse
Code https://github.com/JavaScriptSolidServer/solid-shim
Issues https://github.com/JavaScriptSolidServer/solid-shim/issues
Pull requests https://github.com/JavaScriptSolidServer/solid-shim/pulls
Actions https://github.com/JavaScriptSolidServer/solid-shim/actions
Projects https://github.com/JavaScriptSolidServer/solid-shim/projects
Security https://github.com/JavaScriptSolidServer/solid-shim/security
Insights https://github.com/JavaScriptSolidServer/solid-shim/pulse
New issuehttps://github.com/login?return_to=https://github.com/JavaScriptSolidServer/solid-shim/issues/2
New issuehttps://github.com/login?return_to=https://github.com/JavaScriptSolidServer/solid-shim/issues/2
Enhancement: Use rdflib's JSON-LD parser for full context expansionhttps://github.com/JavaScriptSolidServer/solid-shim/issues/2#top
https://github.com/melvincarvalho
https://github.com/melvincarvalho
melvincarvalhohttps://github.com/melvincarvalho
on Jan 6, 2026https://github.com/JavaScriptSolidServer/solid-shim/issues/2#issue-3786621406
Bug: @type array causes TypeError in JSON-LD parsing #1https://github.com/JavaScriptSolidServer/solid-shim/issues/1
@typehttps://github.com/type
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.