Comments (5)
The problem is data modelling. Modelling the data as RDF in a graph format is something that requires some user involvement. However plenty has been written on the topic (hint: search google for "csv to rdf"). Have a look here: http://www.w3.org/wiki/ConverterToRdf. Once you have the data into RDF, you can save it in N3/turtle format and import it with levelgraph-n3.
However, you can simply parse the csv with node.js and store it in levelgraph as follows:
- get a unique identifier for each row (from the fields, I don't understand Finnish).
- store a triple for each cell in each rows, using the column name as predicate and the value as object.
- query it with the normal levelgraph methods.
If in the process you add a Wiki page, I will be extremely grateful :).
from levelgraph.
BTW, storing it as RDF can be simplified by using URI as identifiers for subjects, predicates and objects (where approriate, i.e. when the object are not values, but links to other entities).
from levelgraph.
Thanks. Will do at some point. For the weeks to come I will be traveling and enjoying summer. But when I do I will also have a look at OpenRefine and LODRefine.
from levelgraph.
Ok, I'm closing this! Ping me if you need more help!
from levelgraph.
Hi Petri @pe3,
What did you end up using? Did you find a mapping system for node?
We've been working on tools like Karma, The DataTank and LODRefine. You can also read a paper about extending R2RML to RML over here
from levelgraph.
Related Issues (20)
- Why save all permutations? HOT 5
- Tree Traversal & Querying HOT 3
- Assistance with query on a DAG HOT 1
- joins do not work if the values are different than the objects themselves HOT 1
- use on mobile? P2P? encryption? realtime?
- unreachable code after return statement :4758
- this.db.approximateSize is not a function HOT 2
- error with example stream search code HOT 2
- Uncaught TypeError: this.once is not a function
- Triple identifiers HOT 1
- Additional Documentation Needed
- Uncaught TypeError: this.db.approximateSize is not a function
- performance expectations for levelgraph
- Error using level-sublevel@6 HOT 2
- Levelgraph searches fail to resolve; wait indefinitely after finding solution(s)
- Version bump HOT 10
- getStream doesn't emit end event
- Sync local <> external database HOT 5
- does not work with persistent level db HOT 1
- offset behaviour changes depending on type of filter HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from levelgraph.