Comments (6)
Steps to reproduce in a new fuseki dataset:
- Save data below into a trig file
- Upload to fuseki using "Add Data" tab in web interface
- Query
DESCRIBE<https://ex.com/Test1>
Returns Result - Query
DESCRIBE<https://ex.com/Test1> FROM <urn:x-arq:DefaultGraph>
Error 502
@prefix test: <https://ex.com/ontologies/> .
@prefix 😀: <https://ex.com/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
😀:Test1 a test:Test ;
test:title "Test"^^xsd:string ;
.
from jena.
Fuseki is behind a proxy?
It is running in a container on kubernetes behind a Traefik ingress
from jena.
I just tried it on 5.0.0 and I get a similar error
from jena.
This bug report is incomplete. As you note it appears to be triggered by your data but you have failed to provide that data
I would also suggest experimenting with sending different Accept
headers as it's possible your data has a prefix declaration that is legal for some RDF syntaxes but not others
from jena.
Fuseki is behind a proxy?
org.apache.jena.shared.PrefixMapping$IllegalPrefixException: 😀
FROM
triggers DynamicDatasets.dynamicDataset
which sets up prefixes as it is created at the start of the request, and does not wait until prefixes are used (which would only delay problems to later in the request execution).
While 😀 is a legal prefix name in Turtle family languages, it is not a legal prefix for RDF/XML. That must be a XML NCName to be used in the predicate position. In RDF/XML properties are qnames.
Jena PrefixMapping
add restrictions to ensure that, when used to write RDF/XML data, the writing process won't fail because of prefix names. PrefixMapping
is quite old code and we don't want to change the contract.
For most processing there is an internal abstraction that supports TriG.
The code in GraphUnionRead
should skip such prefixes.
from jena.
PR #2386 includes allowing "😀" in graph prefix mappings. It turns out that Jena's RDF/XML writing was already quite defensive and converted illegal prefixes (illegal to RDF/XML writing in XML 1.0) to give them a generated legal name. Combine that with ensuring writing RDF/XML follows the more restrictive XML 1.0 with limitation to java char size, then prefixes generally compatible across Turtle TriG etc.
from jena.
Related Issues (20)
- Fuseki UI Add Data Dataset graph name not escaped HOT 5
- Add Tooltip Feature to Main Upload Bar HOT 3
- Error with getLocalName() for https://schema.org/3DModel HOT 3
- How to Add Custom Predicate Support to Apache Jena Fuseki? HOT 1
- LPBRuleEngine's usage of LinkedList for activeInterpreters is a hot spot HOT 3
- Use PrefixMappingBase for BufferingPrefixMapping
- Update `PrefixMappingImpl` prefix checking rule to align with Turtle and XML 1.1
- a Fuseki Jetty server behind an Apache HTTPd proxy-pass HOT 17
- Remove Fuseki system database
- QueryExec: abort before exec is ignored.
- RDFParserBuilder.toDatasetGraph() is much slower than calling RDFParserBuilder.parse(DatasetGraph) HOT 3
- RDF Patch Binary Reader silently accepts some invalid patch files HOT 4
- Support for multi-variable join keys
- improve arq command line documentation
- Incorrect JoinClassifier results with unbound values.
- Fix broken Fuseki when using a context path in the URL
- Update the lexical space and value space of rdf:XMLLiteral to comply with RDF 1.1 HOT 2
- Remove commons-cli dependency from jena-core
- Update various @Deprecation to include "forRemoval"
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 jena.