Training modules/dashboard/slides/12906-modifying-queries
Modifying queries
editThe SPARQL code at the top of the query is pretty intimidating for most people. Fortunately, there's a simple way to modify queries. Click on the i icon in the blue circle near the top left of the page to open the Query Helper.
Let's use this to change the query from cats, to dogs.
On the Query Helper pane, click the down arrow next to where it says "house cat". Type "dog" into the search box, at which point the menu will suggest several options: dog (Q144), the domestic animal; Canis lupus familiaris (Q26972265), the subspecies of mammal; and Dog (Q755126), the Chinese zodiac sign. Pick the first dog and the list of results (at the bottom of the page) will change from all the cats Wikidata knows to all the dogs.
You've done it!