Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
SPARQL
NHN          TF
kwangsub.kim@gmail.com




               VoCamp Seoul 2009. 05. 29
RDF
SPARQL
 Play
RDF
RDF
RDF
RDF
RDF
RDF
RDF




               '(')*           Semantic Web
      !quot;#$%&
                +,-./'*

                /,'0quot;1  ...
SPARQL
SPARQL
$%&'
_:a          !quot;#
$%&'
_:a          !quot;#
$%&'
_:a          !quot;#
$%&'
_:a          !quot;#
$%&'
_:a          !quot;#
Homework
                                                  !quot;#$%quot;                                                 ...
SPARQL Example
Terms

Sytax

Pattern
Terms

IRI : URI reference within an RDF graph




datatype IRI : datatype URI
Terms

Plain Literal : lexical form, optionally language tag, @ko


Typed Literal : lexical form, datatype URI




Blank n...
Terms

NameSpace :Vocabulary       URI




Prefix : URI
Terms

RDF Graph : A Set of RDF Triples
RDF Triple : S-P-O
      Subject : IRI or Blank Node
      Predicate : IRI
      O...
Terms

Match
 : Graph   SPO         Query Pattern     Match
                           $%&'
                 _:a          ...
Terms

Match
 : Graph   SPO         Query Pattern     Match
                           $%&'
                 _:a          ...
Simple Query
Simple Query
Syntax - RDF Term Syntax
Syntax - RDF Term Syntax
Syntax - RDF Term Syntax
Syntax -Triple Pattern Syntax
Syntax ; ,




 ==




  ==
Pattern
Basic Graph Pattern



Group Graph Pattern




 Filter
Pattern
Optional Graph Pattern
Pattern
Optional Graph Pattern + FILTER




Alternative Graph Pattern
Constraint
String Value Constraint




Numeric Value Constraint
Solution Sequences and Modifiers
Order




        (asc   )
Solution Sequences and Modifiers
Projection




Distinct
Solution Sequences and Modifiers
Offset




LIMIT
Query Form
SELECT




CONSTRUCT //
Query Form
ASK




DESCRIBE
Let’s Play
                                                  !quot;#$%quot;                                               ...
Homeworks




 
http://delicious.com/kwangsub.kim/%23VoCampSeoul2009

http://groups.google.com/group/semanticwebstudy?hl=ko
.
VoCamp Seoul2009 Sparql
VoCamp Seoul2009 Sparql
Upcoming SlideShare
Loading in …5
×

VoCamp Seoul2009 Sparql

829 views

Published on

VoCamp Seoul 2009 - Sparql
speaker - kwangsub kim
kwangsub.kim@gmail.com

Published in: Technology
  • Be the first to comment

  • Be the first to like this

VoCamp Seoul2009 Sparql

  1. 1. SPARQL NHN TF kwangsub.kim@gmail.com VoCamp Seoul 2009. 05. 29
  2. 2. RDF SPARQL Play
  3. 3. RDF
  4. 4. RDF
  5. 5. RDF
  6. 6. RDF
  7. 7. RDF
  8. 8. RDF
  9. 9. RDF '(')* Semantic Web !quot;#$%& +,-./'* /,'0quot;1 Kwangsub 2009. 05. 29
  10. 10. SPARQL
  11. 11. SPARQL
  12. 12. $%&' _:a !quot;#
  13. 13. $%&' _:a !quot;#
  14. 14. $%&' _:a !quot;#
  15. 15. $%&' _:a !quot;#
  16. 16. $%&' _:a !quot;#
  17. 17. Homework !quot;#$%quot; @#2+8-#* IH GH &AB 89$quot; )#*+,-./-01,0+-%.2#0 +,quot; 89$quot; *+0quot; 89$quot; &34 89$quot; quot;0+-% +,quot; *+0quot; /*#5) 89$quot; +::;quot;)) *+0quot; quot;0+-% CD /5+*,)67./-01,0+-%.2#0 /*#5) +::;quot;)) -*8quot;;quot;)8 +::;quot;)) *+0quot; <=>? -*8quot;;quot;)8 *+0quot; &'( Equot;0+*8-2!Fquot;7 +,quot; quot;0+-% )#*+,-./-01,0+-%.2#0 JJH
  18. 18. SPARQL Example
  19. 19. Terms Sytax Pattern
  20. 20. Terms IRI : URI reference within an RDF graph datatype IRI : datatype URI
  21. 21. Terms Plain Literal : lexical form, optionally language tag, @ko Typed Literal : lexical form, datatype URI Blank node : dummy node, node ,
  22. 22. Terms NameSpace :Vocabulary URI Prefix : URI
  23. 23. Terms RDF Graph : A Set of RDF Triples RDF Triple : S-P-O Subject : IRI or Blank Node Predicate : IRI Object : IRI or Blank Node or Literal
  24. 24. Terms Match : Graph SPO Query Pattern Match $%&' _:a !quot;# Solutions : Match Query Variable : Solutions
  25. 25. Terms Match : Graph SPO Query Pattern Match $%&' _:a !quot;# Solutions : Match Query Variable : Solutions
  26. 26. Simple Query
  27. 27. Simple Query
  28. 28. Syntax - RDF Term Syntax
  29. 29. Syntax - RDF Term Syntax
  30. 30. Syntax - RDF Term Syntax
  31. 31. Syntax -Triple Pattern Syntax
  32. 32. Syntax ; , == ==
  33. 33. Pattern Basic Graph Pattern Group Graph Pattern Filter
  34. 34. Pattern Optional Graph Pattern
  35. 35. Pattern Optional Graph Pattern + FILTER Alternative Graph Pattern
  36. 36. Constraint String Value Constraint Numeric Value Constraint
  37. 37. Solution Sequences and Modifiers Order (asc )
  38. 38. Solution Sequences and Modifiers Projection Distinct
  39. 39. Solution Sequences and Modifiers Offset LIMIT
  40. 40. Query Form SELECT CONSTRUCT //
  41. 41. Query Form ASK DESCRIBE
  42. 42. Let’s Play !quot;#$%quot; @#2+8-#* IH GH &AB 89$quot; )#*+,-./-01,0+-%.2#0 +,quot; 89$quot; *+0quot; 89$quot; &34 89$quot; quot;0+-% +,quot; *+0quot; /*#5) 89$quot; +::;quot;)) *+0quot; quot;0+-% CD /5+*,)67./-01,0+-%.2#0 /*#5) +::;quot;)) -*8quot;;quot;)8 +::;quot;)) *+0quot; <=>? -*8quot;;quot;)8 *+0quot; &'( Equot;0+*8-2!Fquot;7 +,quot; quot;0+-% )#*+,-./-01,0+-%.2#0 JJH
  43. 43. Homeworks  
  44. 44. http://delicious.com/kwangsub.kim/%23VoCampSeoul2009 http://groups.google.com/group/semanticwebstudy?hl=ko
  45. 45. .

×