TriX (serialization format)
Jump to navigation
Jump to search
Internet media type | text/xml |
---|---|
Type of format | semantic web |
Container for | RDF data |
Extended to | TriX |
Standard | Specification |
This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages)
(Learn how and when to remove this template message)
|
TriX (Triples in XML) is a serialization format for RDF (Resource Description Framework) graphs. It is an XML format for serializing Named Graphs and RDF Datasets which offers a compact and readable alternative to the XML-based RDF/XML syntax.[1] It was jointly created by HP Labs and Nokia.[2]
Example[edit]
<TriX>
<graph>
<triple>
<uri>http://example.org/Bob</uri>
<uri>http://example.org/wife</uri>
<uri>http://example.org/Mary</uri>
</triple>
<triple>
<uri>http://example.org/Bob</uri>
<uri>http://example.org/name</uri>
<plainLiteral>Bob</plainLiteral>
</triple>
<triple>
<uri>http://example.org/Mary</uri>
<uri>http://example.org/age</uri>
<typedLiteral datatype="http://www.w3.org/2001/XMLSchema#integer">32</typedLiteral>
</triple>
</graph>
</TriX>
Reference[edit]
- ^ "TriX : RDF Triples in XML". Hpl.hp.com. Retrieved 2018-03-22.
- ^ "TriX: An XML Serialization for RDF Triples". Web.archive.org. Archived from the original on 2011-07-24. Retrieved 2018-03-22.
This World Wide Web–related article is a stub. You can help Wikipedia by expanding it. |