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#

lns#SuperHero
SuperHero
rdfs#subClassOf
rdfs:subClassOf
lns#Character
Character
.
lns#SuperHeroMovie
SuperHeroMovie
rdfs#subClassOf
rdfs:subClassOf
lns#Movie
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#

lns#hasSuperHeroCharacter
hasSuperHeroCharacter
owl#inverseOf
owl:inverseOf
lns#superHeroCharacterIn
superHeroCharacterIn

lns#superHeroCharacterIn
superHeroCharacterIn
rdfs#subPropertyOf
rdfs:subPropertyOf
lns#characterIn
characterIn

Defining Individual relations#

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

lns#KickAss_The_Movie
KickAss_The_Movie
lns#hasSuperHeroCharacter
hasSuperHeroCharacter
lns#KickAss
KickAss
,
lns#"Hit-Girl"
Hit-Girl
,
lns#"Red Mist"
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