This demo is in an early stage and uses deprecated markups. Please revise!

In this demo, we create a simple ontology about movies and its characters and add the movies "KickAss" and "KickAss2" as an example.

Classes#

Character SuperHero Movie SuperHeroMovie

Relations#

SuperHero
rdfs:subClassOf
Character .
SuperHeroMovie
rdfs:subClassOf
Movie .

Individuals/Instances#

KickAss_The_Movie KickAss2_The_Movie @type SuperHeroMovie

KickAss Hit-Girl Night Bitch Motherfucker Mother Russia Black Death Bad Ass Warrior Red Mist @type SuperHero

Properties#

characterIn @domain: Character @range: Movie

superHeroCharacterIn @domain: SuperHero @range: Movie

hasSuperHeroCharacter @range: SuperHero @domain: Movie

Relations between properties#

hasSuperHeroCharacter
owl:inverseOf
superHeroCharacterIn

superHeroCharacterIn
rdfs:subPropertyOf
characterIn

Defining Individual relations#

KickAss2_The_Movie
hasSuperHeroCharacter
KickAss, Hit-Girl, Night Bitch, Mother Russia, Motherfucker, Black Death, Bad Ass Warrior

KickAss_The_Movie
hasSuperHeroCharacter
KickAss, Hit-Girl, Red Mist

Querys to our ontology#

Show all known characters and the movies they play in.

Show the characters that play in both movies

Ontology definition#

kickAssOntology

Add new attachment

Only authorized users are allowed to upload new attachments.
This page (revision-27) was last changed on 29-Apr-2015 11:04 by Albrecht Striffler