====== Differences ====== This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
api4kb_usecases [2012/12/03 08:11] greentara [LegalRuleML Placeholder (Tara)] |
api4kb_usecases [2012/12/08 13:55] rburkhart |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== API4KB Use Cases ====== | ====== API4KB Use Cases ====== | ||
- | This page contains a list of use cases to be supported by the API4KB [[start|Link back to API4KB Main Page]] | ||
- | |||
- | |||
- | |||
- | |||
- | ===== Policy-Based Information Exchange ===== | ||
- | |||
- | The following use case shows what is necessary to maintain security and privacy when someone (or something) requests access to information: | ||
- | |||
- | {{UseCase.policy-based_information_exchange_1.25x.png}} | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | ===== Elisa Placeholder ===== | ||
- | |||
- | The following use case shows somthing that Elisa has in mind: | ||
- | |||
- | {{UseCase.Elisa.png}} | ||
- | |||
- | ===== LegalRuleML Placeholder (Tara) ===== | ||
- | |||
- | Use Case of a Generic Criminal Legal System | ||
- | |||
- | |||
- | with input from (http://en.wikipedia.org/wiki/Italian_Criminal_Procedure#Parties) | ||
- | |||
- | Actors | ||
- | Parties may have agents acting on their behalf, and these agents may be restricted in their access to the KB to some subset of the authority of the Party. | ||
- | |||
- | 1. Judges - may be different depending on stage of proceedings | ||
- | 2. suspect | ||
- | 3. defendant | ||
- | 4. prosecutor | ||
- | 5. police | ||
- | 6. injured party | ||
- | 7. civilly-liable party (to pay damages and/or fines) | ||
- | 8. counsel (lawyers) for suspect/defendant | ||
- | 9. witnesses | ||
- | 10. experts | ||
- | 11. courts | ||
- | 12. jury (not in Italy) | ||
- | 13. legislature | ||
- | |||
- | Actions | ||
- | The particular actions are roughly categorized based on CRUD | ||
- | Create (POST) | ||
- | Read (GET) | ||
- | Update (PUT/PATCH) | ||
- | Delete (DELETE) | ||
- | |||
- | Note that the difference between Create and Update is a function of the modularity of the KB. In a highly modular architecture, a new table/knowledgebase-module may be created when a law is passed, when an investigation is opened, etc.. In a less modular architecture, these actions may be Updates rather than Creates. | ||
- | |||
- | 0. (*CRU) pass, modify and annul *laws* - Legislature | ||
- | 1. (*R) query (including semantic query) to legal KB for details of the legal code - General Public | ||
- | 2. (*CRU) maintain records of investigations - Prosecutor, Judges, Defendant, Counsel, Police | ||
- | 3. (CRU) initiate proceedings - Prosecutor | ||
- | 4. (CRU) call a hearing - Judge | ||
- | 5. (*CRU) file requests (authorization to conduct investigations, such as wire-tapping) - Prosecutor | ||
- | 6. (*CRU) issue an order (e.g. authorizing investigations), *with explanation* - Judge | ||
- | 7. (CRU) appeal an order - Prosecutor, Counsel | ||
- | 8. (RU) drop charges - Prosecutor | ||
- | 9. (CRU) proceed to trial - Judge, Prosecutor | ||
- | 10. (*CRU) file a brief - Counsel | ||
- | 11. (CRU) summon witness or expert - Prosecutor, Counsel | ||
- | 12. (*CRU) provide testimony or expert judgement - Witness, Expert, Defendant, Injured Party | ||
- | 13. (*RU) convict/acquit, *with explanation* - Judge, Jury | ||
- | 14. (*CRU) issue a sentence - Judge | ||
- | 15. (CRU) appeal a conviction - Prosecutor, Counsel | ||
- | 16. (*RU) reverse, amend or quash a decision, *with explanation* - Judge | ||
- | 17. (UD) delete/expunge records - Court | ||
- | 18. (CRU) manage records on payment of penalties, imprisonment, etc - Court | ||
- | |||
- | Those items with * are the services that go beyond the capability of an ordinary database, requiring encoding of natural language texts into a knowledge representation language and performing specialized actions, such as parsing or (semantic) querying, on that encoding. | ||
+ | This page contains a list of use cases to be supported by the API4KB | ||
+ | ([[start|Link back to API4KB Main Page]]) | ||
+ | * [[Policy-Based Information Exchange]] | ||
+ | * [[Elisa Placeholder]] | ||
+ | * [[LegalRuleML]] | ||
+ | * [[Extend basic API layers using a metaobject protocol]] | ||