Difference between revisions of "Knowledge Tree RDF Binding"
From PAWS Lab
(→ER Model and RDF Bindings) |
|||
Line 4: | Line 4: | ||
==ER Model and RDF Bindings== | ==ER Model and RDF Bindings== | ||
+ | |||
+ | ===Quick Example=== | ||
+ | <pre> | ||
+ | <?xml version="1.0" encoding="utf-8"?> | ||
+ | <rdf:RDF | ||
+ | xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | ||
+ | xmlns="http://purl.org/rss/1.0/" | ||
+ | > | ||
+ | <channel rdf:about="http://adapt2.sis.pitt.edu/kt/rest/ktree3509"> | ||
+ | <title rdf:parseType='Literal'>KnowledgeTree:: IS 1022/2710 Database Management</title> | ||
+ | <link>http://adapt2.sis.pitt.edu/kt/content/Show?id=3509</link> | ||
+ | <image rdf:resource="http://adapt2.sis.pitt.edu/kt/assets/knowledgetree_rss_image.gif" /> | ||
+ | <items> | ||
+ | <rdf:Seq> | ||
+ | <rdf:li rdf:resource="http://adapt2.sis.pitt.edu/kt/rest/ktree4014"/> | ||
+ | |||
+ | <rdf:li rdf:resource="http://adapt2.sis.pitt.edu/kt/rest/ktree3521"/> | ||
+ | <rdf:li rdf:resource="http://adapt2.sis.pitt.edu/kt/rest/ktree3522"/> | ||
+ | |||
+ | </pre> | ||
+ | |||
<!--<span style="color:silver;">Silver</span> color - deprecated.--> | <!--<span style="color:silver;">Silver</span> color - deprecated.--> | ||
* '''<span id='Node'>Node</span>''' - [[rss#channel|rss:channel]] or [[rss#item|rss:item]] depending on context, alternatively [[dcmitypes#Collection|dcmitypes:Collection]] when a folder | * '''<span id='Node'>Node</span>''' - [[rss#channel|rss:channel]] or [[rss#item|rss:item]] depending on context, alternatively [[dcmitypes#Collection|dcmitypes:Collection]] when a folder |
Revision as of 20:52, 17 February 2009
This page is under construction and requires cleaning |
This page describes RDF binding of Knowledge Tree data model.
ER Model and RDF Bindings
Quick Example
<?xml version="1.0" encoding="utf-8"?> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" > <channel rdf:about="http://adapt2.sis.pitt.edu/kt/rest/ktree3509"> <title rdf:parseType='Literal'>KnowledgeTree:: IS 1022/2710 Database Management</title> <link>http://adapt2.sis.pitt.edu/kt/content/Show?id=3509</link> <image rdf:resource="http://adapt2.sis.pitt.edu/kt/assets/knowledgetree_rss_image.gif" /> <items> <rdf:Seq> <rdf:li rdf:resource="http://adapt2.sis.pitt.edu/kt/rest/ktree4014"/> <rdf:li rdf:resource="http://adapt2.sis.pitt.edu/kt/rest/ktree3521"/> <rdf:li rdf:resource="http://adapt2.sis.pitt.edu/kt/rest/ktree3522"/>
- Node - rss:channel or rss:item depending on context, alternatively dcmitypes:Collection when a folder
- Node.hasChildNode - rss:items
- Node.hasParentNode
- Node.{ordered list of subordinates} - via rdf:Seq subordinate of the rss:items
- Node.{weight of subordinates}
- Node.hasCreator - dc:creator
- Node.creationDate - dc:created
- Node.modificationDate - dc:modified
- Node.nodeTitle - rss:item.title
- Node.nodeDescription - rss:item.description
- Node.hasNodeType - refine dcmitypes?
- Node.hasURL - rss:item.link
- Node.hasURI - implicitly via rdf:about→rss:item
- Node.hasIcon
- Node.isFolder - rss:channel and/or dcmitypes:Collection
- User - foaf:Person
- Group - group is a special kind of User entity - foaf:Group
- User.hasMember - applicable to Group only - foaf:hasMember
- User.isMemberOf - applicable to User only - as inverse of foaf:hasMember
- User.hasURI - rdf:about
- User.hasLogin - foaf:holdsAccount→foaf:OnlineAccount→foaf:accountName
- User.hasName - foaf:name
- User.hasPass - unavailable via RDF serialization
- User.isGroup - via foaf:Group
- User.hasEmail - SHA1-encoded - foaf:mbox_sha1sum
- User.hasOrganization
- User.hasCity
- User.hasCountry
- User.hasNote
- Right
- hasTargetAgent
- hasRightType
- hasParentNodeType
- hasChildNodeType
- hasSubtreeNode
- hasQuantity
- hasDescription
- hasOwnerFlag
- ItemType - arguably doesn't need RDF serialization
- itemtypeTitle
- itemtypeDescription
- itemtypeType
- itemtypeURL
- itemtypeIcon
- itemtypeClassName
- itemtypeURLSufix
- RightType - arguably doesn't need RDF serialization
- righttypeTitle
- righttypeDescription