1 / 15

ΗΥ566 Semantic Web

ΗΥ566 Semantic Web. Εργασία 3 : Περιγραφή οντολογίας μουσικών παραστάσεων (music events) σε DAML – OIL Μερόπη Πετράκη Θωμάς Σκυλογιάννης Ηράκλειο Μάιος 2003. Περιορισμοί της RDFS. Local scope of properties

mercers
Download Presentation

ΗΥ566 Semantic Web

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ΗΥ566 Semantic Web Εργασία 3: Περιγραφή οντολογίαςμουσικώνπαραστάσεων (music events) σε DAML – OIL Μερόπη Πετράκη Θωμάς Σκυλογιάννης Ηράκλειο Μάιος 2003

  2. Περιορισμοί της RDFS • Local scope ofproperties To rdfs:range ορίζει το range μίας property πχ έχουμε την property isToughtByγια όλες τις κλάσεις MasterCourse. Δεν μπορούμε να ορίσουμε range restriction που εφαρμόζεται σε μερικές μόνο κλάσεις. Π.Χ.. Έστω ότι η κλάση Faculty έχει τις υποκλάσεις Professor και Lecturer. Στην Rdfs δεν μπορούμε να πούμε ότι ένα μεταπτυχιακό μάθημα διδάσκεται μόνο από καθηγητέςκαι όχι από λέκτορες.

  3. Περιορισμοί της RDFS • Disjoints Πολλές φορές θέλουμε δύο κλάσεις να είναι disjoint(να μην έχουν κοινά στοιχεία). Π.Χ η κλάση solist είναι disjoint με την κλάση singer. Στο RDF schema, μπορούμε μόνο να δώσουμε subclass relationships. :Ότι δηλαδή οι κλάσεις singer,solist είναι subclasses της artist. • Cardinality Restrictions Έστω ότι θέλουμε να πούμε ότι σε ένα event παίζονται το πολύ 10 συνθέσεις ή ότι μία ορχήστρα έχει το πολύ 3 κιθάρες. Η RDF δεν επιτρέπει τέτοιου είδους δηλώσεις.

  4. Περιορισμοί της RDFS • Inversions Μια άλλη σημαντική αδυναμία της RDFS είναι ότι δεν μας επιτρέπει να ορίσουμε ότι ένα property είναι inverse ενός άλλου property. Π.Χ. Έστω ότι ένας συνθέτης (composer) έχει συνθέσει (hasComposed) μία σύνθεση (composition).Θέλουμε να δείξουμε ότι η property hasBeenComposedBy είναι inverse property της hasComposed. hasComposed composer composition hasBeenComposedBy

  5. Περιορισμοί της RDFS • Boolean Combination of classes H RDFS δεν επιτρέπει την δημιουργία κλάσεων από την ένωση τομή και διαφορά άλλων κλάσεων. Π.Χ. Η κλάση artist αποτελεί την ένωση των κλάσεων singer, narrator, solist, conductor.

  6. Περιορισμοί της RDFS • Property uniqueness Θέλουμε να εξασφαλίσουμε ότι κάποιες properties είναι μοναδικές. Π.Χ. eventTime, eventName, composerName.

  7. orchestra brassWinds tumba trombone horn trumpet orchestraParticipatesIn Γράφος RDFS (1/2) isMemberOf conductorName orchestraName literal conducts music instrument musician plays Orchestra conductor musicianName musicianNationality percussion winds conductorNationality piano strings timpani literal various percussion woodWinds fagoto contrabassoon violin viola cello harp flute oboe clarinet

  8. artistParticipates InComposition Γράφος RDFS (2/2) eventTitle eventDate eventTime CompositionName literal composition composerName event isPlayed eventPlace hasComposed classic artistParticipatesIn composer artist groupParticipatesIn chorousParticipatesIn proclassic singer chorus conductor modern solist narrator child adult solistPlays group barok artistName groupName chorousName quarteto trio literal literal

  9. schema changes regarding uniqueness of properties Οι παρακάτω properties ορίσαμε να είναι μοναδικές: • conductorName • musicianName • orchestraName • eventName • eventTitle • eventDate • composerName • compositionName • groupName • chorousName • artistName

  10. plays musician musical instr. isPLayed schema changes regarding inverse relation of properties Ορίσαμε τις παρακάτω inverse relations: isMemberOf musician orchestra hasMember conducts orchestraConductor orchestra isConductedBy

  11. solistplays hasComposed solist composer musical instr. composition instrumentPlayedBySolist hasBeenComposed schema changes regarding inverse relation of properties artistParticipatesInComposition artist composition inCompositionUsuallyAppears

  12. schema changes regarding Disjoints & Unions • Ορίσαμε τις παρακάτω disjointUnion σχέσεις: • Artistείναι disjointUnion των: Singer – Solist - Conductor – Narrator • Groupείναι disjointUnion των: trio – quarteto • Composerείναι disjointUnion των: classic – proclassic – modern – barok • Chorusείναι disjointUnion των: child – adult • Music instrumentείναι disjointUnion των: piano – strings – percussion - winds

  13. schema changes regarding cardinalities • Στο σχήμα μας ορίσαμε τα παρακάτω cardinalities: • Ένα κλασσικό έργο έχει μόνο έναν συνθέτη. • Μία ορχήστρα έχει μόνο έναν μαέστρο. • Μία ορχήστρα αποτελείται τουλάχιστον από τα παρακάτω μουσικά όργανα. 3 Βιολιά 1 Βιόλα 1 Τσέλο 1 Κοντραμπάσο 2 Κλαρινέτα 1 Τρομπέτα 2 Φαγκότα 1 Τύμπανο 1 Άρπα

  14. schema changes regarding cardinalities • ...Συνέχεια • Ένας Σολίστας παίζει από ένα μέχρι δύο μουσικά όργανα. • Σε ένα event παίζονται το πολύ 10 συνθέσεις (compositions) Αλλά συμμετέχουν απεριόριστοι καλλιτέχνες. • Ένας Μουσικός παίζει μόνο ένα μουσικό όργανο εκτός από αυτούς που παίζουν κρουστά οι οποίοι μπορούν να παίξουν μέχρι τρία.

  15. Τέλος

More Related