Download presentation
Presentation is loading. Please wait.
Published byAntony Harper Modified over 9 years ago
1
owner_idnameid nameid owners dogs SELECT o.name, d.name AS dog_name FROM owners o, dogs d WHERE o.id = d.owner_id Database Objects name | dog_name ----------------+------------------ "Joe" | "Fido"
2
Joe Fido /Owner[@Name="Joe"]/Dogs/Dog/Name = "Fido" XML
3
Objects in Code Class Owner { string Name { get; set; } List Dogs { get; set; } } Class Dog { string Name { get; set; } }
4
Owner -Name Dog -Name Dogs 1:n Owner.Name = "Joe" Dog dog = Owner.Dogs[0] dog.Name = "Fido" Objects in Code
5
Canine Person Ontology Individual Mammal Thing
6
Properties & Relationships @prefix sb: @prefix : :joe rdf:typesb:Person sb:hasPet:fido sb:hasName"Joe"^^xsd:string :fido rdf:typesb:Canine sb:hasName"Fido"^^xsd:string fido (Dog) joe (Person) hasPet "Joe" "Fido" hasName Triples
7
ISO15926 Part 7 Classified Identification Classification Class of Class of Identification Class of Identification Express String Thing Classifier Classified Pattern Represented
8
ISO15926 Part 7 Classified Identification (Classification) Class of Identification (Class of Class of Identification) Identification (Class of Identification) “Joe” (Express String) Joe (Thing) Classifier Classified Pattern Represented
9
ClassifiedIdentification Template ISO15926 Part 7 Templates (Expose Signatures) context identifier object Class of Identification An Express String A Thing
10
ISO15926 Part 7 Specialization PersonName (String) (Person) identifier object Proper Name context
11
00002 (PersonName) ISO15926 Part 7 Instances joe (Person) identifier object “Joe“ @prefix dm: @prefix rdl: @prefix tpl: @prefix : :00002 rdf:type owl:Thing :00002rdf:typetpl:PersonName :00002 tpl:object:joe :00002 tpl:context rdl:ProperName :00002 tpl:identifier"Joe"^^xsd:string Triples Proper Name context
12
(Canine) (Person) Information Model PersonPet CanineName PersonName (String)
13
Information Model (showing Templates) (Canine) (Person) PersonPet PersonName (String) CanineName (String)
14
(PersonPet) (PersonName) (CanineName) "Joe" "Fido" Template Instances joe (Person) fido (Canine)
15
Triples @prefix dm: @prefix rdl: @prefix tpl: @prefix : :000001 rdf:typedm:classification dm:classrdl:Person dm:instance:joe :000002rdf:typetpl:PersonName tpl:object:joe tpl:contextrdl:ProperName tpl:idenfitier "Joe"^^xsd:string :000003 rdf:typedm:classification dm:classrdl:Canine dm:instance:fido :000004 rdf:typetpl:CanineName tpl:object :fido tpl:contextrdl:ProperName tpl:identifier "Fido"^^xsd:string :000005 rdf:typetpl:PersonPet tpl:Posessor:joe tpl:Posession:fido (PersonPet) (PersonName) (CanineName) "Joe" "Fido" joe (Person) fido (Canine)
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.