Code Monkey home page Code Monkey logo

Comments (1)

fadmaa avatar fadmaa commented on June 9, 2024

you are right. it is not possible unfortunately.
The best work around I could come up with if the number of unique values in
the column is low, and therefore there are few unique properties, is to add
an edge with each of the properties in the RDF skeleton.
Then in the value use an if statement to test the value of the cell against
the property name. If equals then value else null
The RDF generation will ignore the edge if the value is empty/null

Not very pretty but can help in some scenarios.
Regards,
Fadi

On Sun, Sep 27, 2015 at 7:54 PM, Laurent Alquier [email protected]
wrote:

Is it possible to map a property using a column value?
As far as I can tell, Properties can only be fixed strings.

I have a use case where my data in Refine looks like:
sourceURI targetURI propertyName .... (+ other columns)

I would like to generate triples along the lines of:

sourceURI mynamespace: targetURI

where comes from the value in the propertyName column.


Reply to this email directly or view it on GitHub
#113.

from grefine-rdf-extension.

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.