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

Fix check SPARQL exercise

Close #2
This commit is contained in:
J. Fernando Sánchez 2018-03-15 09:42:26 +01:00
parent 616d69ffeb
commit e5fa77a128

View File

@ -691,7 +691,7 @@
"deletable": false,
"editable": false,
"nbgrader": {
"checksum": "ed9321d104cd1d6e7839e3bcac78a8f1",
"checksum": "a6db5e4879286b0617be04711002ad63",
"grade": true,
"grade_id": "cell-4d6a64dde67f0e11",
"locked": true,
@ -702,8 +702,8 @@
},
"outputs": [],
"source": [
"assert 'Miguel de Cervantes' in LAST_QUERY['columns']['nombre']\n",
"assert '1547-1-1' in LAST_QUERY['columns']['fechaNac']\n",
"assert 'Camilo José Cela' in LAST_QUERY['columns']['nombre']\n",
"assert '1916-05-11' in LAST_QUERY['columns']['fechaNac']\n",
"assert '' not in LAST_QUERY['columns']['fechaNac'] # All birthdates are defined\n",
"assert '' in LAST_QUERY['columns']['fechaDef'] # Some deathdates are not defined"
]