Teester/entityshape

All entityschemas should return a 200 response

Closed this issue · 5 comments

Currently, a number of entityschemas fail to parse correctly and return a 500 error, even when the entityschema is valid. Any valid entityschema should return a 200 response along with some sort of result.

The following entityschemas return a 500 response:
- E1 - ShExR
- E2 - Wikimedia
- E3 - Wikidata Item
- E4 - Labels/Descriptions
- E5 - Statement - Blank schema
- E6 - Language mappings - Blank Schema
- E7 - Citation - Blank Schema
- E8 - External RDF - Blank Schema
- E9 - Wikidata-Wikibase - Blank Schema
- E16 - Software Titles
- E37 - human gene
- E38 - human protein
- E39 - Reactome Pathway
- E44 - University Teacher
- E49 - Wikidata prefixes
- E53 - sportsperson
- E55 - programming language

  • E59 - evidence and conclusion ontology term
  • E70 - Clinical Interpretations of Variants in Cancer
    - E72 - pharmaceutical drug
    - E74 - pseudogene
    - E75 - gene
    - E86 - native Wikipathways schema
    - E87 - biological pathway in Wikidata
    - E89 - Public library branch in The Netherlands
    - E90 - Public library organisation in The Netherlands
  • E93 - FLOSS emulator
    - E96 - dummy - Blank Schema
    - E99 - statue
    - E100 - city
    - E103 - gene variant according to myvariant.info
    - E117 - newspaper with direct claim properties only
    - E118 - virtual assistant
    - E121 - [empty schema] - Blank Schema
    - E122 - [empty schema] - Blank Schema
  • E123 - Sandbox schema
    - E124 - [empty schema] - Blank Schema
    - E128 - extrasolar planet
    - E129 - one-of-a-kind computer
    - E132 - web comic
    - E150 - Specific event in figure skating
  • E165 - virus gene
    - E166 - [empty schema] - Blank Schema
    - E169 - virus protein
    - E175 - [empty schema] - Blank Schema
    - E176 - Chilean astronomers
    - E180 - [empty schema] - Blank Schema
    - E181 - [empty schema] - Blank Schema
    - E182 - [empty schema] - Blank Schema
    - E183 - Chilean Women Football Players
    - E187- hospital
    - E194 - Complex Portal entity
    - E221 - YouTube - Blank Schema
    - E226 - Swedish Academy Chair
    - E227 - Gender
  • E245 - Unicode plane
  • E246 - Unicode block
  • E247 - Unicode character
  • E251 - non-coding RNA
    - E252 - non-coding RNA gene
    - E258 - Genewiki schema
    - E259 - Wikibase property
    - E261 - Fredmans Epistel places - Blank Schema
    - E262 - Fredman Epistels person - Blank Schema
    - E263 - Type specimens of Oxalis
    - E265 - Gene Wiki SARS-COV2 primary sources
    - E266 - Gene Wiki SARS-COV2 external identifiers
    - E269 - monument historique français
    - E570 - recently deceased humans - Blank Schema
  • E999 - Borked
    - E12345 - Sandbox Schema

Total: 69/272 failures (~25%)
Total: 53/272 failures (~19.5%)
Total: 39/272 failures (~14.5%)
Total: 17/272 (6.25%)
Total: 10/301 (3.32%)

Commit c7515a5 resolves the issue where blank schemas return a 500 error. This removes 16 schema failures

Commit f4fc79d resolves the issue schemas containing blank shapes (e.g. { } ) return a 500 error. This removes 14 schema failures

Commit f8c4dc8 resolves the issue schemas where schemas without a default shape specified return a 500 error. This removes 22 schema failures

#12 fixes issues with getting specific shapes correctly and resolves 7 schema failures

With V2, all entityschemas return a 200 response