SlideShare a Scribd company logo
Ontologias
      Sérgio Santos
  Inteligência Artificial
    Novembro 2009
                            1
<rdf:RDF
       xmlns:rdf="http://www.w3.org/TR/WD-rdf-syntax#"
       xmlns="http://dei.uc.pt/works-syntax">

      <rdf:Description about="http://dei.uc.pt/works#1337"/>

      <Title>




     Ontologias
      </Title>


                       Sérgio Santos </Author>
                <Author>

         <Subject> Inteligência Artificial </Subject>

        <PublishDate> Novembro 2009 </PublishDate>
</rdf:RDF>
                                                               2
3
Como representar
 conhecimento?

                   4
<?xml version="1.0" encoding="utf-8" ?>
<university name="Universidade de Coimbra" id="504">
  <students>
     <student name="Sérgio Santos" id="2006125508">
       <address>Espinheiro, Penela</address>
       <course id="123">
           Mestrado em Engenharia Informática
       </course>
     </student>
     ...
  </students>
</university>
                                                       5
university

     student    student     student

address    course


                                      6
[…]
xmlns:uc="http://uc.pt/syntax#"
[…]
<rdf:Description about="http://uc.pt">
  <uc:name>Universidade de Coimbra</uc:name>
</rdf:Description>


<rdf:Description about="http://dei.uc.pt/~sdsantos">
  <uc:name>Sérgio Santos</uc:name>
  <uc:num>2006125508</uc:num>
  <uc:attendsCourse rdf:resource="http://dei.uc.pt/~MEI" />
  <uc:attendsUniversity rdf:resource="http://uc.pt" />
</rdf:Description>
                                                              7
http://dei.uc.pt/~sdsantos

                     student

attendsUniversity                 attendsCourse




       university                  course

      http://uc.pt          http://dei.uc.pt/~MEI



                                                    8
http://uc.pt/syntax


<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">


   <rdfs:Class rdf:ID="student"/>
   <rdfs:Class rdf:ID="university"/>
   <rdfs:Class rdf:ID="course"/>


</rdf:RDF>




                                                                   9
[…]
xmlns="http://uc.pt/syntax#"
[…]
<university rdf:id="UC">
  <name>Universidade de Coimbra</name>
</university>


<student rdf:id="sdsantos">
  <name>Sérgio Santos</name>
  <num>2006125508</num>
  <attendsCourse rdf:resource="#MEI" />
  <attendsUniversity rdf:resource="#UC" />
</student>
                                             10
•
•
•
    •
    •
    •


        11
<owl:Ontology rdf:about="">
   <rdfs:comment>Example ontology.</rdfs:comment>
</owl:Ontology>


<owl:Class rdf:ID="Person">
  <rdfs:subClassOf rdf:resource="http://www.w3.org/2002/07/owl#Thing"/>
</owl:Class>


<owl:Class rdf:ID="Student">
  <rdfs:subClassOf rdf:resource="#Person"/>
</owl:Class>


                                                                          12
13
14
•
    •
    •


•


•


        15
16
17
•

•

•


•




    18
•


•


•


    19
Trabalhar com
  ontologias

                20
1. Determinar o domínio e abrangência da ontologia
2. Considerar a reutilização de ontologias existentes
3. Enumerar os termos importantes na ontologia
4. Definir as classes e a sua hierarquia
5. Definir as propriedades das classes
6. Definir os tipos de propriedades
7. Criar os indivíduos


                                                        21
•
    •
    •



•
    •
    •




        22
•

•



•

•



    23
•

•

•

•

•



    24
•


•




•

    25
String   personURI =    "http://somewhere/JohnSmith";
String   givenName =    "John";
String   familyName =   "Smith";
String   fullName =     givenName + " " + familyName;

Model model = ModelFactory.createDefaultModel();

Resource johnSmith = model.createResource(personURI)
     .addProperty(VCARD.FN, fullName)
     .addProperty(VCARD.N, model.createResource()
           .addProperty(VCARD.Given, givenName)
           .addProperty(VCARD.Family, familyName));



                                                        26
