1
0
mirror of https://github.com/gsi-upm/sitc synced 2025-01-09 12:31:27 +00:00

Compare commits

..

No commits in common. "fd5aa4a1fd65a1a084eb405eb34f5df1db3aedfb" and "22481882192166554e2de99246d2522a72815ed4" have entirely different histories.

View File

@ -89,7 +89,7 @@
"editable": false, "editable": false,
"nbgrader": { "nbgrader": {
"cell_type": "markdown", "cell_type": "markdown",
"checksum": "753edf07d500cc7f9cc9c5a4c0a1348e", "checksum": "5c2cccdf6463262a0f8bc89c64f97fb2",
"grade": false, "grade": false,
"grade_id": "cell-d8db3c16cee92ac1", "grade_id": "cell-d8db3c16cee92ac1",
"locked": true, "locked": true,
@ -143,15 +143,7 @@
"\n", "\n",
"In the exercises, we will be using turtle notation, because it is very readable.\n", "In the exercises, we will be using turtle notation, because it is very readable.\n",
"\n", "\n",
"For instance, turtle allows us to re-use parts of a previous triple to avoid repetition.\n", "Here's an example of document in Turtle, taken from the Turtle specification:\n",
"Our previous example would look like this:\n",
"\n",
"```turtle\n",
"<http://example.org/Timmy> <http://example.org/hasDog> <http://example.org/Tobby> ;\n",
" <http://example.org/age> 7\n",
"```\n",
"\n",
"Here's another example of document in Turtle, taken from the Turtle specification:\n",
"\n", "\n",
"```turtle\n", "```turtle\n",
"@base <http://example.org/> .\n", "@base <http://example.org/> .\n",
@ -160,13 +152,15 @@
"@prefix foaf: <http://xmlns.com/foaf/0.1/> .\n", "@prefix foaf: <http://xmlns.com/foaf/0.1/> .\n",
"@prefix rel: <http://www.perceive.net/schemas/relationship/> .\n", "@prefix rel: <http://www.perceive.net/schemas/relationship/> .\n",
"\n", "\n",
"<#green-goblin> a foaf:Person ; # Green Goblin is a person\n", "<#green-goblin>\n",
" foaf:name \"Green Goblin\" ;\n", " rel:enemyOf <#spiderman> ;\n",
" rel:enemyOf <#spiderman> . # Green Goblin is one of Spiderman's enemies \n", " a foaf:Person ; # in the context of the Marvel universe\n",
" foaf:name \"Green Goblin\" .\n",
"\n", "\n",
"<#spiderman> a foaf:Person ; # Spiderman is also a person\n", "<#spiderman>\n",
" foaf:name \"Spiderman\", \"Человек-паук\"@ru . # Spiderman's name in Russian is Человек-паук\n", " rel:enemyOf <#green-goblin> ;\n",
" rel:enemyOf <#green-goblin> ; \n", " a foaf:Person ;\n",
" foaf:name \"Spiderman\", \"Человек-паук\"@ru .\n",
"```\n", "```\n",
"\n", "\n",
"\n", "\n",