Nikunau
Upcoming SlideShare
Loading in...5
×
 

Nikunau

on

  • 303 views

 

Statistics

Views

Total Views
303
Views on SlideShare
303
Embed Views
0

Actions

Likes
0
Downloads
1
Comments
0

0 Embeds 0

No embeds

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Nikunau Nikunau Presentation Transcript

    • How  to  “SPARQL”  Topic  Maps?   Query   Topic  Map   Result   HTML,   XML,   JSON   PREFIX  rdfs:  <hDp://www.w3.org/2000/01/rdf-­‐schema#>     PREFIX  tmdm:  <hDp://psi.topicmaps.org/iso13250/model/>       SELECT  DISTINCT  ?About  ?see   WHERE  {              ?x  a  ?type  .              ?type  tmdm:topic-­‐name  ?About  .              ?type  rdfs:seeAlso  ?see    .                            }       ORDER  BY  ?About    
    • Components  of  a  Query   PREFIX  rdfs:  <hGp://www.w3.org/2000/01/rdf-­‐schema#>     Shortcuts  (op5onal)   PREFIX  tmdm:  <hGp://psi.topicmaps.org/iso13250/model/>       SELECT  DISTINCT  ?About  ?see   Select  variables   WHERE  {              ?x  a  ?type  .              ?type  tmdm:topic-­‐name  ?About  .   What  interests  you?              ?type  rdfs:seeAlso  ?see    .              }   ORDER  BY  ?About     Solu5on  modifier  (op5onal)  
    • Components  of  a  Query   PREFIX  rdfs:  <hGp://www.w3.org/2000/01/rdf-­‐schema#>     Shortcuts  (op5onal)   PREFIX  tmdm:  <hGp://psi.topicmaps.org/iso13250/model/>       CONSTRUCT    {  ?x  rdfs:seeAlso  ?see  .  }   Construct  result   WHERE  {              ?x  a  ?type  .              ?type  tmdm:topic-­‐name  ?About  .   What  interests  you?              ?type  rdfs:seeAlso  ?see    .              }  
    • General  paGern  SUBJECT  PREDICATE  OBJECT  .   Find  all  topics  ?x  and  their  ?type  .     For  all  ?types  find  their  topic-­‐name  ?About  .   For  all  ?types  find  where  you  can  ?see  them  .              ?x  a  ?type  .              ?type  tmdm:topic-­‐name  ?About  .              ?type  rdfs:seeAlso  ?see    .  
    • General  paGern  SUBJECT  PREDICATE  OBJECT  .   Find  all  topics  ?x  and  their  ?type  .     For  all  ?types  find  their  topic-­‐name  ?About  .   For  all  ?types  find  where  you  can  ?see  them  .   SELECT  ?About            ?see   Query   City                        hGp://example.com/wiki/City   Result   Kingdom      hGp://example.com/wiki/Kingdom    
    • Using  SPARQL  to  configure  RDF  EXPORT   Find  all  topics  ?x  and  their  ?type  .     For  all  ?types  find  their  topic-­‐name  ?About  .   For  all  ?types  find  where  you  can  ?see  them  .   CONSTRUCT  {  ?x                    rdfs:seeAlso                      ?see  .  }   Query   <hDp://paris.com>                rdfs:seeAlso      <hDp://example.com/wiki/City>  .   <hDp://denmark.com>  rdfs:seeAlso      <hDp://example.com/wiki/Kingdom>  .   Result  
    • Rules  of  thumb  to  make  your  Topic  Maps     fly  as  Linked  Open  Data    Use  Locators  that  yield  machine  readable  informabon  when  dereferenced.      Reuse  exisbng  vocabularies  whenever  possible.      In  case  you  have  to  come  up  with  your  own  vocabulary:        publish  its  meaning,      in  a  machine-­‐readable  way,      at  a  place  where  it  can  be  found  by  a  machine.       hDp://maiana.topicmapslab.de   hDp://code.google.com/p/sesametm                Arnim  Bleier  (bleier@informabk.uni-­‐leipzig.de)