80 likes | 241 Views
Sheet 12. OWL. FOL is more expressive, but not decidable. DL is a decidable fragment of FOL which has less expressivity but allows for more complex inferencing. Furthermore, DL is held simpler, e.g. by omitting variables, so it is easier to use for more people.
E N D
Sheet 12 OWL
FOL is more expressive, but not decidable. DL is a decidable fragment of FOL which has less expressivity but allows for more complex inferencing. Furthermore, DL is held simpler, e.g. by omitting variables, so it is easier to use for more people.
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix : <#> . :Company rdf:type rdfs:Class. :Person rdf:type rdfs:Class. :MarketingCompany rdf:type rdfs:Class ; rdfs:subClassOf :Company . :ITCompany rdf:type rdfs:Class ; rdfs:subClassOf :Company . :Employee rdf:type rdfs:Class ; rdfs:subClassOf :Person . :ProjectManager rdf:type rdfs:Class. rdfs:subClassOf :Employee. :CEO rdf:type rdfs:Class ; rdfs:subClassOf :BoardMember ; rdfs:subClassOf :Employee. :BoardMember rdf:type rdfs:Class ; rdfs:subClassOf :Person. :locatedAt rdf:type rdf:Property ; rdfs:domain :Company ; rdfs:range xs:string. :hasName rdf:type rdf:Property ; rdfs:domain :Person ; rdfs:range xs:string. :employed rdf:type rdf:Property ; rdfs:domain :Person ; rdfs:range :Company.
MarketingCompany ⊆ Company ITCompany ⊆ Company Employee ⊆ Person ProjectManager ⊆ Employee BoardMemeber ⊆ Person CEO ⊆ BoardMember ∩ Employee ∋locatedAt.xsd:string ⊆ Company ∋hasName.xsd:string ⊆ Person ∋employed.Company ⊆ Person ≥1 employed ⊆ Person T ⊆ employed.Company
Ontology is a data model that represents a set of concepts within a domain and the relationships between those concepts. It is used to reason about the objects within that domain. OWL and RDF OWL a stronger language with greater machine interpretability than RDF.OWL comes with a larger vocabulary and stronger syntax than RDF.
Class(Brewery complete) Class(Beer complete) ObjectProperty( hasIngredients domain(Beers) range(Ingredients) restriction(hasIngredients minCardinality(3)) restriction(hasIngredients maxCardinality(6)) restriction(hasIngredients someValuesFrom(Water)) ObjectProperty(brews domain(Brewery) range(Beer)) Class(Ingredients complete) SubClassOf(Water Ingredients) Individual(Zapfler type(Beer)) Individual(Jeva type(XYZBeer)) Individual(Becks type(Beer)) SubClassof(XYZBeer Beer) Individual(XYZ type(Brewery)) Individual(ABC type(Brewery)) restriction(brews minCardinality(1)) restriction(brews maxCardinality(1)) value(brews Zapfler) value(brews Becks) restriction(brews allValuesFrom(complementOf(XYZBeer)) )
SubClassOf(Pilsner Beer) Individual(XYZ type (Brewery) restriction(brews allValuesFrom(Pilsner)) Class(Pilsner complete Beer restriction(brewBy allValuesFrom(XYZ))