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
0
votes
1 answer

Converting a CSV to RDF where I can't find appropriate URIs online for the subjects

I'm trying to convert a sanskrit dictionary from CSV format to RDF. The problem is that I cannot find appropriate URIs for the sanskrit words online. Is there a solution for this? Thank you.
baba
  • 33
  • 1
  • 1
  • 5
0
votes
1 answer

Content between < and > cant be print in jsp

I want to print some IRIs in a jsp page. When I use System.out.println to print the content into the system the result is fine e.g. http:blabla. However, when I use PrintWriter to print the content into the html page the result is an empty string.
Cheryl
  • 245
  • 1
  • 12
0
votes
1 answer

Regular expression that matches when a character is in between two characters, but the inner character can be one of the outer delimiters

I have a string like this: and I want a Regex that will match whenever there's a situation like this: 1> to…
0
votes
1 answer

IRI as parameter for filtering ressources

We use IRI for identifying ressource in our API. When we want to filter another ressource with a ressource we have to use the ID part of the IRI. Is that normal? Exemple : GET /api/authors [{ @id: "/api/authors/45gfd654d", name: "John…
MuyBien
  • 163
  • 2
  • 13
0
votes
0 answers

Retrieve Ontology IRI using Jena API

I use Jena API to read TTL files and get information form them using Sparql queries. This is the query I am using: PREFIX rdf: PREFIX owl: PREFIX rdfs:…
DjSh
  • 2,776
  • 2
  • 19
  • 32
0
votes
1 answer

Adding multiple labels to an OWL class (similar to SKOS:altLabel)

I am editing ontologies for a project in JAVA with org.semanticweb.owlapi.model.OWLOntology. I need to find a solution about adding multiple labels to an owl class. For any class c from OWL-API, I can get its label via c.getIRI(). But how can I add…
Sami
  • 1
  • 1
0
votes
0 answers

Merging ontologies with same IRI

I am trying to merge ontologies having same IRI using Protege tool. This doesn't seem to be happening. Is there any way to do it without the code? If this is not possible, is there a way to merge the classes having same IRI? I also want to know if…
PPR
  • 1
  • 1
0
votes
1 answer

XPath: encode-for-uri() but keep characters allowed in IRIs unencoded

XPath has the function encode-for-uri() that makes a string safe for use in a URI path segment: encode-for-uri('AC/DC') => AC%2FDC But it also %-encodes international characters: encode-for-uri('汉/语') => %E6%B1%89%2F%E8%AF%AD This is indeed…
cygri
  • 9,412
  • 1
  • 25
  • 47
0
votes
1 answer

Request validator : validate an IRI

I'm currently working with api-plateform which has been a great tool so far. I'd like to add some validator before my datas are stored into my database. Api-platform works with IRI instead of plain id (even if you can change this behavior). I was…
user3561383
  • 77
  • 1
  • 13
0
votes
1 answer

Add or update VersionIRI through OWL API

I have an ontology IRI without version. How to add or update version IRI of a particular OWL ontology ?
SuhasD
  • 728
  • 2
  • 7
  • 20
0
votes
1 answer

This version does not have support for IRIs while running wget

While executing the below code timeout 900 wget --random-wait --tries=2 --timeout=90 --recursive --level=1 --no-parent --follow-tags=a \ --html-extension --convert-links --restrict-file-names=windows --force-directories \ --reject…
0
votes
1 answer

alphanumeric strings can be also URI or IRI?

I have data with alphanumeric ids like 9625ea21a1bf1be22963576fcdfd863d. Can I say this is also an IRI (internationalized resource identifier) or URI value? All URI examples are like aaa.txt, aaa/bbb.html, or protocol://aaa/bbb.ext#tag.
Daebarkee
  • 633
  • 2
  • 6
  • 18
0
votes
0 answers

When producing URI from IRI, why browsers don't convert non-ASCII symbols to UTF-8 first?

From RFC-3986, section 2.5: When a new URI scheme defines a component that represents textual data consisting of characters from the Universal Character Set [UCS], the data should first be encoded as octets according to the UTF-8 character…
JenyaKh
  • 2,040
  • 17
  • 25
0
votes
1 answer

Virtuoso DBpedia "Other Language than English" graph

I'm trying to use Virtuoso with ita-Dbpedia dumps. These are the steps i've done using the guide: 1: Installed virtuoso and made a Service (called "Nostromo"). 2: Downloaded Dumps 3: Bulkloaded dumps 4: registered graph iri with (SQL> ld_dir ('tmp',…
0
votes
1 answer

IRI validation, unexpected fail with encoded <> symbols

I'm working with abdera in my project and it fails during parsing IRI address from content which contains already encoded < and > symbols: > < The exception is: "org.apache.abdera.i18n.text.InvalidCharacterException: Invalid Character…
XZen
  • 225
  • 5
  • 27
  • 49