Compare commits

...

5 Commits

Author SHA1 Message Date
J. Fernando Sánchez ea0b4748b6 Fix pip install --user 5 years ago
J. Fernando Sánchez 139a6f5d69 Add fix in RDF notebook 5 years ago
J. Fernando Sánchez df6a148907 Add install fix for the lab 5 years ago
J. Fernando Sánchez 13b3b2606a Fix pip install 5 years ago
J. Fernando Sánchez 1b893c1097 RDF changes 5 years ago

@ -68,23 +68,16 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"deletable": false,
"editable": false,
"nbgrader": {
"checksum": "6455a9642f93288f6c74b88d0892c4c7",
"grade": false,
"grade_id": "cell-d7f1ea9c021693b8",
"locked": true,
"schema_version": 1,
"solution": false
}
},
"metadata": {},
"outputs": [],
"source": [
"# Install a pip package in the current Jupyter kernel\n",
"# Install a pip package in the current Jupyter kernel.\n",
"import sys\n",
"!{sys.executable} -m pip install -r requirements.txt\n"
"import site\n",
"usersite = site.getusersitepackages()\n",
"if usersite not in sys.path:\n",
" sys.path.append(usersite)\n",
"!{sys.executable} -m pip install --user -r requirements.txt"
]
},
{
@ -531,7 +524,18 @@
},
{
"cell_type": "markdown",
"metadata": {},
"metadata": {
"deletable": false,
"editable": false,
"nbgrader": {
"checksum": "d6f1bf2230282256e5fcb85dba0eef45",
"grade": false,
"grade_id": "cell-3241bf07ae153beb",
"locked": true,
"schema_version": 1,
"solution": false
}
},
"source": [
"To make sure we are following Principles 1 and 2, we should use URIs that can be queried.\n",
"For the sake of this exercise, you have use the made-up `http://example/sitc/` as base for our URIs.\n",
@ -586,7 +590,19 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"deletable": false,
"editable": false,
"nbgrader": {
"checksum": "e8ba71b32e6d4f15aef9dc7fe70387fe",
"grade": true,
"grade_id": "cell-2fb6e144a6691ede",
"locked": true,
"points": 10,
"schema_version": 1,
"solution": false
}
},
"outputs": [],
"source": [
"# This will check that your definition for the first exercise is correct.\n",
@ -595,14 +611,36 @@
},
{
"cell_type": "markdown",
"metadata": {},
"metadata": {
"deletable": false,
"editable": false,
"nbgrader": {
"checksum": "75d90c9a83c694f61e51bd5c47a672d9",
"grade": false,
"grade_id": "cell-63a55e7b8b195d59",
"locked": true,
"schema_version": 1,
"solution": false
}
},
"source": [
"## Exercise 2: Explore existing data"
]
},
{
"cell_type": "markdown",
"metadata": {},
"metadata": {
"deletable": false,
"editable": false,
"nbgrader": {
"checksum": "23632182da48df109721378408e57f01",
"grade": false,
"grade_id": "cell-3843c3ce98a77c56",
"locked": true,
"schema_version": 1,
"solution": false
}
},
"source": [
"The goal of this exercise is to explore and compare annotations from existing websites.\n",
"\n",
@ -618,7 +656,18 @@
},
{
"cell_type": "markdown",
"metadata": {},
"metadata": {
"deletable": false,
"editable": false,
"nbgrader": {
"checksum": "6c4b25718f493ad5964370f412519543",
"grade": false,
"grade_id": "cell-f42c087c9065bb23",
"locked": true,
"schema_version": 1,
"solution": false
}
},
"source": [
"Let us explore some semantic annotations from popular websites.\n",
"\n",

Loading…
Cancel
Save