Coder Social home page Coder Social logo

Comments (3)

robstewart57 avatar robstewart57 commented on August 18, 2024

Fixed by fabianmeyer@52b2906

from rdf4h.

fabianmeyer avatar fabianmeyer commented on August 18, 2024

There also seems to be an issue with blank nodes inside of collections:

@prefix : <http://example.org/foo#> .
:subject
  :predicate1 ( [
    :predicate3 :a
  ] ) ;
  :predicate2 :b .

Adds the :predicate2 :b to the list node:

Triple (UNode "http://example.org/foo#subject") (UNode "http://example.org/foo#predicate1") (BNodeGen 1)
Triple (BNodeGen 1) (UNode "http://example.org/foo#predicate2") (UNode "http://example.org/foo#b")
Triple (BNodeGen 1) (UNode "http://www.w3.org/1999/02/22-rdf-syntax-ns#first") (BNodeGen 2)
Triple (BNodeGen 2) (UNode "http://example.org/foo#predicate3") (BNodeGen 3)
Triple (BNodeGen 2) (UNode "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest") (UNode "http://www.w3.org/1999/02/22-rdf-syntax-ns#nil")
Triple (BNodeGen 3) (UNode "http://www.w3.org/1999/02/22-rdf-syntax-ns#first") (UNode "http://example.org/foo#a")

Unfortunately, I'm not quite sure about the cause and how to fix it. Perhaps a missing popped subject-context somewhere else?

from rdf4h.

robstewart57 avatar robstewart57 commented on August 18, 2024

OK. I don't have a chance to look at this just now, so I've added it as a failing unit test:

a98cb77

Which can be run with:

stack test --test-arguments="--pattern conformance-turtle-example10"

from rdf4h.

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.