RDFS Flashcards

(12 cards)

1
Q

What is RDF Schema (RDFS)?

A

RDFS is an RDF vocabulary (ontology language) for defining classes, properties, and their constraints (domain, range), enabling basic schema modeling in RDF.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How do you declare a new class in RDFS?

A

Use: ex:MyClass rdf:type rdfs:Class .

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How do you state that ex:Employee is a subclass of ex:Person in RDFS?

A

Use: ex:Employee rdfs:subClassOf ex:Person .

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Is rdfs:subClassOf transitive, reflexive, or both?

A

rdfs:subClassOf is both transitive and reflexive.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What inference arises from a subclass relationship and rdf:type?

A

If A rdfs:subClassOf B and x rdf:type A, then x rdf:type B is inferred.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How do you declare a new RDF property in RDFS?

A

Use: ex:myProperty rdf:type rdf:Property .

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How do you specify the domain of a property in RDFS?

A

Use: ex:myProperty rdfs:domain ex:SomeClass .

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How do you specify the range of a property in RDFS?

A

Use: ex:myProperty rdfs:range ex:SomeClass .

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How do you declare that ex:worksFor is a subproperty of ex:affiliatedTo?

A

Use: ex:worksFor rdfs:subPropertyOf ex:affiliatedTo .

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What inference arises from a rdfs:domain declaration?

A

If p rdfs:domain C and x p y, then x rdf:type C is inferred.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What inference arises from a rdfs:range declaration?

A

If p rdfs:range C and x p y, then y rdf:type C is inferred.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is RDFS entailment and what extra inferences does it allow?

A

RDFS entailment is an inference regime that applies rdfs semantics (subClassOf, subPropertyOf, domain, range), adding implicit triples (e.g. type inheritance, property hierarchy).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly