Comments (5)
The description of the issue is empty.
from morph-kgc.
The description of the issue is empty.
Hello, I have added details to my question. I look forward to you being able to solve my problem! Thanks a lot!
from morph-kgc.
Please, revise your mappings.
You are mixing R2RML and RML (e.g. rr:objectMap
and rml:onjectMap
), you have a # before an rml:reference
.
from morph-kgc.
Thanks a lot! The reason there's a line with "rml:reference" is because I tried replacing the code
rml:template "http://www.example.com/book/{book_index}";
rr:termType rr:IRI
with
rml:reference "{book}" ]
and then it ran normally. But I want to treat "book" as an entity.
Thanks a lottttttttt! I will revise it by myself!
from morph-kgc.
As I said, please, take a careful look at your mappings. This mappings works:
@prefix rml: <http://w3id.org/rml/>.
@prefix ex: <http://example.com#>.
@prefix : <http://example.org/> .
@base <http://example.org/> .
:innerTriplesMap a rml:NonAssertedTriplesMap ;
rml:logicalSource [
rml:source "data.csv";
rml:referenceFormulation rml:CSV
];
rml:subjectMap [
rml:template "http://www.example.com/resource#/{h_type}/{h_ID}";
rml:termType rml:IRI
];
rml:predicateObjectMap [
rml:predicate ex:hadWarWith;
rml:objectMap [
rml:template "http://www.example.com/resource#/{t_type}/{t_ID}";
rml:termType rml:IRI
]
].
:outerTriplesMap a rml:AssertedTriplesMap;
rml:logicalSource [
rml:source "data.csv";
rml:referenceFormulation rml:CSV
];
rml:subjectMap [
rml:quotedTriplesMap :innerTriplesMap
];
rml:predicateObjectMap [
rml:predicate ex:wasExtractedFrom;
rml:objectMap [
rml:template "http://www.example.com/book/{book_index}";
rml:termType rml:IRI
];
].
from morph-kgc.
Related Issues (20)
- NULL value not ignored for Parquet file format HOT 4
- Output to Kafka topic doesn't seem to work HOT 4
- AttributeError: 'DataFrame' object has no attribute 'map' in version 2.7.0 HOT 2
- Problem Input Database HOT 1
- Use of UDFs when fetching data from Oracle for building KG HOT 4
- Applying rml:reference to each RML-F result HOT 2
- YARRRML conditions on objects are not correctly processed HOT 3
- YARRRML external references HOT 1
- Issue with use of functions in YARRRML configuration HOT 2
- Two logical sources with rr:sqlQuery for the same table HOT 2
- Use of YARRRML with a Pandas dataframe as source HOT 5
- Impala connector HOT 1
- XSD mapping -- UnboundLocalError: local variable 'data' referenced before assignment HOT 4
- Error on YARRRML mappings when creating a condition HOT 5
- Link mapping with a dynamic subject fails HOT 11
- Carga incompleta de los datos al poblar el Grafo de conocimiento usando: un mapping .yarrrml y un csv HOT 2
- out-of-memory in etl pipeline with batching HOT 7
- YARRRML - Exception while using grel:string_indexOf function HOT 3
- Transforming Parquet file with non-null empty strings rises error HOT 3
- Need the ability to specify the outputs of functions should be URIRef nodes and not Literals HOT 2
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 morph-kgc.