Element | rdf:type |
---|---|
Ontology | owl:Ontology |
Class | owl:Class rdfs:Class |
Property | rdf:Property owl:AnnotationProperty owl:ObjectProperty owl:DatatypeProperty owl:OntologyProperty owl:DeprecatedProperty |
Rule Set | RIF group |
Rule | RIF rule |
Vocabulary | voaf#Vocabulary voaf_old#Vocabulary |
Dataset | void:Dataset dcat:Dataset dcat_deri:Dataset |
This table describes the annotated properties relevant for adding metadata.
Property | Scope | Place | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Ontology | Class | Property | Individual | Rule Set | Rule | Vocabulary | Dataset | Catalog | Distribution | VC | Definition | In use | Documentation | ||
rdfs:label |
The label of the element. The range is a literal with a language tag (optional). For example: |
||||||||||||||
dct:title |
See rdfs:label For example: |
||||||||||||||
dc:title |
See rdfs:label For example: |
||||||||||||||
skosxl:altLabel |
An alternative label of a element. The range of the property is an instance of the class LexicalLabel. For example: |
||||||||||||||
skosxl:prefLabel |
The preferred label of a element. The range of the property is an instance of the class LexicalLabel. For example: |
||||||||||||||
skos:altLabel |
An alternative label of a element. The range is a literal with a language tag. For example: |
||||||||||||||
skos:prefLabel |
The preferred label of a element. The range is a literal with a language tag (optional). In some cases, it is assumed that prefLabel assumes the role of the label for presentation purposes. For example: |
||||||||||||||
Property | Scope | Place | Description | ||||||||||||
Ontology | Class | Property | Individual | Rule Set | Rule | Vocabulary | Dataset | Catalog | Distribution | VC | Definition | In use | Documentation | ||
rdfs:comment |
The description of the element. The range is a literal with a language tag. For example: |
||||||||||||||
dct:description |
See rdfs:comment For example: |
||||||||||||||
dc:description |
See rdfs:comment For example: |
||||||||||||||
Property | Scope | Place | Description | ||||||||||||
Ontology | Class | Property | Individual | Rule Set | Rule | Vocabulary | Dataset | Catalog | Distribution | VC | Definition | In use | Documentation | ||
dct:creator |
An entity primarily responsible for making the element: a person, an organization or a service. Recommended best practice is to use a FOAF profile to describe a creator. For example: |
||||||||||||||
dc:creator |
An entity primarily responsible for making the element: a person, an organization or a service. Typically, the name of a creator should be used to indicate the entity. For example: |
||||||||||||||
dct:contributor |
An entity responsible for making contributions to the resource: a person, an organization or a service. Recommended best practice is to use a FOAF profile to describe a contributor. For example: |
||||||||||||||
dc:contributor |
An entity responsible for making contributions to the resource: a person, an organization or a service. Typically, the name of a contributor should be used to indicate the entity. For example: |
||||||||||||||
dct:publisher |
An entity responsible for making the element available: a person, an organization or a service. Recommended best practice is to use a FOAF profile to describe a publisher. For example: |
||||||||||||||
dc:publisher |
An entity responsible for making the element available: a person, an organization or a service. Typically, the name of a publisher should be used to indicate the entity. For example: |
||||||||||||||
foaf:maker |
See dct:creator. For example: |
||||||||||||||
Property | Scope | Place | Description | ||||||||||||
Ontology | Class | Property | Individual | Rule Set | Rule | Vocabulary | Dataset | Catalog | Distribution | VC | Definition | In use | Documentation | ||
dct:date |
The date of creation or publication of the element. Recommended best practice is to use the W3CDTF profile of ISO 8601. For example: |
||||||||||||||
dc:date |
The date of creation or publication of the element. Recommended best practice is to use the W3CDTF profile of ISO 8601. For example: |
||||||||||||||
dct:issued |
Date of formal issuance (e.g., publication) of the element. Recommended best practice is to use the W3CDTF profile of ISO 8601. For example: |
||||||||||||||
dct:modified |
The date on which the element was changed. Recommended best practice is to use the W3CDTF profile of ISO 8601. For example: |
||||||||||||||
Property | Scope | Place | Description | ||||||||||||
Ontology | Class | Property | Individual | Rule Set | Rule | Vocabulary | Dataset | Catalog | Distribution | VC | Definition | In use | Documentation | ||
dct:license |
A legal document describing the copyright license of the element. Recommended best practice is to use Creative Commons licenses and to describe them in RDF with the Creative Commons Rights Expression Language (CC REL). For example: |
||||||||||||||
cc:license |
A legal document describing the copyright license of the element. Recommended best practice is to use Creative Commons licenses and to describe them in RDF with the Creative Commons Rights Expression Language (CC REL). For example: |
||||||||||||||
cc-deprecated:license |
A legal document describing the copyright license of the element. Recommended best practice is to use Creative Commons licenses and to describe them in RDF with the Creative Commons Rights Expression Language (CC REL). For example: |
||||||||||||||
dc:rights |
Information about rights held in and over the element. For example: |
||||||||||||||
Property | Scope | Place | Description | ||||||||||||
Ontology | Class | Property | Individual | Rule Set | Rule | Vocabulary | Dataset | Catalog | Distribution | VC | Definition | In use | Documentation | ||
owl:versionInfo |
Provides a hook suitable for use by versioning systems. For example: |
||||||||||||||
vs:term_status |
Status of a term, expressed as a short symbolic string; known values include 'unstable','testing', 'stable' and 'archaic'. For example: |
||||||||||||||
owl:deprecated |
An annotation with the owl:deprecated annotation property and the value equal to For example: |
||||||||||||||
foaf:depiction |
An image associated with the element. For example: |
||||||||||||||
og:video |
A video associated with the element. For example: |
||||||||||||||
rdfs:seeAlso |
Specifies a resource that might provide additional information about the element. For example: |
||||||||||||||
dct:source |
The resources from which the rules are derived. Typically, they are documentary sources (as candidate rules), but diagrams, plans or pictures are also possible. For example: |
||||||||||||||
Property | Scope | Place | Description | ||||||||||||
Ontology | Class | Property | Individual | Rule Set | Rule | Vocabulary | Dataset | Catalog | Distribution | VC | Definition | In use | Documentation | ||
vann:preferredNamespacePrefix |
The preferred namespace prefix when using entities of an ontology or a vocabulary. For example: |
||||||||||||||
vann:preferredNamespaceUri |
The preferred namespace URI to use when using terms from an ontology or a vocabulary. For example: |
||||||||||||||
voaf:classNumber |
The number of classes defined in the vocabulary. For example: |
||||||||||||||
voaf_old:classNumber |
The number of classes defined in the vocabulary. For example: |
||||||||||||||
voaf:propertyNumber |
The number of properties defined in the vocabulary. For example: |
||||||||||||||
voaf_old:propertyNumber |
The number of properties defined in the vocabulary. For example: |
||||||||||||||
foaf:homepage |
The homepage (typically a Web page in HTML format) of the vocabulary. For example: |
||||||||||||||
void:vocabulary |
A vocabulary or owl:Ontology whose classes or properties are used in the dataset. For example: |
||||||||||||||
rdfs:isDefinedBy |
Used to indicate where this element has been defining. For example: |
||||||||||||||
owl:versionIRI |
Identifies the version IRI of an ontology. For example: |
||||||||||||||
owl:priorVersion |
Indicates the predecessor ontology of a given ontology. For example: |
||||||||||||||
owl:incompatibleWith |
Indicates that a given ontology is incompatible with another ontology. For example: |
||||||||||||||
Property | Scope | Place | Description | ||||||||||||
Ontology | Class | Property | Individual | Rule Set | Rule | Vocabulary | Dataset | Catalog | Distribution | VC | Definition | In use | Documentation | ||
void:dataDump |
An RDF dump, partial or complete, of the dataset. For example: |
||||||||||||||
void:sparqlEndpoint |
The SPARQL endpoint of the dataset. For example: |
||||||||||||||
dct:identifier |
A unique identifier of the dataset. For example: |
||||||||||||||
dct:language |
This refers to the language used in the textual metadata describing titles, descriptions, etc. of the element. For example: |
||||||||||||||
dc:language |
The language used in the textual metadata describing titles, descriptions, etc. of the element (Recommended best practice is to use a controlled vocabulary such as RFC 4646). For example: |
||||||||||||||
dct:spatial |
The geographical area covered by the element. For example: |
||||||||||||||
foaf:page |
A page or document about the element. For example: |
||||||||||||||
dcat:keyword |
A keyword or tag describing the element. For example: |
||||||||||||||
dcat_deri:keyword |
A keyword or tag describing the element. For example: |
||||||||||||||
dcat:landingPage |
A Web page that can be navigated to in a Web browser to gain access to the element. For example: |
||||||||||||||
dcat_deri:landingPage |
A Web page that can be navigated to in a Web browser to gain access to the element. For example: |
||||||||||||||
dcat:distribution |
Connects a element to its available distributions. For example: |
||||||||||||||
dcat_deri:distribution |
Connects a element to its available distributions. For example: |
||||||||||||||
dcat:dataset |
A dataset that is part of the element. For example: |
||||||||||||||
dcat_deri:dataset |
A dataset that is part of the element. For example: |
||||||||||||||
dcat:accessURL |
Could be any kind of URL that gives access to a distribution of the element. E.g. landing page, download, feed URL, SPARQL endpoint. For example: |
||||||||||||||
dcat_deri:accessURL |
Could be any kind of URL that gives access to a distribution of the element. E.g. landing page, download, feed URL, SPARQL endpoint. For example: |
||||||||||||||
dcat:downloadURL |
This is a direct link to a downloadable file in a given format (e.g. CSV file or RDF file) For example: |
||||||||||||||
dcat:byteSize |
The size of a element in bytes. For example: |
||||||||||||||
dct:format |
The file format of the element.For example: <dct:format> <dct:IMT> <rdf:value>text/csv</rdf:value> <rdfs:label>CSV</rdfs:label> </dct:IMT> <dct:format> |
Prefix | Namespace |
---|---|
cc | http://creativecommons.org/ns# |
cc-deprecated | http://web.resource.org/cc/ |
dc | http://purl.org/dc/elements/1.1/ |
dct | http://purl.org/dc/terms/ |
foaf | http://xmlns.com/foaf/0.1/ |
og | http://ogp.me/ns# |
owl | http://www.w3.org/2002/07/owl# |
rdfs | http://www.w3.org/2000/01/rdf-schema# |
skosxl | http://www.w3.org/2008/05/skos-xl# |
skos | http://www.w3.org/2004/02/skos/core# |
vann | http://purl.org/vocab/vann/ |
voaf | http://purl.org/vocommons/voaf# |
voaf_old | http://labs.mondeca.com/vocab/voaf# |
void | http://rdfs.org/ns/void# |
vs | http://www.w3.org/2003/06/sw-vocab-status/ns# |
dcat | http://www.w3.org/ns/dcat# |
dcat_deri | http://vocab.deri.ie/dcat# |
Icon | Definition |
---|---|
A data property is used to describe attributes of resources, such as the height of a person or the population of a country. | |
An object property is used to describe relations to other resources, such as the mother of a person or the capital of a country. | |
An annotation property is used to give more information of resources. | |
A reflexive property describes a relation where every resource is related to itself. | |
A irreflexive property describes a relation where none resource is related to itself. | |
Symmetric property | |
Asymmetric property | |
Transitive property | |
Functional property | |
Inverse functional property |
URL | /parrot | |
Method | GET | |
Querystring | documentUri | URL of an input document |
mimetype |
Mimetype of the input document. Supported values are
|
|
profile (optional) |
The profile for generate a customize report. Supported values are
|
|
language (optional) | The language uses to generate the report. The possible values are in the IANA registry of language tags. Default value is en (English). | |
customizeCssUrl (optional) | The URL of a customize CSS | |
Returns | 200 OK | |
400 Illegal Request | ||
500 Unexpected error |
For example:
GET /parrot?documentUri=http://purl.org/dc/terms/&mimetype=default&profile=business&language=en
URL | /parrot | |
Method | POST | |
Request Body | documentText | The input source text. |
mimetypeText |
Mimetype of the input source text. Supported values are
|
|
profile (optional) |
The profile for generate a customize report. Supported values are
|
|
language (optional) | The language uses to generate the report. The possible values are in the IANA registry of language tags. Default value is en (English). | |
customizeCssUrl (optional) | The URL of a customize CSS | |
Returns | 200 OK | |
400 Illegal Request | ||
500 Unexpected error |
For example:
POST /parrot documentText=<rdf:RDF xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <owl:Ontology rdf:about="http://ontorule-project.eu/resources/steel-30"> <rdfs:label xml:lang="en">Steel Ontology</rdfs:label> </owl:Ontology> </rdf:RDF> mimetypeText=application/rdf+xml profile=business language=en customizeCssUrl=http://example.org/style.css
You can send multiple documentText parameter values. In that case, each one should be accompanied by a mimetype parameter.URL | /parrot | |
Method | GET | |
Querystring | reportURL | URL of the existing report |
profile (optional) |
The profile for generate a customize report. Supported values are
|
|
language (optional) | The language uses to generate the report. The possible values are in the IANA registry of language tags. Default value is en (English). | |
customizeCssUrl (optional) | The URL of a customize CSS | |
Returns | 200 OK | |
400 Illegal Request | ||
500 Unexpected error |
For example:
GET /parrot?reportURL=http://ontorule-project.eu/resources/parrot/examples/previous-report-metadata.html&profile=business&language=en
In the PARROT example compilation there are available multiple examples of usage of PARROT with ontologies, rules, datasets, vocabularies and more.
If you want to add a label to an element, the preferred property order to set it is:
If you want to add a description to an element, the preferred property order to set it is:
You can create a report from a webpage with RDFa. Just add a button in your webpage in order to create a link to the Parrot report.
We encourage you to use the XHTML code below (or its HTML equivalent), but you may use a different code to integrate the icon within your web page as long as the icon is used as a link to document the Web page it is in. Sample code is as follows:
<p> <a href="/parrot?referer=true"><img src="/parrot/images/button-referer.png" alt="Document with Parrot" /></a> </p>
This is a compilation of the tip of the day feature
Did you know ...If a resource has more than one rdf:type, this resource will be document in the report just once (with no priority to document the resource like a concrete rdf:type).
For instance, if a resource is declared like:
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about="http://example.org/resource">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Ontology"/>
<rdf:type rdf:resource="http://rdfs.org/ns/void#Dataset"/>
</rdf:Description>
</rdf:RDF>
The documentation for the resource http://example.org/resource will only appears once (like an ontology or like a dataset).
Some icons has been created by Mark James and there are distributed under CreativeCommons-by 2.5 license.