CARVIEW |
Select Language
HTTP/2 200
date: Thu, 31 Jul 2025 09:28:43 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-robots-tag: none
etag: W/"595d19c1add2304780ab6210ff0b5021"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=4jxTbaQPZ7I3Qy5175bmNkna%2FHIxy05JlJ3MvhaaELkmLmnPA%2BHeMvGpcg348SGx%2BdOq6aQCUUenmpU%2BoOSwVKHV3syN8srbGSZ6mxnhJBCsJ6CTQQhLoeVG3JpwIbR4fvURa9nopmFakX%2FgZWuH53gZeVxB2P0ewjoXMCvu%2BNJQMzLPSdOjg7amvlc2GGCMPgEJmHXqWyhji%2Bl8jw8cpOJ47BVrCIdpo%2FUUgIUdbP2Xyrajpt3WQdOyL%2FKcPPlCovBDnP3APl3X6%2FPujUwfgA%3D%3D--3V0T%2FP4RnBL6OWd4--4Mz1%2Bh6b2aG8dGZgbarn4w%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.770058797.1753954122; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 09:28:42 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 09:28:42 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: A0E4:3BDB3D:702A80:88F0D5:688B374A
Alternative XML to RDF converters · timrdf/csv2rdf4lod-automation Wiki · GitHub
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 36
Alternative XML to RDF converters
Tim L edited this page Aug 1, 2016
·
22 revisions
csv2rdf4lod-automation is licensed under the [Apache License, Version 2.0](https://github.com/timrdf/csv2rdf4lod-automation/wiki/License)
- "An XML to RDF Java library (open source / apache 2) that’s compatible with Jena. It’s blazingly fast and highly configurable. Available on GitHub https://github.com/AcandoNorway/XmlToRdf and on Maven https://mvnrepository.com/artifact/no.acando/xmltordf" - jena list announcement and design justifications
- https://www.w3.org/2004/02/03-rdal/ - RDAL annotates the RelaxNG schema for some XML to specify how its instances should be cast to RDF. You could use RDAL to create XSLT templates for GRDDL.
- Krextor - First time I looked at this page, I skipped passed it. After discussing it with Christoph, I've decided I really should check it out.
- Jena's Gloze zip pdf jena sourceforge (2016 summary)
- SparqPlug, section 8.1.4.3
- Pentaho Data Integration suite (https://kettle.pentaho.com/) for converting from relational DBs to RDF. They also used it to translate from XML to RDF.
- https://github.com/srdc/ontmalizer
(see also SDV organization)
<xsl:variable name="prefixes">
<xsl:text><![CDATA[
@prefix prov: <https://www.w3.org/ns/prov#>.
@prefix dcterms: <https://purl.org/dc/terms/>.
@prefix rdfs: <https://www.w3.org/2000/01/rdf-schema#>.
@prefix foaf: <https://xmlns.com/foaf/0.1/>.
@prefix pext: <https://www.ontotext.com/proton/protonext#> .
]]></xsl:text>
</xsl:variable>
-
document-uri(/)
gives the file path of the input XML document. -
replace(reverse(tokenize(document-uri(/),'/'))[1],'.tidy','')
gives the local name of the input XML document.
See also Scraping HTML
For example data in nsf-gov/awards/version/wget Is there a way to combine conversion:TemplatedTopicsEnhancement with XML as input?
<xsl:template match="rootTag/Award">
conversion:topic [
conversion:name "[AwardID]"; ### THIS is an XPath.
a foaf:Person;
prov:alternateOf [
a foaf:Person;
conversion:name "[#4]";
];
];
conversion:topic [
conversion:name "[#2]";
a bibo:Article;
prov:alternateOf [
a bibo:Article;
conversion:name "[#3]";
];
];
conversion:topic [
conversion:name "https://lod.hackerceo.org/VIVO2DOI/bundle/increment([#1])";
a prov:Bundle, void:Dataset, void:Linkset;
prov:wasDerivedFrom [
a prov:Entity, prv:File;
conversion:name "[/]id/url/md5/md5([#1])";
prv:retrievedBy [
conversion:name "[/]id/url/md5/md5([#1])/access";
a prov:Activity, prv:DataAccess;
prv:accessedResource [ conversion:name "[#1]" ];
];
];
void:target [ conversion:name "domain([#1])",
"domain([#2])",
"domain([#3])",
"domain([#4])" ];
void:linkPredicate prov:alternateOf;
sio:has-member [ conversion:name "[#1]", "[#2]", "[#3]", "[#4]" ];
];
Clone this wiki locally
You can’t perform that action at this time.