diff --git a/rdf/RDF.ipynb b/rdf/RDF.ipynb index beccd4c..707f537 100644 --- a/rdf/RDF.ipynb +++ b/rdf/RDF.ipynb @@ -280,7 +280,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 2, "metadata": { "deletable": false, "editable": false, @@ -293,7 +293,17 @@ "solution": false } }, - "outputs": [], + "outputs": [ + { + "data": { + "application/javascript": [ + "IPython.CodeCell.options_default.highlight_modes['magic_turtle'] = {'reg':[/^%%ttl/]};" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], "source": [ "from helpers import *\n", "from rdflib import term, RDF, Namespace" @@ -320,12 +330,30 @@ "# YOUR ANSWER HERE\n", "```\n", "\n", - "Execute the following line. It simple fills 'example' with the code written below. It should produce the output 'File loaded!\"." + "Execute the following line without any modification. It simple fills 'example' with the code written below. It should produce the output 'File loaded!\"." + ] + }, + { + "cell_type": "markdown", + "metadata": { + "deletable": false, + "editable": false, + "nbgrader": { + "checksum": "f6eb0c6c19c1756d7705f52866b00f82", + "grade": false, + "grade_id": "cell-a4ed500079ba36ca", + "locked": true, + "schema_version": 1, + "solution": false + } + }, + "source": [ + "Now run the tests:" ] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 3, "metadata": { "deletable": false, "nbgrader": { @@ -337,7 +365,21 @@ "solution": true } }, - "outputs": [], + "outputs": [ + { + "data": { + "text/markdown": [ + "File loaded!" + ], + "text/plain": [ + "" + ] + }, + "execution_count": 3, + "metadata": {}, + "output_type": "execute_result" + } + ], "source": [ "%%ttl example\n", "\n", @@ -346,20 +388,9 @@ }, { "cell_type": "markdown", - "metadata": { - "deletable": false, - "editable": false, - "nbgrader": { - "checksum": "f6eb0c6c19c1756d7705f52866b00f82", - "grade": false, - "grade_id": "cell-a4ed500079ba36ca", - "locked": true, - "schema_version": 1, - "solution": false - } - }, + "metadata": {}, "source": [ - "Now run the tests:" + "Now run the tests executing the following cell. You will see they fail (as expected)." ] }, {