What's a RDF triple?

前端 未结 14 1818
南笙
南笙 2020-12-04 15:39

In layman\'s terms, what\'s a RDF triple?

14条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-04 16:02

    Triple explained by example

    Be there a table that relates users and questions.

    TABLE dc:creator
    -------------------------
    | Question |   User     |
    -------------------------
    |    45    |   485527   |
    |    44    |   485527   |
    |    40    |   485528   |
    

    This could conceptually be expressed in three RDF triples like...

      
      
      
    

    ...so that each row is converted to one triple that relates a user to a question. The general form of each triple can be described as:

    One specialty about RDF is, that you can (or must) use URIs/IRIs to identify entities as well as relations. Find more here. This makes it possible for everyone to reuse already existing relations (predicates) and to publish statements about arbitrary entities in the www.

    Example relating a SO answer to its creator:

       
     
    
    

    提交回复
    热议问题