Practice English vocabulary for RDF, triples, URIs, RDFS, OWL ontologies, and Turtle syntax used in semantic web and knowledge graph work.
0 / 10 completed
1 / 10
What is an RDF triple?
An RDF triple is the fundamental data unit: subject–predicate–object. For example: . Every fact in an RDF graph is expressed as one or more triples.
2 / 10
What is a URI/IRI used for in RDF?
URIs (Uniform Resource Identifiers) and IRIs (Internationalized Resource Identifiers) provide globally unique names for resources in RDF. This allows data from different sources to be merged unambiguously.
3 / 10
What does OWL add on top of RDF Schema (RDFS)?
RDFS provides basic class hierarchies (subClassOf) and property ranges/domains. OWL extends this with description logic axioms enabling automated reasoning — inferring new facts and checking ontology consistency.
4 / 10
Which sentence correctly uses 'subClassOf' in an ontology context?
rdfs:subClassOf declares a subsumption relationship: if X subClassOf Y, every X is also a Y. A reasoner can then infer that an individual typed as Mammal is also an Animal, without that triple being explicitly asserted.
5 / 10
In Turtle syntax, what does the prefix declaration '@prefix ex: .' achieve?
Turtle prefix declarations create compact namespace abbreviations. @prefix schema: . lets you write schema:Person instead of the full URI, making Turtle files much more readable.
6 / 10
Reviewer: 'This data is linked using URIs, but the URI scheme isn't explicitly defined. Should we add a prefix declaration for ex: to improve clarity and maintainability?'
Prefixes in RDF provide a shorthand way to refer to URIs, making the ontology more readable and manageable. Defining a prefix like ex: allows you to use concise identifiers within your data, avoiding long URI strings. It's particularly important when dealing with complex ontologies where URI collisions could occur.
7 / 10
Developer (Alex): 'I'm modelling the concept of 'Product' using an ontology. I need to represent that all 'Laptop' instances are a subclass of 'Computer'. What's the best way to express this in my RDF data?'
The subClassOf property in OWL explicitly defines a class hierarchy. It clearly states that all instances of 'Laptop' are also instances of 'Computer'. Using rdf:type would describe the *instance* but not its relationship to other classes; owl:sameAs is for identifying resources, not representing inheritance.
The JSON response demonstrates the use of the subClassOf property. The 'value' field indicates that 'Laptop' is a subclass of 'Computer', as defined within the ontology represented by the URI. This is the standard way to represent hierarchical relationships in RDF using OWL.
9 / 10
PR Description: 'Added a new resource for 'Customer' with an associated ontology. This ontology uses RDFS to define the properties of a Customer and their relationships to other entities. Specifically, we've defined http://mycompany.com/ontology#Customer as a subclass of http://mycompany.com/ontology#Person.'
The PR description clearly states that 'Customer' is defined as a subclass of 'Person' using RDFS. This demonstrates an understanding of how ontologies leverage subclass relationships to model hierarchical data structures – a core concept in RDF and ontology vocabulary. It's important to communicate this semantic meaning within the context of the PR.
10 / 10
Developer (Ben): 'I'm working on building an ontology for our product catalog. I've defined http://productcatalog.com/ontology#Product as a subclass of http://productcatalog.com/ontology#Item, representing that every Product is also an Item.'
Ben correctly explains the concept of inheritance. Defining 'Product' as a subclass of 'Item' reflects that all products belong to the broader category of items within the catalog. This is a fundamental principle in ontology design, allowing for reuse and consistent data modeling.
What will I practise in "RDF & Ontology Vocabulary"?
Practice English vocabulary for RDF, triples, URIs, RDFS, OWL ontologies, and Turtle syntax used in semantic web and knowledge graph work.
How many exercises are in this module?
This module has 10 multiple-choice exercises, each with instant feedback and a full explanation of the correct answer.
Is this exercise free to use?
Yes. Every exercise on CoderSlingo, including this one, is free to use with no account, sign-up, or paywall.
Do I need to create an account to do these exercises?
No account is required. Just click an option to answer — your score for this session is tracked automatically in the progress bar above.
What happens if I choose the wrong answer?
You'll immediately see which answer was correct, plus a full explanation covering the vocabulary and reasoning behind it — mistakes are where most of the learning happens.
Can I retry the exercises if I want a higher score?
Yes — use the "Try again" button on the results screen to reset and go through all the questions again.
Is my progress saved if I close the page?
No. Progress is tracked only for your current visit; reloading or leaving the page resets the counter. This keeps the exercise simple and account-free.
Where can I find more Knowledge Graph Vocabulary exercises?
Browse the full Knowledge Graph Vocabulary hub for related drills, or check the "Next up" link below to continue with a connected topic.
How is this different from reading an article on the same topic?
Articles explain vocabulary and concepts in prose; this exercise tests and reinforces that vocabulary through active recall with immediate feedback — the two work best together.
Who writes these exercises?
Every exercise is written by the CoderSlingo team, drawing on real workplace English used in IT roles, then reviewed for accuracy and clarity.