25July2009 PM Comics
Up to VoCampNYCJuly2009
Comic Character ontology
This is an attempt to transcribe using N3 the contents of the whiteboard from the discussion of how to model comic characters from DC and Marvel comics at poker gratuit en ligne.
It's best to look at the wiki source in the Edit tab to see the intended formatting. Make sure to use Cancel to exit unless you intend to make changes and save them.
The examples at the bottom of BruceWayne and Superman are inconsistent with this formulation of the model.
To restore consistency, a revision such as one of the following would be required:
- The model would have to be reformulated so that, for example, Abilities is a subclass of RealPersona.
- The example would have to be reformulated to use the language of the model.
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
ComicCharacter owl:sameAs RealPersona.
RealPersona rdf:type owl:Class;
hasPhysicalCharacteristics PhysicalCharacteristics; hasStatus Status; hasNames Names; hasEquipment Equipment; hasAbilities Abilities.
Abilities rdf:type owl:Class.
Skills rdfs:subClassOf Abilities. Powers rdfs:subClassOf Abilities.
hasSkill rdfs:subPropertyOf hasAbilities;
hasPowers rdfs:subPropertyOf hasAbilities;
PhysicalCharacteristics rdf:type owl:Class;
hasGender Gender; hasHeight Height; hasWeight Weight; hasEyeColor EyeColor; hasHairColor HairColor; hasUnusualFeature UnusualFeature.
Status rdf:type owl:Class;
hasCitizenship Citizenship; hasMaritalStatus MaritalStatus; hasOccupation Occupation; hasEducation Education; isActive xsd:boolean; hasPlaceOfBirth Location; hasPlaceOfDeath Location.
Names rdf:type owl:Class.
CharacterName rdfs:subClassOf Names. Alias rdfs:subClassOf Names.
BruceWayne a ComicCharacter. Superman a ComicCharacter.
BruceWayne hasSkill "criminology". Superman hasPower "flight".