Comments (1)
There are two different encodings here. \u7259\u89E6\u75DB
and %E7%89%99%E8%A7%A6%E7%97%9B
.
D2RQ outputs an older version of the N-Triples format where non-ASCII characters had to be escaped as \uXXXX
Unicode escapes. This is why we see \u7259\u89E6\u75DB
. That should not be a problem. When the N-Triples file is read into another RDF software, these characters will be unescaped and turned back into the original Chinese characters. (In newer versions of Turtle, this escaping is no longer necessary, but it shouldn't be a problem.)
The %E7%89%99%E8%A7%A6%E7%97%9B
encoding is only used when D2RQ generates URIs with non-ASCII characters in them. This is arguably a bug in D2RQ. URIs can contain only US-ASCII characters, and therefore D2RQ applies percent-encoding to characters outside the US-ASCII range. But URIs in RDF (and hence N-Triples) are actually IRIs, which support the full Unicode range. So D2RQ shouldn't do the %-encoding.
from d2rq.
Related Issues (20)
- Error when querying. strange select command: `Incorrect syntax near '=' HOT 10
- Dump-rdf on the getting started page
- Unknown argument -b when calling generate-mapping
- link broken on http://d2rq.org/getting-started HOT 1
- Specify multi-column primary key HOT 1
- Incorrect Turtle file with missing mapping HOT 2
- Not able to urlify columns with special characters using uriSqlExpression HOT 3
- hi, I am a student ,I know d2rq support window an linux system,Does d2rq support mac? HOT 2
- What structure & mapping should I provide in order to be able to answer a relational query?
- A possibility to merge ONT-D2RQ codebase into this repo HOT 2
- Error when generating mapping from postgresql database
- Load Native JDBC Library
- d2r-server fails to start due to java version with a component number greater than 255 HOT 3
- Dump RDF output to HDFS HOT 1
- Executing SPARQL queries against a ModelD2RQ- java error HOT 3
- insert statement for sparql HOT 1
- You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near HOT 1
- Mapping a propertybirdge into an ontology class HOT 3
- mapping a class and its subclasses from an entity table and attributes 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 d2rq.