SlideShare una empresa de Scribd logo
1 de 38
Descargar para leer sin conexión
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

Más contenido relacionado

Destacado

Preduzetnistvo na tri kontinenta
Preduzetnistvo na tri kontinentaPreduzetnistvo na tri kontinenta
Preduzetnistvo na tri kontinentaMilena 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 ResumoGedalias .
 
Slide - Equipe Albert Graham
Slide - Equipe Albert GrahamSlide - Equipe Albert Graham
Slide - Equipe Albert GrahamAlbert 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 4Nandang Sukmara
 
KPI และ CSF - KPI and CSF
KPI และ CSF - KPI and CSFKPI และ CSF - KPI and CSF
KPI และ CSF - KPI and CSFmaruay songtanin
 
LIAISON OFFICER CERTIFICATE
LIAISON OFFICER CERTIFICATELIAISON OFFICER CERTIFICATE
LIAISON OFFICER CERTIFICATEDebby Kurnia
 
Сумма технологий: +5 к скорости разработки
Сумма технологий: +5 к скорости разработкиСумма технологий: +5 к скорости разработки
Сумма технологий: +5 к скорости разработкиAstra Media Group, Russia
 
Procedimentos argumentativos
Procedimentos argumentativosProcedimentos argumentativos
Procedimentos argumentativosGedalias .
 

Destacado (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 a 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 practicehamnis
 
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 WorldUCLDH
 
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 DomainChristophe Debruyne
 
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 ToolsMathieu d'Aquin
 
Open (linked) bibliographic data
Open (linked) bibliographic dataOpen (linked) bibliographic data
Open (linked) bibliographic dataEdmund Chamberlain
 
06 gioca-ontologies
06 gioca-ontologies06 gioca-ontologies
06 gioca-ontologiesnidzokus
 
Introduction to Linked Data
Introduction to Linked DataIntroduction to Linked Data
Introduction to Linked DataMathieu 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 DataAdam 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 farEnrico 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 Repositoriesandrea 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 studymrangryfish
 
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_dataSTIinnsbruck
 

Similar a 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
 

Más de Sérgio Santos

Launching tech products
Launching tech productsLaunching tech products
Launching tech productsSérgio Santos
 
Simple MongoDB design for Rails apps
Simple MongoDB design for Rails appsSimple MongoDB design for Rails apps
Simple MongoDB design for Rails appsSérgio Santos
 
Ultra fast web development with sinatra
Ultra fast web development with sinatraUltra fast web development with sinatra
Ultra fast web development with sinatraSérgio Santos
 
Agoge - produtividade & multitasking
Agoge - produtividade & multitaskingAgoge - produtividade & multitasking
Agoge - produtividade & multitaskingSérgio Santos
 

Más de 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
 

Último

Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusZilliz
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 

Último (20)

Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 

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