Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Resource Description Framework
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Serialization formats === {{Infobox file format | name = RDF 1.1 Turtle serialization | icon = | extension = .ttl | mime = text/turtle<ref>{{cite web |url=http://www.w3.org/TR/turtle/#h2_sec-mediaReg |title=RDF 1.1 Turtle: Terse RDF Triple Language |publisher=W3C |date=9 Jan 2014 |access-date=2014-02-22}}</ref> | owner = [[World Wide Web Consortium]] | standard = [http://www.w3.org/TR/turtle/ RDF 1.1 Turtle: Terse RDF Triple Language] {{start date and age|2014|01|09}} | open = Yes }} {{Infobox file format | name = RDF 1.1 TriG serialization | icon = | extension = .trig | mime = application/trig<ref>{{cite web |url=http://www.w3.org/TR/trig/#h2_sec-mediaReg |title=RDF 1.1 TriG: RDF Dataset Language |publisher=W3C |date=25 Feb 2014 |access-date=2022-12-21}}</ref> | owner = [[World Wide Web Consortium]] | standard = [http://www.w3.org/TR/trig/ RDF 1.1 TriG: RDF Dataset Language] {{start date and age|2014|02|25}} | open = Yes }} {{Infobox file format | name = RDF/XML serialization | icon = [[Image:XML.svg|100px]] | extension = .rdf | mime = application/rdf+xml<ref>{{cite news |url=http://tools.ietf.org/html/rfc3870 |title=application/rdf+xml Media Type Registration |newspaper=Ietf Datatracker |page=2 |publisher=IETF |date=September 2004 |access-date=2011-01-08}}</ref> | owner = [[World Wide Web Consortium]] | standard = [http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/ Concepts and Abstract Syntax] {{start date and age|2004|02|10}} | open = Yes }} Several common [[Serialization|serialization formats]] are in use, including: * '''[[Turtle (syntax)|Turtle]],'''<ref name="turtle">{{cite web |title=RDF 1.1 Turtle: Terse RDF Triple Language |url=http://www.w3.org/TR/turtle/ |date=9 January 2014 |publisher=W3C }}</ref> a compact, human-friendly format. * '''[[TriG (syntax)|TriG]],'''<ref name="trig">{{cite web |title=RDF 1.1 TriG: RDF Dataset Language |url=http://www.w3.org/TR/trig/ |date=25 February 2014 |publisher=W3C }}</ref> an extension of Turtle to datasets. * '''[[N-Triples]],'''<ref name="n-triples" >{{cite web |title=RDF 1.1 N-Triples: A line-based syntax for an RDF graph |date=9 January 2014 |url=http://www.w3.org/TR/n-triples/ |publisher=[[W3C]] }}</ref> a very simple, easy-to-parse, line-based format that is not as compact as Turtle. * '''[[N-Quads]],'''<ref>{{cite web |title = N-Quads: Extending N-Triples with Context |date = 2012-06-25 |url = http://sw.deri.org/2008/07/n-quads/ |url-status = dead |archive-url = https://web.archive.org/web/20130426135418/http://sw.deri.org/2008/07/n-quads/ |archive-date = 2013-04-26 }}</ref><ref name="n-quads" >{{cite web |title=RDF 1.1 N-Quads |date=January 2014 |url=http://www.w3.org/TR/n-quads/ |publisher=[[W3C]] }}</ref> a superset of N-Triples, for serializing multiple RDF graphs. * '''[[JSON-LD]],'''<ref name="json-ld">{{cite web|title=JSON-LD 1.0: A JSON-based Serialization for Linked Data|url=http://www.w3.org/TR/json-ld/|publisher=W3C}}</ref> a [[JSON]]-based serialization. * '''N3''' or [[Notation3]], a non-standard serialization that is very similar to Turtle, but has some additional features, such as the ability to define inference rules. * '''[[RDF/XML]]''',<ref name="rdf-xml" >{{cite web |title=RDF 1.1 XML Syntax |date=25 February 2014 |url=http://www.w3.org/TR/rdf-syntax-grammar/ |publisher=[[W3C]] }}</ref> an XML-based syntax that was the first standard format for serializing RDF. * '''RDF/JSON''',<ref name="rdf-json" >{{cite web |title=RDF 1.1 JSON Alternate Serialization (RDF/JSON) |date=7 November 2013 |url=https://www.w3.org/TR/rdf-json/ |publisher=[[W3C]] }}</ref> an alternative syntax for expressing RDF triples using a simple JSON notation. RDF/XML is sometimes misleadingly called simply RDF because it was introduced among the other W3C specifications defining RDF and it was historically the first W3C standard RDF serialization format. However, it is important to distinguish the RDF/XML format from the abstract RDF model itself. Although the RDF/XML format is still in use, other RDF serializations are now preferred by many RDF users, both because they are more human-friendly,<ref name="rdf-xml-syntax-criticism">{{cite web|title=Problems of the RDF syntax|url=http://milicicvuk.com/blog/2011/07/21/problems-of-the-rdf-syntax/|publisher=Vuk Miliฤiฤ}}</ref> and because some RDF graphs are not representable in RDF/XML due to restrictions on the syntax of XML [[QName]]s. With a little effort, virtually any arbitrary [[XML]] may also be interpreted as RDF using [[GRDDL]] (pronounced 'griddle'), Gleaning Resource Descriptions from Dialects of Languages. RDF triples may be stored in a type of database called a [[triplestore]].
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)