Git Product home page Git Product logo

Comments (4)

filip26 avatar filip26 commented on June 3, 2024 3

Fixed in trunk (1.4.0-SNAPSHOT). Titanium v1.4.0 will be released during February, hopefully.

from jena.

filip26 avatar filip26 commented on June 3, 2024 1

I confirm it's expansion bug. An input is expanded before serialization into RDF so the bug propagates down the stream. Will be fixed.

from jena.

filip26 avatar filip26 commented on June 3, 2024 1

just heads up, v1.4.0 has been released https://github.com/filip26/titanium-json-ld/releases/tag/v1.4.0

from jena.

afs avatar afs commented on June 3, 2024

Hi @Tomvbe,

I tried with the development codebase and get the same results.

Jena uses Titanium JSON-LD for parsing JSON-LD, The Jena5 dependency is on version Titanium 1.3.3 and Jena 4.10.0 depends on 1.3.2.

Tracing the example, Jena calls Titanium with

    private void read(Document document, String baseURI, StreamRDF output, Context context) throws JsonLdError {
        // JSON-LD to RDF
        JsonLdOptions opts = getJsonLdOptions(baseURI, context);
        RdfDataset dataset = JsonLd.toRdf(document).options(opts).base(baseURI).get();
        extractPrefixes(document, output::prefix);
        JenaTitanium.convert(dataset, profile, output);
    }

opts is new JsonLdOptions(), baseURI is null.

It seems the URI coming back from Titanium in RdfDataset is "http://example/documentRestaurant" so it looks like an issue within Titanium.

cc: @filip26

from jena.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.