2017-11-20 18:14:28 +01:00
|
|
|
@prefix : <http://example.com/ins_uebung/#> .
|
|
|
|
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
|
|
|
|
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
|
|
|
|
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
|
|
|
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
|
|
|
|
@prefix rev: <http://purl.org/stuff/rev#> .
|
2018-01-02 00:55:37 +01:00
|
|
|
@prefix owl: <http://www.w3.org/2002/07/owl#> .
|
2017-11-20 18:14:28 +01:00
|
|
|
|
|
|
|
# Our own properties
|
|
|
|
:ceo rdf:type rdf:Property ;
|
|
|
|
rdfs:domain foaf:Organization ;
|
|
|
|
rdfs:range foaf:Person .
|
|
|
|
|
|
|
|
:foundingYear rdf:type rdf:Property ;
|
|
|
|
rdfs:domain foaf:Organization ;
|
|
|
|
rdfs:range xsd:int .
|
|
|
|
|
|
|
|
:internetEnabled rdf:type rdf:Property ;
|
|
|
|
rdfs:domain :GameConsole ;
|
|
|
|
rdfs:range xsd:boolean .
|
|
|
|
|
|
|
|
:consoleName rdf:type rdf:Property ;
|
|
|
|
rdfs:domain :GameConsole ;
|
|
|
|
rdfs:range xsd:string .
|
|
|
|
|
|
|
|
:numOfSupportedControllers rdf:type rdf:Property ;
|
|
|
|
rdfs:domain :GameConsole ;
|
2018-01-02 00:55:37 +01:00
|
|
|
rdfs:range xsd:int .
|
2017-11-20 18:14:28 +01:00
|
|
|
|
|
|
|
:predecessorOfConsole rdf:type rdf:Property ;
|
|
|
|
rdfs:domain :GameConsole ;
|
|
|
|
rdfs:range :GameConsole .
|
|
|
|
|
|
|
|
:successorOfConsole rdf:type rdf:Property ;
|
|
|
|
rdfs:domain :GameConsole ;
|
|
|
|
rdfs:range :GameConsole .
|
|
|
|
|
|
|
|
:relatedToConsole rdf:type rdf:Property ;
|
|
|
|
rdfs:domain :GameConsole ;
|
|
|
|
rdfs:range :GameConsole .
|
|
|
|
|
|
|
|
:releaseYear rdf:type rdf:Property ;
|
|
|
|
rdfs:domain :GameConsole ;
|
|
|
|
rdfs:range xsd:int .
|
|
|
|
|
2017-11-20 19:58:45 +01:00
|
|
|
:madeBy rdf:type rdf:Property ;
|
|
|
|
rdfs:domain :GameConsole ;
|
|
|
|
rdfs:range foaf:Organization .
|
|
|
|
|
2017-11-20 23:24:21 +01:00
|
|
|
:hasPrice rdf:type rdf:Property ;
|
|
|
|
rdfs:domain :GameConsole ;
|
2018-01-02 00:55:37 +01:00
|
|
|
rdfs:range :xsd:string .
|
2017-11-20 19:58:45 +01:00
|
|
|
|
2017-11-20 18:14:28 +01:00
|
|
|
# rdfs:Datatype
|
|
|
|
:PriceEur rdf:type rdfs:Datatype .
|
|
|
|
:PriceEur rdfs:label "Preis in Euro"^^xsd:string .
|
|
|
|
|
2018-01-02 00:55:37 +01:00
|
|
|
# Anwendungsbeispiel: :Switch :hasPrice "329,00"^^:PriceEur .
|
2017-11-20 18:14:28 +01:00
|
|
|
|
|
|
|
# rdfs:subPropertyOf
|
|
|
|
:predecessorOfConsole rdfs:subPropertyOf :relatedToConsole .
|
|
|
|
:successorOfConsole rdfs:subPropertyOf :relatedToConsole .
|
|
|
|
|
|
|
|
# rdfs:subClassOf
|
2018-01-02 13:48:40 +01:00
|
|
|
:PortableGameConsole a rdfs:Class .
|
|
|
|
:GameConsole a rdfs:Class .
|
2017-11-20 18:14:28 +01:00
|
|
|
:PortableGameConsole rdfs:subClassOf :GameConsole .
|
2018-01-02 00:55:37 +01:00
|
|
|
|
|
|
|
:HomeConsole owl:equivalentClass [
|
|
|
|
rdf:type owl:Class ;
|
|
|
|
owl:intersectionOf (
|
2018-01-02 13:48:40 +01:00
|
|
|
:GameConsole [
|
|
|
|
owl:complementOf :PortableGameConsole
|
|
|
|
]
|
2018-01-02 00:55:37 +01:00
|
|
|
)
|
|
|
|
] .
|
|
|
|
|
|
|
|
:NintendoConsole owl:equivalentClass [
|
|
|
|
rdf:type owl:Restriction ;
|
|
|
|
owl:onProperty :madeBy ;
|
2018-01-02 13:48:40 +01:00
|
|
|
owl:hasValue :Nintendo
|
2018-01-02 00:55:37 +01:00
|
|
|
] .
|
|
|
|
|
2018-01-02 13:48:40 +01:00
|
|
|
:PartyConsole owl:equivalentClass [
|
2018-01-02 00:55:37 +01:00
|
|
|
rdf:type owl:Restriction ;
|
2018-01-02 13:48:40 +01:00
|
|
|
owl:minQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
|
2018-01-02 00:55:37 +01:00
|
|
|
owl:onProperty :numOfSupportedControllers ;
|
2018-01-02 13:48:40 +01:00
|
|
|
owl:onClass :GameConsole
|
|
|
|
] .
|