public class SomeClientAgent extends Agent
                            implements SomeVocabulary
{

   private Codec codec = new SLCodec();
   private Ontology ontology = SomeOntology.getInstance();

   protected void setup() {

         // Register language and ontology
         getContentManager().registerLanguage(codec);
         getContentManager().registerOntology(ontology);
         ...
   }

   ...
                                                             27
•
•
•
•


    28
PREFIX uc: <http://uc.pt/syntax#>
SELECT ?aluno
FROM <studentsDB.rdf>
WHERE {
    ?aluno uc:attendsUniversity "#UC" .
    ?aluno uc:attendsCourse "#MEI" .
}



                                          29
•


•
    •
    •

    •




        30
Knowledge
 Portals

            31
•


•


•


•



    32
•
    •
    •
    •




•


•


        33
•




•




    34
•


    •
    •


•




        35
•
    •
    •
    •


•
    •
    •
    •


        36
^
Referencias

              37
•

•

•


•

•


•


•


    38

More Related Content

Viewers also liked

Se no.5792 c ku 2010
Se no.5792 c ku 2010Se no.5792 c ku 2010
Se no.5792 c ku 2010
Nandang Sukmara
 
Preduzetnistvo na tri kontinenta
Preduzetnistvo na tri kontinentaPreduzetnistvo na tri kontinenta
Preduzetnistvo na tri kontinenta
Milena Milicevic
 
"Cultura mundo e medo" - fragmento para Resumo
"Cultura mundo e medo" - fragmento para Resumo"Cultura mundo e medo" - fragmento para Resumo
"Cultura mundo e medo" - fragmento para Resumo
Gedalias .
 
Slide - Equipe Albert Graham
Slide - Equipe Albert GrahamSlide - Equipe Albert Graham
Slide - Equipe Albert Graham
Albert Graham
 
Презентація М.Золотухіна " ЯК ВИНЕСТИ Е-УРЯДУВАННЯ ТА Е-ДЕМОКРАТІЮ НА ПОРЯДО...
Презентація М.Золотухіна " ЯК ВИНЕСТИ Е-УРЯДУВАННЯ  ТА Е-ДЕМОКРАТІЮ НА ПОРЯДО...Презентація М.Золотухіна " ЯК ВИНЕСТИ Е-УРЯДУВАННЯ  ТА Е-ДЕМОКРАТІЮ НА ПОРЯДО...
Презентація М.Золотухіна " ЯК ВИНЕСТИ Е-УРЯДУВАННЯ ТА Е-ДЕМОКРАТІЮ НА ПОРЯДО...
Olena Ursu
 
75 em jesus tens a palma da vitória
75   em jesus tens a palma da vitória75   em jesus tens a palma da vitória
75 em jesus tens a palma da vitóriaMylena Vasconcelos
 
04 p erda no 4 th 2004 ttg penyelenggaraan sistem pendidikan mod 4
04 p erda no 4 th 2004 ttg penyelenggaraan sistem pendidikan mod 404 p erda no 4 th 2004 ttg penyelenggaraan sistem pendidikan mod 4
04 p erda no 4 th 2004 ttg penyelenggaraan sistem pendidikan mod 4
Nandang Sukmara
 
KPI และ CSF - KPI and CSF
KPI และ CSF - KPI and CSFKPI และ CSF - KPI and CSF
KPI และ CSF - KPI and CSF
maruay songtanin
 
LIAISON OFFICER CERTIFICATE
LIAISON OFFICER CERTIFICATELIAISON OFFICER CERTIFICATE
LIAISON OFFICER CERTIFICATEDebby Kurnia
 
Plano de ações para 2015
Plano de ações para 2015Plano de ações para 2015
Plano de ações para 2015
Prefeitura de Sombrio
 
No2
No2No2
Сумма технологий: +5 к скорости разработки
Сумма технологий: +5 к скорости разработкиСумма технологий: +5 к скорости разработки
Сумма технологий: +5 к скорости разработки
Astra Media Group, Russia
 
Procedimentos argumentativos
Procedimentos argumentativosProcedimentos argumentativos
Procedimentos argumentativos
Gedalias .
 

Viewers also liked (18)

Se no.5792 c ku 2010
Se no.5792 c ku 2010Se no.5792 c ku 2010
Se no.5792 c ku 2010
 
Cerebro
CerebroCerebro
Cerebro
 
184 meu jesus, meu jesus
184   meu jesus, meu jesus184   meu jesus, meu jesus
184 meu jesus, meu jesus
 
Preduzetnistvo na tri kontinenta
Preduzetnistvo na tri kontinentaPreduzetnistvo na tri kontinenta
Preduzetnistvo na tri kontinenta
 
"Cultura mundo e medo" - fragmento para Resumo
"Cultura mundo e medo" - fragmento para Resumo"Cultura mundo e medo" - fragmento para Resumo
"Cultura mundo e medo" - fragmento para Resumo
 
Slide - Equipe Albert Graham
Slide - Equipe Albert GrahamSlide - Equipe Albert Graham
Slide - Equipe Albert Graham
 
Презентація М.Золотухіна " ЯК ВИНЕСТИ Е-УРЯДУВАННЯ ТА Е-ДЕМОКРАТІЮ НА ПОРЯДО...
Презентація М.Золотухіна " ЯК ВИНЕСТИ Е-УРЯДУВАННЯ  ТА Е-ДЕМОКРАТІЮ НА ПОРЯДО...Презентація М.Золотухіна " ЯК ВИНЕСТИ Е-УРЯДУВАННЯ  ТА Е-ДЕМОКРАТІЮ НА ПОРЯДО...
Презентація М.Золотухіна " ЯК ВИНЕСТИ Е-УРЯДУВАННЯ ТА Е-ДЕМОКРАТІЮ НА ПОРЯДО...
 
75 em jesus tens a palma da vitória
75   em jesus tens a palma da vitória75   em jesus tens a palma da vitória
75 em jesus tens a palma da vitória
 
04 p erda no 4 th 2004 ttg penyelenggaraan sistem pendidikan mod 4
04 p erda no 4 th 2004 ttg penyelenggaraan sistem pendidikan mod 404 p erda no 4 th 2004 ttg penyelenggaraan sistem pendidikan mod 4
04 p erda no 4 th 2004 ttg penyelenggaraan sistem pendidikan mod 4
 
KPI และ CSF - KPI and CSF
KPI และ CSF - KPI and CSFKPI และ CSF - KPI and CSF
KPI และ CSF - KPI and CSF
 
LIAISON OFFICER CERTIFICATE
LIAISON OFFICER CERTIFICATELIAISON OFFICER CERTIFICATE
LIAISON OFFICER CERTIFICATE
 
Plano de ações para 2015
Plano de ações para 2015Plano de ações para 2015
Plano de ações para 2015
 
59 eu creio sim
59   eu creio sim59   eu creio sim
59 eu creio sim
 
No2
No2No2
No2
 
122 fogo divino
122   fogo divino122   fogo divino
122 fogo divino
 
106 viva cristo
106   viva cristo106   viva cristo
106 viva cristo
 
Сумма технологий: +5 к скорости разработки
Сумма технологий: +5 к скорости разработкиСумма технологий: +5 к скорости разработки
Сумма технологий: +5 к скорости разработки
 
Procedimentos argumentativos
Procedimentos argumentativosProcedimentos argumentativos
Procedimentos argumentativos
 

Similar to Ontologias

REST teori og praksis; REST in theory and practice
REST teori og praksis; REST in theory and practiceREST teori og praksis; REST in theory and practice
REST teori og praksis; REST in theory and practice
hamnis
 
Hooking up Semantic MediaWiki with external tools via SPARQL
Hooking up Semantic MediaWiki with external tools via SPARQLHooking up Semantic MediaWiki with external tools via SPARQL
Hooking up Semantic MediaWiki with external tools via SPARQLSamuel Lampa
 
Knowledge Representation and Research in the Real World
Knowledge Representation and Research in the Real WorldKnowledge Representation and Research in the Real World
Knowledge Representation and Research in the Real World
UCLDH
 
Linked data: spreading data over the web
Linked data: spreading data over the webLinked data: spreading data over the web
Linked data: spreading data over the webshellac
 
Integrating a Domain Ontology Development Environment and an Ontology Search ...
Integrating a Domain Ontology Development Environment and an Ontology Search ...Integrating a Domain Ontology Development Environment and an Ontology Search ...
Integrating a Domain Ontology Development Environment and an Ontology Search ...
Takeshi Morita
 
Facilitating Data Curation: a Solution Developed in the Toxicology Domain
Facilitating Data Curation: a Solution Developed in the Toxicology DomainFacilitating Data Curation: a Solution Developed in the Toxicology Domain
Facilitating Data Curation: a Solution Developed in the Toxicology Domain
Christophe Debruyne
 
BioSD Tutorial 2014 Editition
BioSD Tutorial 2014 EdititionBioSD Tutorial 2014 Editition
BioSD Tutorial 2014 Editition
Rothamsted Research, UK
 
Needle in an enterprise haystack
Needle in an enterprise haystackNeedle in an enterprise haystack
Needle in an enterprise haystackAndrew Mleczko
 
Milleks meile õpitehnoloogia standardid?
Milleks meile õpitehnoloogia standardid?Milleks meile õpitehnoloogia standardid?
Milleks meile õpitehnoloogia standardid?
Hans Põldoja
 
Open (linked) bibliographic data edmund chamberlain (university of cambridge)
Open (linked) bibliographic data   edmund chamberlain (university of cambridge)Open (linked) bibliographic data   edmund chamberlain (university of cambridge)
Open (linked) bibliographic data edmund chamberlain (university of cambridge)RDTF-Discovery
 
Linked Data in Learning Analytics Tools
Linked Data in Learning Analytics ToolsLinked Data in Learning Analytics Tools
Linked Data in Learning Analytics Tools
Mathieu d'Aquin
 
Open (linked) bibliographic data
Open (linked) bibliographic dataOpen (linked) bibliographic data
Open (linked) bibliographic data
Edmund Chamberlain
 
06 gioca-ontologies
06 gioca-ontologies06 gioca-ontologies
06 gioca-ontologies
nidzokus
 
Introduction to Linked Data
Introduction to Linked DataIntroduction to Linked Data
Introduction to Linked Data
Mathieu d'Aquin
 
The Place of Schema.org in Linked Ocean Data
The Place of Schema.org in Linked Ocean DataThe Place of Schema.org in Linked Ocean Data
The Place of Schema.org in Linked Ocean Data
Adam Leadbetter
 
Linked Data at the OU - the story so far
Linked Data at the OU - the story so farLinked Data at the OU - the story so far
Linked Data at the OU - the story so far
Enrico Daga
 
Repository koloniale architectuur v1.0
Repository koloniale architectuur v1.0Repository koloniale architectuur v1.0
Repository koloniale architectuur v1.0psuijker
 
Metadata as Linked Data for Research Data Repositories
Metadata as Linked Data for Research Data RepositoriesMetadata as Linked Data for Research Data Repositories
Metadata as Linked Data for Research Data Repositories
andrea huang
 
Don't keep it under your hat: A Fez design description and case study
Don't keep it under your hat: A Fez design description and case studyDon't keep it under your hat: A Fez design description and case study
Don't keep it under your hat: A Fez design description and case study
mrangryfish
 
A candidate dataset_discovery_and_linkage_recommendation_system_for_linked_data
A candidate dataset_discovery_and_linkage_recommendation_system_for_linked_dataA candidate dataset_discovery_and_linkage_recommendation_system_for_linked_data
A candidate dataset_discovery_and_linkage_recommendation_system_for_linked_data
STIinnsbruck
 

Similar to Ontologias (20)

REST teori og praksis; REST in theory and practice
REST teori og praksis; REST in theory and practiceREST teori og praksis; REST in theory and practice
REST teori og praksis; REST in theory and practice
 
Hooking up Semantic MediaWiki with external tools via SPARQL
Hooking up Semantic MediaWiki with external tools via SPARQLHooking up Semantic MediaWiki with external tools via SPARQL
Hooking up Semantic MediaWiki with external tools via SPARQL
 
Knowledge Representation and Research in the Real World
Knowledge Representation and Research in the Real WorldKnowledge Representation and Research in the Real World
Knowledge Representation and Research in the Real World
 
Linked data: spreading data over the web
Linked data: spreading data over the webLinked data: spreading data over the web
Linked data: spreading data over the web
 
Integrating a Domain Ontology Development Environment and an Ontology Search ...
Integrating a Domain Ontology Development Environment and an Ontology Search ...Integrating a Domain Ontology Development Environment and an Ontology Search ...
Integrating a Domain Ontology Development Environment and an Ontology Search ...
 
Facilitating Data Curation: a Solution Developed in the Toxicology Domain
Facilitating Data Curation: a Solution Developed in the Toxicology DomainFacilitating Data Curation: a Solution Developed in the Toxicology Domain
Facilitating Data Curation: a Solution Developed in the Toxicology Domain
 
BioSD Tutorial 2014 Editition
BioSD Tutorial 2014 EdititionBioSD Tutorial 2014 Editition
BioSD Tutorial 2014 Editition
 
Needle in an enterprise haystack
Needle in an enterprise haystackNeedle in an enterprise haystack
Needle in an enterprise haystack
 
Milleks meile õpitehnoloogia standardid?
Milleks meile õpitehnoloogia standardid?Milleks meile õpitehnoloogia standardid?
Milleks meile õpitehnoloogia standardid?
 
Open (linked) bibliographic data edmund chamberlain (university of cambridge)
Open (linked) bibliographic data   edmund chamberlain (university of cambridge)Open (linked) bibliographic data   edmund chamberlain (university of cambridge)
Open (linked) bibliographic data edmund chamberlain (university of cambridge)
 
Linked Data in Learning Analytics Tools
Linked Data in Learning Analytics ToolsLinked Data in Learning Analytics Tools
Linked Data in Learning Analytics Tools
 
Open (linked) bibliographic data
Open (linked) bibliographic dataOpen (linked) bibliographic data
Open (linked) bibliographic data
 
06 gioca-ontologies
06 gioca-ontologies06 gioca-ontologies
06 gioca-ontologies
 
Introduction to Linked Data
Introduction to Linked DataIntroduction to Linked Data
Introduction to Linked Data
 
The Place of Schema.org in Linked Ocean Data
The Place of Schema.org in Linked Ocean DataThe Place of Schema.org in Linked Ocean Data
The Place of Schema.org in Linked Ocean Data
 
Linked Data at the OU - the story so far
Linked Data at the OU - the story so farLinked Data at the OU - the story so far
Linked Data at the OU - the story so far
 
Repository koloniale architectuur v1.0
Repository koloniale architectuur v1.0Repository koloniale architectuur v1.0
Repository koloniale architectuur v1.0
 
Metadata as Linked Data for Research Data Repositories
Metadata as Linked Data for Research Data RepositoriesMetadata as Linked Data for Research Data Repositories
Metadata as Linked Data for Research Data Repositories
 
Don't keep it under your hat: A Fez design description and case study
Don't keep it under your hat: A Fez design description and case studyDon't keep it under your hat: A Fez design description and case study
Don't keep it under your hat: A Fez design description and case study
 
A candidate dataset_discovery_and_linkage_recommendation_system_for_linked_data
A candidate dataset_discovery_and_linkage_recommendation_system_for_linked_dataA candidate dataset_discovery_and_linkage_recommendation_system_for_linked_data
A candidate dataset_discovery_and_linkage_recommendation_system_for_linked_data
 

More from Sérgio Santos

Launching tech products
Launching tech productsLaunching tech products
Launching tech products
Sérgio Santos
 
Simple MongoDB design for Rails apps
Simple MongoDB design for Rails appsSimple MongoDB design for Rails apps
Simple MongoDB design for Rails apps
Sérgio Santos
 
Ultra fast web development with sinatra
Ultra fast web development with sinatraUltra fast web development with sinatra
Ultra fast web development with sinatra
Sérgio Santos
 
Agoge - produtividade & multitasking
Agoge - produtividade & multitaskingAgoge - produtividade & multitasking
Agoge - produtividade & multitasking
Sérgio Santos
 
Workshop Django
Workshop DjangoWorkshop Django
Workshop Django
Sérgio Santos
 
Gestão De Projectos
Gestão De ProjectosGestão De Projectos
Gestão De Projectos
Sérgio Santos
 
Django Vs Rails
Django Vs RailsDjango Vs Rails
Django Vs Rails
Sérgio Santos
 
Gestor - Casos De Uso
Gestor - Casos De UsoGestor - Casos De Uso
Gestor - Casos De Uso
Sérgio Santos
 

More from Sérgio Santos (9)

Launching tech products
Launching tech productsLaunching tech products
Launching tech products
 
Simple MongoDB design for Rails apps
Simple MongoDB design for Rails appsSimple MongoDB design for Rails apps
Simple MongoDB design for Rails apps
 
Rails + mongo db
Rails + mongo dbRails + mongo db
Rails + mongo db
 
Ultra fast web development with sinatra
Ultra fast web development with sinatraUltra fast web development with sinatra
Ultra fast web development with sinatra
 
Agoge - produtividade & multitasking
Agoge - produtividade & multitaskingAgoge - produtividade & multitasking
Agoge - produtividade & multitasking
 
Workshop Django
Workshop DjangoWorkshop Django
Workshop Django
 
Gestão De Projectos
Gestão De ProjectosGestão De Projectos
Gestão De Projectos
 
Django Vs Rails
Django Vs RailsDjango Vs Rails
Django Vs Rails
 
Gestor - Casos De Uso
Gestor - Casos De UsoGestor - Casos De Uso
Gestor - Casos De Uso
 

Recently uploaded

SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
Peter Spielvogel
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
nkrafacyberclub
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 

Recently uploaded (20)

SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 

Ontologias

  • 1. Ontologias Sérgio Santos Inteligência Artificial Novembro 2009 1
  • 2. <rdf:RDF xmlns:rdf="http://www.w3.org/TR/WD-rdf-syntax#" xmlns="http://dei.uc.pt/works-syntax"> <rdf:Description about="http://dei.uc.pt/works#1337"/> <Title> Ontologias </Title> Sérgio Santos </Author> <Author> <Subject> Inteligência Artificial </Subject> <PublishDate> Novembro 2009 </PublishDate> </rdf:RDF> 2
  • 3. 3
  • 5. <?xml version="1.0" encoding="utf-8" ?> <university name="Universidade de Coimbra" id="504"> <students> <student name="Sérgio Santos" id="2006125508"> <address>Espinheiro, Penela</address> <course id="123"> Mestrado em Engenharia Informática </course> </student> ... </students> </university> 5
  • 6. university student student student address course 6
  • 7. […] xmlns:uc="http://uc.pt/syntax#" […] <rdf:Description about="http://uc.pt"> <uc:name>Universidade de Coimbra</uc:name> </rdf:Description> <rdf:Description about="http://dei.uc.pt/~sdsantos"> <uc:name>Sérgio Santos</uc:name> <uc:num>2006125508</uc:num> <uc:attendsCourse rdf:resource="http://dei.uc.pt/~MEI" /> <uc:attendsUniversity rdf:resource="http://uc.pt" /> </rdf:Description> 7
  • 8. http://dei.uc.pt/~sdsantos student attendsUniversity attendsCourse university course http://uc.pt http://dei.uc.pt/~MEI 8
  • 9. http://uc.pt/syntax <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"> <rdfs:Class rdf:ID="student"/> <rdfs:Class rdf:ID="university"/> <rdfs:Class rdf:ID="course"/> </rdf:RDF> 9
  • 10. […] xmlns="http://uc.pt/syntax#" […] <university rdf:id="UC"> <name>Universidade de Coimbra</name> </university> <student rdf:id="sdsantos"> <name>Sérgio Santos</name> <num>2006125508</num> <attendsCourse rdf:resource="#MEI" /> <attendsUniversity rdf:resource="#UC" /> </student> 10
  • 11. • • • • • • 11
  • 12. <owl:Ontology rdf:about=""> <rdfs:comment>Example ontology.</rdfs:comment> </owl:Ontology> <owl:Class rdf:ID="Person"> <rdfs:subClassOf rdf:resource="http://www.w3.org/2002/07/owl#Thing"/> </owl:Class> <owl:Class rdf:ID="Student"> <rdfs:subClassOf rdf:resource="#Person"/> </owl:Class> 12
  • 13. 13
  • 14. 14
  • 15. • • • • 15
  • 16. 16
  • 17. 17
  • 20. Trabalhar com ontologias 20
  • 21. 1. Determinar o domínio e abrangência da ontologia 2. Considerar a reutilização de ontologias existentes 3. Enumerar os termos importantes na ontologia 4. Definir as classes e a sua hierarquia 5. Definir as propriedades das classes 6. Definir os tipos de propriedades 7. Criar os indivíduos 21
  • 22. • • • • • 22
  • 26. String personURI = "http://somewhere/JohnSmith"; String givenName = "John"; String familyName = "Smith"; String fullName = givenName + " " + familyName; Model model = ModelFactory.createDefaultModel(); Resource johnSmith = model.createResource(personURI) .addProperty(VCARD.FN, fullName) .addProperty(VCARD.N, model.createResource() .addProperty(VCARD.Given, givenName) .addProperty(VCARD.Family, familyName)); 26
  • 27. public class SomeClientAgent extends Agent implements SomeVocabulary { private Codec codec = new SLCodec(); private Ontology ontology = SomeOntology.getInstance(); protected void setup() { // Register language and ontology getContentManager().registerLanguage(codec); getContentManager().registerOntology(ontology); ... } ... 27
  • 29. PREFIX uc: <http://uc.pt/syntax#> SELECT ?aluno FROM <studentsDB.rdf> WHERE { ?aluno uc:attendsUniversity "#UC" . ?aluno uc:attendsCourse "#MEI" . } 29
  • 30. • • • • • 30
  • 33. • • • • • 33
  • 34. • • 34
  • 35. • • • 35
  • 36. • • • • • • • 36