Policy Testbed Tutorial
From TAMI
Contents |
Background
facts about wiki
- A Wiki is a well-known platform for collaborative knowledge management.
- The Wiki allows users to encode data, data process logs, and policy in individual wiki articles
- The Wiki allows users to link pages and browse by hyperlink surfing in both way
facts about semantic wiki
- Semantic Wiki assists users to better organize/access knowledge
- knowledge can be authored in semantic wiki syntax and directly exported as RDF, which is a Semantic Web standard language.
- knowledge can be organized in more structured ways (not just free text) via, for example, semantic forms and semantic templates.
- knowledge can be retrieved by structured semantic queries.
Encoding Data Semantics
For each named entity identified in TAMI scenario, we can create a wiki page to host its metadata. For example,
- a person: Oscar Grace
- a data record: Request 5-1: Motor Vehicle/Vessel Records Request Form
For each TAMI transaction log event, we can
- encode it as an Category:Event, e.g. St. Lucie Police Log Event 5
- group it using Category:Transaction_Log, e.g. St. Lucie Police Log
For laws, we can
- encode each individual law entry as a Category:Policy, e.g. FS_119_01_1
- group it using Category:Law, e.g. a state law: Florida Sunshine Law - Public Records
Linking Data
from page to page: user can use wiki's native feature to list pages linking to the current page, e.g.
Special:WhatLinksHere/Policy Testbed Tutorial
from page to page semantically: semantic wiki allows users to specify the semantics of the hyperlink
Detective Oscar Grace is the Property:Coordinator of the event (see Special:Browse/St._Lucie_Police_Log_Event_5)
use query result to establish link: semantic wiki also allows users to display semantic data to any page via semantic query
a table is generated on St._Lucie_Police_Log by the following semantic query
{{#ask: [[Category:Event]][[log::{{FULLPAGENAME}}]]
|?datetime |?coordinator |?operation |?participant |?input data |?output data |?cause |?cause of
|sort=datetime
}}
from data to policy: user may add links to relevant rules in a log entry using light-weight query
a state law: FS_119_01_1
Real-time Collaborative Semantic Data Editing
user may author free text and/or semantic data on the same wiki page
- the html view: St._Lucie_Police_Log_Event_5
- the semi-semantic web view: Special:Browse/St._Lucie_Police_Log_Event_5
- the semantic web view: Special:ExportRDF/St._Lucie_Police_Log_Event_5
Any updates of a transaction log can be instantaneously exposed to semantic web tools
- data in html: St._Lucie_Police_Log_Event_5
- raw data Special:ExportRDF/St._Lucie_Police_Log_Event_5
- history change history
- browse raw data
Any updates of a policy (encoded in AIR policy language) can be instantaneously exposed to semantic web tools
- data in html FS_119_01_1
- raw data export n3
- history change history
- browse raw data
- use http://dig.csail.mit.edu/TAMI/2008/JustificationUI/howto.html to see the semantic rendering of rules

