Aula SWRL

1,601 views

Published on

Aula básica de SWRL (aula prática)

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,601
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
30
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Aula SWRL

    1. 1. swrl Adriano Melo(@adrianomelo)
    2. 2. o que é...Sigla para Semantic Web Rule LanguageBaseada em OWL: as regras são expressas apartir de conceitos de OWL classes propriedades indivíduos literais...
    3. 3. exemplo: hasBrotherPerson(?p) ^ hasSibling(?p, ?s) ^ Man(?s) -> hasBrother(?p, ?s)
    4. 4. exemplo: com instância.. Person(Fred) ^ hasSibling(Fred, ?s) ^ Man(?s) -> hasBrother(Fred, ?s)
    5. 5. exemplo: com literal...Person(Fred) ^ hasSibling(Fred, ?s) ^ Man(?s) ^ hasAge(?s, 40) has40YearOldBrother(Fred, ?s)
    6. 6. exemplo: buit-inhasBrother(?x1,?x2) ^ hasAge(?x1,?age1) ^ hasAge(?x2,?age2) ^swrlb:greaterThan(?age2,?age1) hasOlderBrother(?x1,?x2)
    7. 7. exemplo hasBrother(?x1,?x2) ^ hasAge(?x1,?age1) ^ hasAge(?x2,?age2) ^swrlb:subtract(10,?age2,?age1) hasDecadeOlderBrother(?x1,? x2)
    8. 8. the simpsons!
    9. 9. indivíduos
    10. 10. na prática..baixar a ontologia dos simpsonsbaixar o protégé 4
    11. 11. no protégé...criar nova aba
    12. 12. no protégé...adicionar umaview “Rules” naaba criada
    13. 13. como criar regras...
    14. 14. exercíciodefinir propriedades temIrmão, temIrmã,temNeto, temNetadefinir classes Tio e Tia
    15. 15. referênciashttp://protege.cim3.net/cgi-bin/wiki.pl?SWRLLanguageFAQhttp://protegewiki.stanford.edu/wiki/SWRLTab

    ×