Skip to content

Commit

Permalink
differences for PR #53
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Feb 19, 2024
1 parent 6ec943e commit 2201a66
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
15 changes: 5 additions & 10 deletions 05-intro_to_querying.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,15 +153,13 @@ Namespaces in Wikidata are:

Start by opening the results window. In the results pane, click the "Table" button and choose the type of visualization you want. This way, you can try different ways of visualizing your data without having to change the query code.

![](fig/episode_5_table.jpg)
{alt='Wikidata Query Service results window'}
![](fig/episode_5_table.jpg){alt='Wikidata Query Service results window'}


#### Automated visualization with #defaultView:
For an easy start, add the #defaultView: snippet at the beginning of your query. This method ensures that your results will be automatically visualized in a predefined style. This will save you time without having to manually adjust the result window after each query. This method is useful for queries where you already know which visualization types you want to use.

![](fig/episode_5_defaultview.png)
{alt='Extract from the SPARQL editor'}
![](fig/episode_5_defaultview.png){alt='Extract from the SPARQL editor'}
### Exercises

## 5\.3 Try examples
Expand Down Expand Up @@ -226,8 +224,7 @@ WHERE {
}
```
![](fig/episode_5_Map_WorldWide.png)
{alt='Extract from the SPARQL editor'}
![](fig/episode_5_Map_WorldWide.png){alt='Extract from the SPARQL editor'}

**Map of libraries in the USA**

Expand All @@ -252,8 +249,7 @@ WHERE {
#Helps to get the label in English. If not, yours will be selected automatically
}
```
![](fig/episode_5_Map_USA.png)
{alt='Extract from the SPARQL editor'}
![](fig/episode_5_Map_USA.png){alt='Extract from the SPARQL editor'}

**Count of libraries per Country**

Expand Down Expand Up @@ -284,8 +280,7 @@ LIMIT 10
```

![](fig/episode_5_Bar_Countries.png)
{alt='Extract from the SPARQL editor'}
![](fig/episode_5_Bar_Countries.png){alt='Extract from the SPARQL editor'}

**Books weight by genre**
Number of available books weighted by genre.
Expand Down
2 changes: 1 addition & 1 deletion md5sum.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"episodes/02-Wikidata_underlying_concepts.md" "6b89c560bae948000762d372fdb609aa" "site/built/02-Wikidata_underlying_concepts.md" "2023-04-24"
"episodes/03-intro_to_editing.md" "138fbe8a8e29dd0dbcb38e6388b9f7a7" "site/built/03-intro_to_editing.md" "2024-01-11"
"episodes/04-advanced_editing.md" "9f22a0e34910f10a3764e5928cfba14e" "site/built/04-advanced_editing.md" "2023-04-24"
"episodes/05-intro_to_querying.md" "6a49a3f5ea78d60fc4cdbfcef78bcad9" "site/built/05-intro_to_querying.md" "2024-02-19"
"episodes/05-intro_to_querying.md" "0cba0ffa1e31f2a4c146ac23ed0e3a74" "site/built/05-intro_to_querying.md" "2024-02-19"
"episodes/06-bulk_actions.md" "952f46b4a2680b2efdfdf1a923eed040" "site/built/06-bulk_actions.md" "2023-04-24"
"instructors/design.md" "2254bc6b1376bce959867ec8c0c06302" "site/built/design.md" "2023-04-24"
"instructors/instructor-notes.md" "9b0bf3c79cd5f898ee9ec100803b7ee8" "site/built/instructor-notes.md" "2023-04-24"
Expand Down

0 comments on commit 2201a66

Please sign in to comment.