Difference between revisions of "Knowledge Tree RDF Binding"

From PAWS Lab
Jump to: navigation, search
(New page: This page describes RDF binding of Knowledge Tree data model. ==ER Model and RDF Bindings== <!--<span style="color:silver;">Silver</span> color - deprecated.--> * '''<span id='Node'>...)
 
(ER Model and RDF Bindings)
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
This page describes RDF binding of [[Knowledge Tree]] data model.  
+
{{ambox|type=clean | text=''This page is under construction and requires cleaning''}}
 +
 
 +
This page describes [http://en.wikipedia.org/wiki/Resource_Description_Framework RDF] binding of [[Knowledge Tree]] data model as part of [[ADAPT2 RDF Binding]] initiative.  
  
 
==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>
 +
<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>
 +
</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, in addition [[dcmitypes#Collection|dcmitypes:Collection]] when a folder <span style='color:white;background-color:green;padding:2px;'>Done</span>
** <span id='Node.hasChildNode'>Node.hasChildNode</span> - [[rss#items|rss:items]]
+
** <span id='Node.hasChildNode'>Node.hasChildNode</span> - [[rss#items|rss:items]] <span style='color:white;background-color:green;padding:2px;'>Done</span>
 
** <span id='Node.hasParentNode'>Node.hasParentNode</span>
 
** <span id='Node.hasParentNode'>Node.hasParentNode</span>
** <span id='Node.{ordered list of subordinates}'>Node.{ordered list of subordinates}</span> - via [[rdf#Seq|rdf:Seq]] subordinate of the [[rss#items|rss:items]]
+
** <span id='Node.{ordered list of subordinates}'>Node.{ordered list of subordinates}</span> - via [[rdf#Seq|rdf:Seq]] subordinate of the [[rss#items|rss:items]] <span style='color:white;background-color:green;padding:2px;'>Done</span>
 
** <span id='Node.{weight of subordinate}'>Node.{weight of subordinates}</span>
 
** <span id='Node.{weight of subordinate}'>Node.{weight of subordinates}</span>
 
** <span id='Node.hasCreator'>Node.hasCreator</span> - [[dc#creator|dc:creator]]
 
** <span id='Node.hasCreator'>Node.hasCreator</span> - [[dc#creator|dc:creator]]
 
** <span id='Node.creationDate'>Node.creationDate</span> - [[dcterms#created|dc:created]]
 
** <span id='Node.creationDate'>Node.creationDate</span> - [[dcterms#created|dc:created]]
 
** <span id='Node.modificationDate'>Node.modificationDate</span> - [[dcterms#modified|dc:modified]]
 
** <span id='Node.modificationDate'>Node.modificationDate</span> - [[dcterms#modified|dc:modified]]
** <span id='Node.nodeTitle'>Node.nodeTitle</span> - [[rss#item.title|rss:item.title]]
+
** <span id='Node.nodeTitle'>Node.nodeTitle</span> - [[rss#item.title|rss:item.title]] <span style='color:white;background-color:green;padding:2px;'>Done</span>
 
** <span id='Node.nodeDescription'>Node.nodeDescription</span> - [[rss#item.description|rss:item.description]]
 
** <span id='Node.nodeDescription'>Node.nodeDescription</span> - [[rss#item.description|rss:item.description]]
 
<!--** <span style="color:silver;" id='Node.hasExternalResource'>Node.hasExternalResource</span>-->
 
<!--** <span style="color:silver;" id='Node.hasExternalResource'>Node.hasExternalResource</span>-->
 
** <span id='Node.hasNodeType'>Node.hasNodeType</span> - refine dcmitypes?
 
** <span id='Node.hasNodeType'>Node.hasNodeType</span> - refine dcmitypes?
** <span id='Node.hasURL'>Node.hasURL</span> - [[rss#item.link|rss:item.link]]
+
** <span id='Node.hasURL'>Node.hasURL</span> - [[rss#item.link|rss:item.link]] <span style='color:white;background-color:green;padding:2px;'>Done</span>
** <span id='Node.hasURI'>Node.hasURI</span> - implicitly via [[rdf#about|rdf:about]]&rarr;[[rss#item|rss:item]]
+
** <span id='Node.hasURI'>Node.hasURI</span> - implicitly via [[rdf#about|rdf:about]]&rarr;[[rss#item|rss:item]] <span style='color:white;background-color:green;padding:2px;'>Done</span>
 
** <span id='Node.hasIcon'>Node.hasIcon</span>
 
** <span id='Node.hasIcon'>Node.hasIcon</span>
** <span id='Node.isFolder'>Node.isFolder</span> - [[rss#channel|rss:channel]] and/or [[dcmitypes#Collection|dcmitypes:Collection]]
+
** <span id='Node.isFolder'>Node.isFolder</span> - [[rss#channel|rss:channel]] and [[dcmitypes#Collection|dcmitypes:Collection]] <span style='color:white;background-color:green;padding:2px;'>Done</span>
* '''<span id='User'>User</span>''' - [[foaf#Person|foaf:Person]]
+
* '''<span id='User'>User</span>''' - [[foaf#Person|foaf:Person]] <span style='color:white;background-color:green;padding:2px;'>Done</span>
* '''<span id='Group'>Group</span>''' - group is a special kind of User entity - [[foaf#Group|foaf:Group]]
+
** <span id='User.isMemberOf'>User.isMemberOf</span> - applicable to User only - as inverse of [[foaf#hasMember|foaf:hasMember]] <span style='color:white;background-color:green;padding:2px;'>Done</span>
** <span id='User.hasMember'>User.hasMember</span> - applicable to Group only - [[foaf#hasMember|foaf:hasMember]]
+
** <span id='User.hasURI'>User.hasURI</span> - [[rdf#about|rdf:about]] <span style='color:white;background-color:green;padding:2px;'>Done</span>
** <span id='User.isMemberOf'>User.isMemberOf</span> - applicable to User only - as inverse of [[foaf#hasMember|foaf:hasMember]]
+
** <span id='User.hasLogin'>User.hasLogin</span> - [[foaf#holdsAccount|foaf:holdsAccount]]&rarr;'''[[foaf#OnlineAccount|foaf:OnlineAccount]]'''&rarr; [[foaf#accountName|foaf:accountName]] <span style='color:white;background-color:green;padding:2px;'>Done</span>
** <span id='User.hasURI'>User.hasURI</span> - [[rdf#about|rdf:about]]
+
** <span id='User.hasName'>User.hasName</span> - [[foaf#name|foaf:name]] <span style='color:white;background-color:green;padding:2px;'>Done</span>
** <span id='User.hasLogin'>User.hasLogin</span> - [[foaf#holdsAccount|foaf:holdsAccount]]&rarr;'''[[foaf#OnlineAccount|foaf:OnlineAccount]]'''&rarr;[[foaf#accountName|foaf:accountName]]
+
** <span id='User.hasPass'>User.hasPass</span> - not to make available via RDF serialization <span style='color:white;background-color:red;padding:2px;'>Not</span>
** <span id='User.hasName'>User.hasName</span> - [[foaf#name|foaf:name]]
+
** <span id='User.isGroup'>User.isGroup</span> - via [[foaf#Group|foaf:Group]] <span style='color:white;background-color:green;padding:2px;'>Done</span>
** <span id='User.hasPass'>User.hasPass</span> - unavailable via RDF serialization
 
** <span id='User.isGroup'>User.isGroup</span> - via [[foaf#Group|foaf:Group]]
 
 
** <span id='User.hasEmail'>User.hasEmail</span> - SHA1-encoded - [[foaf#mbox_sha1sum|foaf:mbox_sha1sum]]
 
** <span id='User.hasEmail'>User.hasEmail</span> - SHA1-encoded - [[foaf#mbox_sha1sum|foaf:mbox_sha1sum]]
 
** <span id='User.hasOrganization'>User.hasOrganization</span>
 
** <span id='User.hasOrganization'>User.hasOrganization</span>
Line 33: Line 74:
 
** <span id='User.hasCountry'>User.hasCountry</span>
 
** <span id='User.hasCountry'>User.hasCountry</span>
 
** <span id='User.hasNote'>User.hasNote</span>
 
** <span id='User.hasNote'>User.hasNote</span>
 +
** <span id='User.hasMember'>User.hasMember</span> - applicable to Group users only - [[foaf#hasMember|foaf:hasMember]] <span style='color:white;background-color:green;padding:2px;'>Done</span>
 +
* '''<span id='Group'>Group</span>''' - group is a special kind of User entity - [[foaf#Group|foaf:Group]] <span style='color:white;background-color:green;padding:2px;'>Done</span>
 
* '''<span id='Right'>Right</span>'''
 
* '''<span id='Right'>Right</span>'''
 
** <span id='hasTargetAgent'>hasTargetAgent</span>
 
** <span id='hasTargetAgent'>hasTargetAgent</span>
Line 79: Line 122:
 
** <span style="color:silver;" id='creationDate'>creationDate</span> - [[dcterms#created|dc:created]]
 
** <span style="color:silver;" id='creationDate'>creationDate</span> - [[dcterms#created|dc:created]]
 
** <span style="color:silver;" id='modificationDate'>modificationDate</span> - [[dcterms#modified|dc:modified]] -->
 
** <span style="color:silver;" id='modificationDate'>modificationDate</span> - [[dcterms#modified|dc:modified]] -->
 +
 +
== See also ==
 +
* [[Knowledge Tree]]
 +
* [[ADAPT2 RDF Binding]]

Latest revision as of 19:49, 19 May 2009

Ambox style.png

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>

See also