star star

Pokemon Moveset Application



< Back to course page

Pokemon Moveset Application

Design

Research

Resources

Contact

Static Demo

Competency Questions

Query Prefixes:

PREFIX uo: <http://purl.obolibrary.org/obo/UO_> 
PREFIX owl: <http://www.w3.org/2002/07/owl#> 
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> 
PREFIX sio: <http://semanticscience.org/resource/> 
PREFIX dct: <http://purl.org/dc/terms/> 
PREFIX xml: <http://www.w3.org/XML/1998/namespace> 
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
PREFIX prov: <http://www.w3.org/ns/prov#> 
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> 
PREFIX skos: <http://www.w3.org/2004/02/skos/core#> 
PREFIX valo: <http://purl.org/ontology/validation/ont#> 
PREFIX val-kb: <http://purl.org/ontology/validation/kb#> 
PREFIX fibo-fnd-aap-agt: <https://spec.edmcouncil.org/fibo/ontology/FND/AgentsAndPeople/Agents/>
PREFIX fibo-fnd-aap-ppl: <https://spec.edmcouncil.org/fibo/ontology/FND/AgentsAndPeople/People/>
PREFIX fibo-fnd-arr-cls: <https://spec.edmcouncil.org/fibo/ontology/FND/Arrangements/ClassificationSchemes/>
PREFIX fibo-fnd-arr-lif: <https://spec.edmcouncil.org/fibo/ontology/FND/Arrangements/Lifecycles/>
PREFIX fibo-fnd-dt-fd: <https://spec.edmcouncil.org/fibo/ontology/FND/DatesAndTimes/FinancialDates/>
PREFIX fibo-fnd-dt-oc: <https://spec.edmcouncil.org/fibo/ontology/FND/DatesAndTimes/Occurrences/>
PREFIX fibo-fnd-gao-obj: <https://spec.edmcouncil.org/fibo/ontology/FND/GoalsAndObjectives/Objectives/>
PREFIX fibo-fnd-org-fm: <https://spec.edmcouncil.org/fibo/ontology/FND/Organizations/FormalOrganizations/>
PREFIX fibo-fnd-plc-loc: <https://spec.edmcouncil.org/fibo/ontology/FND/Places/Locations/>
PREFIX fibo-fnd-pty-pty: <https://spec.edmcouncil.org/fibo/ontology/FND/Parties/Parties/>
PREFIX fibo-fnd-pty-rl: <https://spec.edmcouncil.org/fibo/ontology/FND/Parties/Roles/>
PREFIX fibo-fnd-qt-qtu: <https://spec.edmcouncil.org/fibo/ontology/FND/Quantities/QuantitiesAndUnits/>
PREFIX fibo-fnd-rel-rel: <https://spec.edmcouncil.org/fibo/ontology/FND/Relations/Relations/>
PREFIX fibo-fnd-utl-alx: <https://spec.edmcouncil.org/fibo/ontology/FND/Utilities/Analytics/>
PREFIX fibo-fnd-utl-av: <https://spec.edmcouncil.org/fibo/ontology/FND/Utilities/AnnotationVocabulary/>
PREFIX lcc-cr: <https://www.omg.org/spec/LCC/Countries/CountryRepresentation/>
PREFIX lcc-lr: <https://www.omg.org/spec/LCC/Languages/LanguageRepresentation/>
PREFIX sm: <http://www.omg.org/techprocess/ab/SpecificationMetadata/>
PREFIX pkm-mvs: <https://tw.rpi.edu/ontology-engineering/oe2020/pokemon-moveset/>
PREFIX pkm-mvs-ind:  <https://tw.rpi.edu/ontology-engineering/oe2020/pokemon-moveset-individuals/>

Competency Question 1

Assembling a team of Pokémon that know specific moves is the core idea of the Pokémon Moveset Ontology, but it is not always straightfoward to get a Pokémon that knows certain moves, as there are multiple ways a Pokémon can learn a move. This query returns information on how Noivern can learn each one of these moves, for each one it can:

move method_name method_info
Hurricane “learn by level up” 56
Hurricane “learn from item” “technical record #89”
Draco Meteor “learn from move tutor” “Ace Trainer”
Air Slash “learn from item” “technical record #95”
Defog “learn by inheritance”  

Competency Question 2

The most complex method of learning a move is the “learning through inheritance” method. In order for a Pokémon to learn a Move through inheritance, specific parent Pokémon must be bred together–and in order for two Pokémon to breed, they must be compatible breeding partners (in the same egg group). To be as applicable as possible, we designed this query to return all compatible breeding partners of Hydreigon:

breeding_partner_name egg_group_name
“Deino” “Dragon egg group”
“Hydreigon” “Dragon egg group”
“Noibat” “Dragon egg group”
“Zweilous” “Dragon egg group”
“Noivern” “Dragon egg group”

The above query answers the more general question of “What are the compatible breeding partners of Hydreigon?”, as we think it useful to demonstrate how to do this, and since Noivern is included in the list, it answers the question of whether Hydreigon and Noivern can breed. Alternatively, to only return true or false if Hydreigon and Noivern can breed, we can use the following query:

can_breed
True

Competency Question 3

An Egg Move is a move which is learned through inheritance and breeding. This query returns all valid Egg Moves for the Pokémon species Noivern:

move
Defog
Dragon Rush

We can add a filter to the above query to return just Defog if it is a valid Egg Move for the Pokémon species Noivern:

move
Defog

Competency Question 4

An Egg Move is a move which is learned through inheritance and breeding. This query returns chains of different Pokémon that you can breed successively in order to eventually get a Noibat which knows the move Defog.

move_name PSTART p1 p2 p_end
Defog Noibat     Rufflet
Defog Noibat     Braviary
Defog Noibat Noivern   Rufflet
Defog Noibat Noivern   Braviary

p2 is empty, but we still return it here to show that we can return longer and longer chains of Pokemon to inherit from.

Competency Question 5

In order to get a Pokémon with moves you want, you first need to get the Pokémon. There are usually multiple different ways to obtain a member of a specific Pokémon species–this query returns all methods to obtain Rufflet:

method_name method_info
“obtain from wild” “Lake of Outrage”
“obtain from wild” “Bridge Field”