Code Monkey home page Code Monkey logo

Comments (4)

szeke avatar szeke commented on June 1, 2024

Can you please elaborate? If you are setting the literal types in the
model, they should appear in the RDF and if they don't, it is a bug. Can
you please send a screenshot of your model, including a screenshot of the
semantic type dialogue where you set the semantic type. Also send the RDF
file generated. We will take a look.

If you don't set the literal type, Karma will not generate it, ie, Karma
will not add xsd:String

Pedro

On Mon, Oct 14, 2013 at 9:00 AM, FrenkT [email protected] wrote:

Hi, I'm generating RDF triples using karma and I'm wondering if literal
types should appear in them. I mean, what is the utility of specifyng the
literal type for a certain field? Is it ok that in the RDF file that I
publish there is no reference to the literal type that I set in the model?


Reply to this email directly or view it on GitHubhttps://github.com//issues/33
.

from web-karma.

FrenkT avatar FrenkT commented on June 1, 2024

This is the model:
screenshot from 2013-10-14 20 44 23
screenshot from 2013-10-14 20 44 52

Here you can see the dialogue where i set the literal (all the other numeric values are given a xsd:float literal)
screenshot from 2013-10-14 20 23 57

And here is the published RDF for the firs row of the screenshot:

http://localhost/source/2013-10-11T14:00:00.000+02:00+EM0100201 http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://www.dsi.unifi.it/SiiMobility#Observation .
http://localhost/source/2013-10-11T14:00:00.000+02:00+EM0100201 http://purl.org/dc/terms/created "2013-10-11T14:20:56.601+02:00" .
http://localhost/source/2013-10-11T14:00:00.000+02:00+EM0100201 http://purl.org/dc/terms/date "2013-10-11T14:00:00.000+02:00" .
http://localhost/source/2013-10-11T14:00:00.000+02:00+EM0100201 http://purl.org/dc/terms/identifier "2013-10-11T14:00:00.000+02:00+EM0100201" .
http://localhost/source/2013-10-11T14:00:00.000+02:00+EM0100201 http://purl.org/dc/terms/source "SO_MIIC" .
http://localhost/source/2013-10-11T14:00:00.000+02:00+EM0100201 http://www.dsi.unifi.it/SiiMobility#averageDistance " 81.75382" .
http://localhost/source/2013-10-11T14:00:00.000+02:00+EM0100201 http://www.dsi.unifi.it/SiiMobility#averageSpeed " 41.775" .
http://localhost/source/2013-10-11T14:00:00.000+02:00+EM0100201 http://www.dsi.unifi.it/SiiMobility#averageTime " 6.7125" .
http://localhost/source/2013-10-11T14:00:00.000+02:00+EM0100201 http://www.dsi.unifi.it/SiiMobility#concentration " 11" .
http://localhost/source/2013-10-11T14:00:00.000+02:00+EM0100201 http://www.dsi.unifi.it/SiiMobility#occupancy " 0.05272916" .
http://localhost/source/2013-10-11T14:00:00.000+02:00+EM0100201 http://www.dsi.unifi.it/SiiMobility#speedPercentile " 0.0" .
http://localhost/source/2013-10-11T14:00:00.000+02:00+EM0100201 http://www.dsi.unifi.it/SiiMobility#thresholdPerc " 0.0" .
http://localhost/source/2013-10-11T14:00:00.000+02:00+EM0100201 http://www.dsi.unifi.it/SiiMobility#vehicleFlow " 80" .
http://localhost/source/EM0100201 http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://www.dsi.unifi.it/SiiMobility#Sensor .
http://localhost/source/2013-10-11T14:00:00.000+02:00+EM0100201 http://www.dsi.unifi.it/SiiMobility#measuredBy http://localhost/source/EM0100201 .
http://localhost/source/EM0100201 http://purl.org/dc/terms/identifier "EM0100201" .
http://localhost/source/EM01002 http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://www.dsi.unifi.it/SiiMobility#SensorSite .
http://localhost/source/EM0100201 http://www.dsi.unifi.it/SiiMobility#forms http://localhost/source/EM01002 .
http://localhost/source/EM0100201 http://www.dsi.unifi.it/SiiMobility#hasProduced http://localhost/source/2013-10-11T14:00:00.000+02:00+EM0100201 .
http://localhost/source/RT04801406403TOviadellarepubblica http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://www.dsi.unifi.it/SiiMobility#Road .
http://localhost/source/EM0100201 http://www.dsi.unifi.it/SiiMobility#installedOn http://localhost/source/RT04801406403TOviadellarepubblica .
http://localhost/source/RT04801406403TOviadellarepubblica http://purl.org/dc/terms/identifier "RT04801406403TO" .
http://localhost/source/RT04801406403TOviadellarepubblica http://www.dsi.unifi.it/SiiMobility#name "via della repubblica" .
http://localhost/source/EM01002 http://purl.org/dc/terms/identifier "EM01002" .

Let me know if you need something else. Thanks.

from web-karma.

szeke avatar szeke commented on June 1, 2024

Indeed, I was able to reproduce the problem. We will fix it.

from web-karma.

szeke avatar szeke commented on June 1, 2024

Fixed in the master.

from web-karma.

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.