• No se han encontrado resultados

3. Referentes Metodológicos

3.1. Recorrido Metodológico

3.1.7. Diseño y ejecución plan de acción

To test the flexibility of OntoMedia, the annotated scene fromTotal Recallwas imported into a Sesame triple store. The following are a few examples of the RDQL queries and the results which were obtained.

9.5.1 All People

This query returns the primary and family names of all beings (actors in this case). Names are stored in OntoMedia using name components, so it is possible to store multiple names for the same being, with titles and nicknames, while allowing for foreign word orderings. S E L E C T ? p r i m a r y n a m e , ? f a m i l y n a m e W H E R E ( ? b e i n g r d f : t y p e b e i n g : B e i n g ) (? b e i n g omt:has - t r a i t ? n a m e ) (? n a m e r d f : t y p e o m t : N a m e ) (? n a m e omt:has - n a m e ? f u l l n a m e ) (? f u l l n a m e r d f : t y p e n a m e : F u l l ) (? f u l l n a m e n a m e : h a s - o r d e r ? o r d e r ) (? o r d e r r d f s : m e m b e r ? n a m e p a r t ) (? n a m e p a r t r d f : t y p e n a m e : P r i m a r y - N a m e ) (? n a m e p a r t n a m e : h a s - name - c o m p o n e n t ? p r i m a r y n a m e ) (? o r d e r r d f s : m e m b e r ? n a m e p a r t 2 ) (? n a m e p a r t 2 r d f : t y p e n a m e : F a m i l y - N a m e ) (? n a m e p a r t 2 n a m e : h a s - name - c o m p o n e n t ? f a m i l y n a m e ) u s i n g

rdf for < h t t p : // www . w3 . org / 1 9 9 9 / 0 2 / 2 2 - rdf - syntax - ns # > , r d f s for < h t t p : // www . w3 . org / 2 0 0 0 / 0 1 / rdf - s c h e m a # > ,

b e i n g for < h t t p : // o n t o m e d i a . ecs . s o t o n . ac . uk / o n t o l o g i e s / ext / c o m m o n / b e i n g # > ,

omt for < h t t p : // o n t o m e d i a . ecs . s o t o n . ac . uk / o n t o l o g i e s / ext / c o m m o n / t r a i t # > , n a m e for < h t t p : // o n t o m e d i a . ecs . s o t o n . ac . uk / o n t o l o g i e s / m i s c / n a m e # > R e s u l t : " R o n n y " " Cox " " S h a r o n " " S t o n e " " A r n o l d " " S c h w a r z e n e g g e r " " R a c h e l " " T i c o t i n "

9.5.2 Linking Actors to Characters

Each character in a media item may have an accompanying actor. In this example a list of actor references is retrieved, together with associated characters.

S E L E C T ? being , ? l a b e l

W H E R E ( ? b e i n g r d f : t y p e b e i n g : B e i n g ) (? b e i n g b e i n g : p o r t r a y s ? c h a r a c t e r ) (? c h a r a c t e r r d f s : l a b e l ? l a b e l ) u s i n g

rdf for < h t t p : // www . w3 . org / 1 9 9 9 / 0 2 / 2 2 - rdf - syntax - ns # > , r d f s for < h t t p : // www . w3 . org / 2 0 0 0 / 0 1 / rdf - s c h e m a # > ,

b e i n g for < h t t p : // o n t o m e d i a . ecs . s o t o n . ac . uk / o n t o l o g i e s / ext / c o m m o n / b e i n g # >

R e s u l t :

T o t a l R e c a l l # R e a l i t y _ R o n n y _ C o x _ B e i n g _ 2 1 1 " T o t a l R e c a l l . V i l o s C o h a a g e n " T o t a l R e c a l l # R e a l i t y _ S h a r o n _ S t o n e _ B e i n g _ 1 9 7 " T o t a l R e c a l l . L o r i "

Chapter 9 A Case Study 72

T o t a l R e c a l l # R e a l i t y _ A r n o l d _ S c h w a r z e n e g g e r _ B e i n g _ 5 8 " T o t a l R e c a l l . D o u g l a s Q u a i d " T o t a l R e c a l l # R e a l i t y _ R a c h e l _ T i c o t i n _ B e i n g _ 1 8 3 " T o t a l R e c a l l . M e l i n a "

9.5.3 Locating Specific Events

Finally, this example focuses closer to the storyline ofTotal Recall. The query requests the script items and events in which Lori (as the subject entity) loses an item.

S E L E C T ? uri W H E R E (? i t e m r d f : t y p e o m s i : S c r i p t I t e m ) (? i t e m o m s i : u r i ? uri ) (? i t e m o m s i : h a s - e x p r e s s i o n ? e x p r ) (? e x p r r d f : t y p e o m e : O c c u r r e n c e ) (? e v e n t ome:has - o c c u r r e n c e ? e x p r ) (? e v e n t r d f : t y p e o m e : L o s s ) (? e v e n t ome:has - subject - e n t i t y ? c h a r ) (? c h a r r d f s : l a b e l " T o t a l R e c a l l . L o r i " ) u s i n g

rdf for < h t t p : // www . w3 . org / 1 9 9 9 / 0 2 / 2 2 - rdf - syntax - ns # > , r d f s for < h t t p : // www . w3 . org / 2 0 0 0 / 0 1 / rdf - s c h e m a # > ,

ome for < h t t p : // o n t o m e d i a . ecs . s o t o n . ac . uk / o n t o l o g i e s / c o r e / e x p r e s s i o n # > , t r a i t for < h t t p : // o n t o m e d i a . ecs . s o t o n . ac . uk / o n t o l o g i e s / ext / c o m m o n / t r a i t # > ,

o m s i for < h t t p : // o n t o m e d i a . ecs . s o t o n . ac . uk / o n t o l o g i e s / ext / m e d i a # >

R e s u l t :

" h t t p : // ecs . s o t o n . ac . uk /~ moj / s c r i p t / t o t a l r e c a l l . xml # x p o i n t e r ( e l e m e n t ( s c e n e 1 /9) ) " # A c t 8 E v e 2