1
0
mirror of https://github.com/gsi-upm/sitc synced 2024-11-21 22:12:30 +00:00

Fix missing cell

This commit is contained in:
J. Fernando Sánchez 2019-02-13 19:19:59 +01:00
parent bfee8bae34
commit cc9ac7d7b2

View File

@ -89,7 +89,18 @@
}, },
{ {
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {
"deletable": false,
"editable": false,
"nbgrader": {
"checksum": "5c2cccdf6463262a0f8bc89c64f97fb2",
"grade": false,
"grade_id": "cell-d8db3c16cee92ac1",
"locked": true,
"schema_version": 1,
"solution": false
}
},
"source": [ "source": [
"# Linked Data, RDF and Turtle\n", "# Linked Data, RDF and Turtle\n",
"\n", "\n",
@ -167,7 +178,18 @@
}, },
{ {
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {
"deletable": false,
"editable": false,
"nbgrader": {
"checksum": "d2849a6154d4807b405e6ec84601c231",
"grade": false,
"grade_id": "cell-14e2327285737802",
"locked": true,
"schema_version": 1,
"solution": false
}
},
"source": [ "source": [
"# Vocabularies and schema.org\n", "# Vocabularies and schema.org\n",
"\n", "\n",
@ -303,18 +325,38 @@
"cell_type": "markdown", "cell_type": "markdown",
"metadata": { "metadata": {
"deletable": false, "deletable": false,
"editable": false,
"nbgrader": { "nbgrader": {
"checksum": "d2a1ff53084a9bd94110f071a67d9305", "checksum": "61933311e76dd200b63032f42f26b11d",
"grade": true, "grade": false,
"grade_id": "cell-da88c2f8170436fe", "grade_id": "cell-da88c2f8170436fe",
"locked": false, "locked": true,
"points": 0,
"schema_version": 1, "schema_version": 1,
"solution": true "solution": false
} }
}, },
"source": [ "source": [
"# YOUR ANSWER HERE" "Turtle is usually written in standalone files (e.g. `mydefinition.ttl`).\n",
"To write Turtle definitions inside our notebook, and to make it easy to test them, we will use a special magic command: `%%ttl`.\n",
"\n",
"To make sure everything works, let's try first with an example.\n",
"\n",
"\n",
"Copy/paste this solution below:\n",
"\n",
"```turtle\n",
"@prefix foaf: <http://xmlns.com/foaf/0.1/> .\n",
"@prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> .\n",
"@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .\n",
"\n",
"<http://purl.org/net/bsletten> \n",
" a foaf:Person;\n",
" foaf:interest <http://www.w3.org/2000/01/sw/>;\n",
" foaf:based_near [\n",
" geo:lat \"34.0736111\" ;\n",
" geo:lon \"-118.3994444\"\n",
" ] .\n",
"```"
] ]
}, },
{ {