Giter Site home page Giter Site logo

Comments (2)

afs avatar afs commented on June 24, 2024

Are these syntactically correct?

The last one isn't. List syntax is not legal in quoted triples.

https://www.w3.org/2021/12/rdf-star.html#turtle-star-grammar

The second one includes: (DATA for the list intent)

<< ex:myPredicate calc:holdsFor ex:DATA >>
        calc:probability  "0.96"^^xsd:double , "0.95"^^xsd:double .

i.e. two probabilities which is may be not what was intended. The fact it also includes

<< << ex:myPredicate calc:holdsFor ex:DATA >> calc:probability "0.95"^^xsd:double >>
        o:accordingTo  ex:Alice .

etc does not modify the underlying data to keep the two probabilities apart.

To have the two as separate sets of triples about the base data, there needs to be an indirection to keep them apart. This can't be written with annotation syntax - annotation syntax is a syntactic shortcut for certain cases, not a complete solution.

See https://lists.w3.org/Archives/Public/public-rdf-star/2020Jun/0006.html for previous discussions.

Sketch:

<< ex:myPredicate calc:holdsFor ex:DATA >> 
    o:observation [ calc:probability "0.95"^^xsd:double ; o:accordingTo ex:Alice ] ;
    o:observation [ calc:probability "0.96"^^xsd:double ; o:accordingTo ex:Bob ] .

from rdf-star.

AdamSobieski avatar AdamSobieski commented on June 24, 2024

Thank you @afs, I updated that discussion thread with this.

from rdf-star.

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.