Questions tagged [iri]

The internationalized resource identifier (IRI) was defined by the Internet Engineering Task Force (IETF) in 2005 as a new internet standard to extend upon the existing uniform resource identifier (URI) scheme. The new standard was published in RFC 3987.

IRI extends the URI standard to support I18N in the following ways:

  • Support for bidirectional text
  • Support for non-ASCII characters
  • Support for UTF-8 encoding

References

63 questions
1
vote
0 answers

SVG local IRI not recognized by Firefox when xml:base is present

Mozilla Firefox does not understand the local IRI reference on a xlink:href attribute inside an SVG document when on the SVG element there is specified the xml:base attribute. Same SVG document is displayed fine in Google Chrome. Try to remove to…
1
vote
1 answer

Why OWL API's RDFXMLParser cannot resolve IRI with two hashes?

I am trying to load an ontology with OWL API. one of the resources' IRI is http://example.com/#1#2'. The following exception happens: Parser: RDFXMLParser org.semanticweb.owlapi.rdf.syntax.RDFParserException: [line=129:column=52] IRI…
Yishu Fang
  • 9,448
  • 21
  • 65
  • 102
1
vote
1 answer

Are spaces allowed in an IRI?

I'm using Java's URI class to validate whether or not an IRI is proper. According to the documentation, the URI can spit out an IRI string and it can likewise be constructed from an IRI string. I have a situation where the IRI I'm given contains…
John S
  • 1,695
  • 2
  • 14
  • 25
1
vote
1 answer

Is there RFC3987(IRI validation) implementation done in JavaScript?

Is there an implementation for RFC3987 (Internationalized Resource Identifiers ) done in JavaScript so that I can use it to check if a string is a valid IRI? I need it for a script done with NodeJS. I know that HTML doesn't support IRI links but I…
Eduard Florinescu
  • 16,747
  • 28
  • 113
  • 179
1
vote
0 answers

Uri class and IRIs

I am struggling with the Uri class in .net, when parsing IRIs. Consider this IRI: var iriStr = "http://example.com/base/植物/名=しそ;使用部=葉"; When I create and Uri from this (regardless of the iri parsing setting) I get the following: var uri = new…
Tomasz Pluskiewicz
  • 3,622
  • 1
  • 19
  • 42
1
vote
1 answer

Xpointer is a non valid IRI?

I'm trying out a tool (Elda) that uses the Jena framework for handling RDF. I got this error: ERROR [qtp1415899750-24] (RouterRestlet.java:332) - Exception: Line 7, column 72: com.hp.hpl.jena.iri.impl.IRIImplException: Code:…
0
votes
1 answer

Getting Labels in SPARQL Aggregate

The following query is working: SELECT ?goal (count(?ngo) as ?ngoCount) WHERE {?ngo a ngo:NGORecipient; ngo:hasSDGGoal ?goal. ?goal rdfs:label ?sdglabel.} GROUP BY ?goal ORDER BY ?ngoCount However, when…
0
votes
0 answers

ApiPlatform cannot denormalize existing entity from IRI

Using Api Platform 2.7 (PHP 8.1 & Symfony 5.4) I am trying to set the POST operation of a resource with relations to existing other entities but the denormalization process seems to create a new object every time. Here is the attribute for the…
AymDev
  • 6,626
  • 4
  • 29
  • 52
0
votes
1 answer

How to encode IRI (Internationalized Resource Identifier) to actual text in NextJS?

actual URL - http://localhost:3000/यह-दुकान-है this URL is converted to IRI - http://localhost:3000/%E0%A4%AF%E0%A4%B9-%E0%A4%A6%E0%A5%81%E0%A4%95%E0%A4%BE%E0%A4%A8-%E0%A4%B9%E0%A5%88 Is there any possibility to convert it back to real URL from IRI…
Rajendra A Verma
  • 268
  • 2
  • 11
0
votes
1 answer

Bad character in IRI in Jena when reading OWL/RDF model

I have a org.apache.jena.riot.RiotException: Bad character in IRI (space) exception when reading an OWL/RDL model in Jena. I know that it's because I have a space in an IRI declaration in an XML namespace declaration (which is not allowed), but as I…
Hervé Girod
  • 465
  • 3
  • 12
0
votes
0 answers

Postman call get method retured array iris/endpoint instead array data object

I have problem. I call get method endopint e.g. /api/something with headers [Accept: application/json, Content-Type: application/json , I tried other ones as well ], Endpoint should return array with objects and this object contains field 'items'…
lukasssz
  • 1
  • 1
0
votes
2 answers

How to add an Ontology IRI with the Python rdflib library?

My problem is described here but the (maybe old) proposed solution does not work for me! https://github.com/RDFLib/rdflib/issues/817 I would like to use rdflib to fill with Python the Ontology IRI like in the Ontology header of Protégé.
0
votes
1 answer

IRIs: Shall http or https be used?

While reading the JSON-LD specification I noticed that a lot of vocabularies have http as a protocol instead of https (see section 2. Conformance). This seems odd to me. When opening in a browser there is often a http -> https redirect (like for…
Stephan Kulla
  • 4,739
  • 3
  • 26
  • 35
0
votes
1 answer

Disable IRI api-platform

I'm trying to create a fat record in api-platform, normally, it will have to put IRI, but I don't want to (I can't.). My question, is it possible to do something like that? Instead of that: Do it like this: Thank you in advance for your future…
bglevon
  • 1
  • 3
0
votes
1 answer

API Platform custom IRI with value objects

I am currently trying to create a custom IRI for one of my entities in API Platform. I know there is page in the documentation describing how to use a custom IRI (https://api-platform.com/docs/core/identifiers/), but I can't get it working. My…
SpigAndromeda
  • 174
  • 1
  • 11