We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The text was updated successfully, but these errors were encountered:
@loicjaouen , do you have any experience with giving custom IRI to a resource ?
I've tried, copying what is indicated at https://docs.knora.org/03-apis/api-v2/editing-resources/#creating-a-resource (at the end of the section about Creating a resource), but the resource created is assigned a random IRI and not the one I specified ..
Example:
{ "@id" : "http://rdfh.ch/0112/person_RodArnold", "knora-api:attachedToProject" : { "@id" : "http://rdfh.ch/projects/0112" }, "@type" : "roud-oeuvres:Person", "roud-oeuvres:personHasGivenName" : { "@type" : "knora-api:TextValue", "knora-api:valueAsString" : "Arnold" }, "roud-oeuvres:personHasFamilyName" : { "@type" : "knora-api:TextValue", "knora-api:valueAsString" : "Rod" }, "roud-oeuvres:hasBirthDate" : { "@type" : "knora-api:DateValue", "knora-api:dateValueHasCalendar" : "GREGORIAN", "knora-api:dateValueHasEndEra" : "CE", "knora-api:dateValueHasStartEra" : "CE", "knora-api:dateValueHasStartYear" : 1896, "knora-api:dateValueHasEndYear" : 1896 }, "roud-oeuvres:hasDeathDate" : { "@type" : "knora-api:DateValue", "knora-api:dateValueHasCalendar" : "GREGORIAN", "knora-api:dateValueHasEndEra" : "CE", "knora-api:dateValueHasStartEra" : "CE", "knora-api:dateValueHasStartYear" : 1955, "knora-api:dateValueHasEndYear" : 1955 }, "knora-api:hasPermissions" : "CR knora-admin:ProjectAdmin|D knora-admin:ProjectMember|V knora-admin:UnknownUser", "rdfs:label" : "person_Rod Arnold", "@context" : { "rdf" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#", "knora-api" : "http://api.knora.org/ontology/knora-api/v2#", "rdfs" : "http://www.w3.org/2000/01/rdf-schema#", "xsd" : "http://www.w3.org/2001/XMLSchema#", "roud-oeuvres" : "http://0.0.0.0:3333/ontology/0112/roud-oeuvres/v2#" } }
It is not super important, I was just thinking that it might speed the process at times ..
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: