Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

TriG (syntax)

From Wikipedia, the free encyclopedia
TriG
Filename extension
.trig
Internet media type
application/trig
Developed byFreie Universität Berlin
Type of formatsemantic web
Container forRDF data
Extended fromTurtle
StandardW3C Recommendation

TriG is a serialization format for RDF (Resource Description Framework) graphs. It is a plain text format for serializingnamed graphs and RDF Datasets which offers a compact and readable alternative to the XML-basedTriX syntax.

Example

[edit]

This example encodes three interlinked named graphs:

  • http://www.example.org/exampleDocument#G1
  • http://www.example.org/exampleDocument#G2
  • http://www.example.org/exampleDocument#G3
@prefixrdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#>.@prefixxsd:<http://www.w3.org/2001/XMLSchema#>.@prefixswp:<http://www.w3.org/2004/03/trix/swp-1/>.@prefixdc:<http://purl.org/dc/elements/1.1/>.@prefixex:<http://www.example.org/vocabulary#>.@prefix:<http://www.example.org/exampleDocument#>.:G1{:Monicaex:name"Monica Murphy".:Monicaex:homepage<http://www.example.org>.:Monicaex:email<mailto:monica@example.org>.:Monicaex:hasSkillex:Management}:G2{:Monicardf:typeex:Person.:Monicaex:hasSkillex:Programming}:G3{:G1swp:assertedBy_:w1._:w1swp:authority:Chris._:w1dc:date"2003-10-02"^^xsd:date.:G2swp:quotedBy_:w2.:G3swp:assertedBy_:w2._:w2dc:date"2003-09-03"^^xsd:date._:w2swp:authority:Chris.:Chrisrdf:typeex:Person.:Chrisex:email<mailto:chris@example.com>}

External links

[edit]
Background
Sub-topics
Applications
Related topics
Standards
Syntax and supporting technologies
Schemas, ontologies and rules
Semantic annotation
Common vocabularies
Microformat vocabularies


Stub icon

ThisWorld Wide Web–related article is astub. You can help Wikipedia byexpanding it.

Retrieved from "https://en.wikipedia.org/w/index.php?title=TriG_(syntax)&oldid=1289917364"
Categories:
Hidden category:

[8]ページ先頭

©2009-2025 Movatter.jp