Skip to content

Commit 188d63e

Browse files
authored
replaced tinyurls with urls
1 parent 4fa405f commit 188d63e

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

‎pages/tutorial/select.md‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ toc: false
1414

1515
We can start by a very basic SPARQL query, which lists all of the novels of a certain author. We `SELECT` all items `WHERE` the condition 'has author' has the value 'Tiphaigne de la Roche'.The `WHERE` defines which data should be picked, and the `SELECT` defines which data should be displayed.
1616

17-
Example: [SELECT all the items WHERE the author is Tiphaigne de la Roche ](https://tinyurl.com/2b8m9m7b){:target="\_blank", rel: "noopener noreferrer"}
17+
<!-- Example: [SELECT all the items WHERE the author is Tiphaigne de la Roche ](https://tinyurl.com/2b8m9m7b){:target="\_blank", rel: "noopener noreferrer"} -->
18+
19+
Example: [SELECT all the items WHERE the author is Tiphaigne de la Roche ](https://query.mimotext.uni-trier.de/#%23title%3Anovels%20by%20Tiphaigne%20de%20la%20Roche%0APREFIX%20mmd%3A%3Chttp%3A%2F%2Fdata.mimotext.uni-trier.de%2Fentity%2F%3E%0APREFIX%20mmdt%3A%3Chttp%3A%2F%2Fdata.mimotext.uni-trier.de%2Fprop%2Fdirect%2F%3E%20%0A%0ASELECT%20%3Fitem%0AWHERE%20%0A%7B%0A%20%20%3Fitem%20mmdt%3AP5%20mmd%3AQ940.%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22en%22.%20%7D%0A%7D){:target="\_blank", rel: "noopener noreferrer"}
1820

1921
<!--
2022
<p><iframe style="width:100%;max-width:100%;height:450px" frameborder="0" allowfullscreen src="https://tinyurl.com/2b8m9m7b" referrerpolicy="origin" sandbox="allow-scripts allow-same-origin allow-popups allow-forms"></iframe>
@@ -37,7 +39,10 @@ If you have a look at the results, you see the items, but you might be looking f
3739

3840
In order to display labels, we have to use `SERVICE wikibase:label { bd:serviceParam wikibase:language "en”. }`. The “`en`” specifies that we want to display the English labels. Our graph is multilingual (French, English and German), so the results can differ depending on the chosen output language. Use “`fr`” for French or “`de`” for German labels. This is the same query with English labels:
3941

40-
Example: [SELECT all the items and their labels WHERE the author is Tiphaigne de la Roche ](https://tinyurl.com/2ddclspa){:target="\_blank", rel: "noopener noreferrer"}
42+
43+
<!-- Example: [SELECT all the items and their labels WHERE the author is Tiphaigne de la Roche ](https://tinyurl.com/2ddclspa){:target="\_blank", rel: "noopener noreferrer"} -->
44+
45+
Example: [SELECT all the items and their labels WHERE the author is Tiphaigne de la Roche ](https://query.mimotext.uni-trier.de/#%23title%3Anovels%20by%20Tiphaigne%20de%20la%20Roche%2C%20with%20labels%0APREFIX%20mmd%3A%3Chttp%3A%2F%2Fdata.mimotext.uni-trier.de%2Fentity%2F%3E%0APREFIX%20mmdt%3A%3Chttp%3A%2F%2Fdata.mimotext.uni-trier.de%2Fprop%2Fdirect%2F%3E%20%0A%0ASELECT%20%3Fitem%20%3FitemLabel%0AWHERE%20%0A%7B%0A%20%20%3Fitem%20mmdt%3AP5%20mmd%3AQ940.%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22en%22.%20%7D%0A%7D){:target="\_blank", rel: "noopener noreferrer"}
4146

4247
<!--
4348
<p><iframe style="width:100%;max-width:100%;height:450px" frameborder="0" allowfullscreen src="https://tinyurl.com/2ddclspa" referrerpolicy="origin" sandbox="allow-scripts allow-same-origin allow-popups allow-forms"></iframe>

0 commit comments

Comments
 (0)