I need to know the difference between RDB2RDF tools.
Could anybody tell me what are the pros and cons of RDB2RDF tools? Especially for the following ones: Virtuoso, Ultrawrap, Ontop, Morph, Xsparql, D2RQ,....
相关问题
- Creating a SPARQL parameterized query using append
- Getting list of persons using SPARQL dbpedia
- SQL Server Import Wizard doesn't support impor
- Bulk insert from excel to sql for selective fields
- SSIS - Dynamically moving Files to Folder with Mat
相关文章
- RDF libraries for Scala [closed]
- The difference between blank nodes and variables i
- How to display alert box when no json value is giv
- Java ETL process
- How to turn a SPARQL/SPIN query/rule into an RDF s
- Triple extraction from a sentance
- Meaning of owl:hasValue?
- boundary for arbitrary property path in SPARQL 1.1
There are two W3C-standardized ways to convert relational data to RDF:
In the survey below, I consider R2RML implementations only.
Many R2RML implementations are listed here. I do not consider tools which are:
XSPARQL
Syntax example
Remarks
cli-0.5-jar-with-dependencies.jar
— command-line jar.Version 0.5 is preferable, you will recieve "Prefix cannot be null" in the latter ones.
Conclusion
Intermediate translation into XQuery is used, very slow.
ONTOP
Ontop is a popular Protégé plugin, but also available as a set of command line utilities.
Syntax example
Remarks
SET GLOBAL SQL_MODE-ANSI_QUOTES;
Conclusion
Ontop was designed for working with ontologies and generates many ontological garbage like
... rdf:type owl:namedIndividual
.Ontop tries to parse and rewrite an SQL query from
rr:sqlQuery
, does not understand many SQL constructs and honestly suggests you to create appropriate SQL view in your relational database.R2RML support is partial. Ontop R2RML manual. Really fast.
RDB2RDF::R2RML
I haven't been able to install this Perl module: there are many dependencies that are absent on CPAN.
D2RQ
D2RQ is a full-stack solution, however one can extract standalone tool from the D2RQ distribution.
R2RML is supported in the preview version only.
D2RQ provides its own mapping language (by the way, as well as Ontop).
Conclusion
As well as I remember, D2RQ divides your SQL query from
rr:sqlQuery
into many "atomic" queries and extracts database records one by one, which is really slow.D2RQ R2RML Manual.
CONCLUSION
My personal choice is Ontop.
See also:
I haven't thought about this as rigorously as @Stanislav Kralin, or defined what I expect in terms of performance, elegance, expressiveness, etc.
More and more of the triplestores offer their own bridge between relational data and semantic triples. I'm thinking especially of Stardog and GraphDB. I believe that Stardog (and Virtuoso's?) solutions don't actually concretely dump triples. Rather they create a virtual semantic view of one or more tables.
D2R was the first instantiator I used. I'm surprised @Stanislav Kralin included it, because it is kinda dead (or un-maintained) and it does kinda require programming (or writing out statements in a declarative language.) I didn't know about the R2RML preview... I'll have to check that out, because I was concerned about using their proprietary language.
I believe some of my academic colleagues use the reference R2RML parser.
I have been pretty happy with Karma from ISI. Instantiating tabular/relational data is a big part of my research, and I have certainly found some edge cases that have been difficult to implement, for example linking multiple singleton instances.
Karma doesn't use just pure R2RML: