Knowledge Tree RDF Binding
From PAWS Lab
This page is under construction and requires cleaning |
This page describes RDF binding of Knowledge Tree data model as part of ADAPT2 RDF Binding initiative.
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> <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"/> </rdf:Seq> </items> </channel> <item rdf:about="http://adapt2.sis.pitt.edu/kt/rest/ktree4014"> <rdf:value rdf:datatype='http://www.w3.org/2001/XMLSchema#double'>1.0</rdf:value> <title rdf:parseType='Literal'>QuizGuide - Adaptive Quizzes</title> <link>http://adapt2.sis.pitt.edu/kt/content/Show?id=4014</link> </item> <item rdf:about="http://adapt2.sis.pitt.edu/kt/rest/ktree3521"> <rdf:value rdf:datatype='http://www.w3.org/2001/XMLSchema#double'>1.0</rdf:value> <title rdf:parseType='Literal'>Table Creation</title> <link>http://adapt2.sis.pitt.edu/kt/content/Show?id=3521</link> <rdf:type rdf:resource='http://purl.org/dc/dcmitype/Collection'/> </item> <item rdf:about="http://adapt2.sis.pitt.edu/kt/rest/ktree3522"> <rdf:value rdf:datatype='http://www.w3.org/2001/XMLSchema#double'>1.0</rdf:value> <title rdf:parseType='Literal'>Table Deletion and Alteration</title> <link>http://adapt2.sis.pitt.edu/kt/content/Show?id=3522</link> <rdf:type rdf:resource='http://purl.org/dc/dcmitype/Collection'/> </item> </rdf:RDF>
- Node - rss:channel or rss:item depending on context, in addition dcmitypes:Collection when a folder Done
- Node.hasChildNode - rss:items Done
- Node.hasParentNode
- Node.{ordered list of subordinates} - via rdf:Seq subordinate of the rss:items Done
- Node.{weight of subordinates}
- Node.hasCreator - dc:creator
- Node.creationDate - dc:created
- Node.modificationDate - dc:modified
- Node.nodeTitle - rss:item.title Done
- Node.nodeDescription - rss:item.description
- Node.hasNodeType - refine dcmitypes?
- Node.hasURL - rss:item.link Done
- Node.hasURI - implicitly via rdf:about→rss:item Done
- Node.hasIcon
- Node.isFolder - rss:channel and dcmitypes:Collection Done
- User - foaf:Person Done
- User.isMemberOf - applicable to User only - as inverse of foaf:hasMember Done
- User.hasURI - rdf:about Done
- User.hasLogin - foaf:holdsAccount→foaf:OnlineAccount→ foaf:accountName Done
- User.hasName - foaf:name Done
- User.hasPass - not to make available via RDF serialization Not
- User.isGroup - via foaf:Group Done
- User.hasEmail - SHA1-encoded - foaf:mbox_sha1sum
- User.hasOrganization
- User.hasCity
- User.hasCountry
- User.hasNote
- User.hasMember - applicable to Group users only - foaf:hasMember Done
- Group - group is a special kind of User entity - foaf:Group Done
- 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