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 WAR file fails to start HOT 1
- vite-plugin-istanbul 6.0.1+ not compatible with Fuseki UI build. HOT 1
- moving/renaming `:jena-ontapi` vocabularies.
- [Fuseki] Reloadable configuration files HOT 5
- `mvn clean install` fails HOT 8
- RDFXML: can't parse rdf:XMLLiteral HOT 17
- Spread out the days dependabot PRs are generated
- OntModel enhancements HOT 3
- Fuseki query endpoint stopped working on jena-fuseki-main upgrade HOT 6
- jena-benchmark-jmh module defunct HOT 10
- Remove <dependencyPath> from POMs where it is unnecessary
- Clean warnings in jena-ontapi
- trouble with Fuseki UI and one AJAX request (/$/stats) HOT 9
- Fuseki HttpAction: Check and improve the transaction lifecycle for HTTP action execution.
- Fuseki - setting the context path to a relative path causes 404s.
- Support for SPARQL CDTs (lists and maps as literals) HOT 1
- Using a reasoner to retrieve individuals beloning to a Class HOT 3
- How do you work with jena-fuseki-ui for local development? HOT 4
- Update jena-text to use Lucene in a Java21 compatible way.
- Always use hash joins when joining VALUES blocks HOT 3
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.