mirror of
https://github.com/gsi-upm/sitc
synced 2025-01-08 04:01:27 +00:00
Compare commits
5 Commits
332802176f
...
ea0b4748b6
Author | SHA1 | Date | |
---|---|---|---|
|
ea0b4748b6 | ||
|
139a6f5d69 | ||
|
df6a148907 | ||
|
13b3b2606a | ||
|
1b893c1097 |
@ -68,23 +68,16 @@
|
|||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": null,
|
"execution_count": null,
|
||||||
"metadata": {
|
"metadata": {},
|
||||||
"deletable": false,
|
|
||||||
"editable": false,
|
|
||||||
"nbgrader": {
|
|
||||||
"checksum": "6455a9642f93288f6c74b88d0892c4c7",
|
|
||||||
"grade": false,
|
|
||||||
"grade_id": "cell-d7f1ea9c021693b8",
|
|
||||||
"locked": true,
|
|
||||||
"schema_version": 1,
|
|
||||||
"solution": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"# Install a pip package in the current Jupyter kernel\n",
|
"# Install a pip package in the current Jupyter kernel.\n",
|
||||||
"import sys\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",
|
"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": [
|
"source": [
|
||||||
"To make sure we are following Principles 1 and 2, we should use URIs that can be queried.\n",
|
"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",
|
"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",
|
"cell_type": "code",
|
||||||
"execution_count": null,
|
"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": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"# This will check that your definition for the first exercise is correct.\n",
|
"# This will check that your definition for the first exercise is correct.\n",
|
||||||
@ -595,14 +611,36 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "markdown",
|
"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": [
|
"source": [
|
||||||
"## Exercise 2: Explore existing data"
|
"## Exercise 2: Explore existing data"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "markdown",
|
"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": [
|
"source": [
|
||||||
"The goal of this exercise is to explore and compare annotations from existing websites.\n",
|
"The goal of this exercise is to explore and compare annotations from existing websites.\n",
|
||||||
"\n",
|
"\n",
|
||||||
@ -618,7 +656,18 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "markdown",
|
"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": [
|
"source": [
|
||||||
"Let us explore some semantic annotations from popular websites.\n",
|
"Let us explore some semantic annotations from popular websites.\n",
|
||||||
"\n",
|
"\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user