INCATools / INCATools/dead_simple_owl_design_patterns

simple tester should flag missing annotation property binding

Open
#54 4 comments 0 reactions 0 assignees View on GitHub
pattern_validation
Dominant language
Python
Stars
49
Forks
5
PR merge metrics
No merged PRs in 30d

Description

```
annotations:
- annotationProperty: oio:hasExactSynonym
text: "acquired %s"
vars:
- disease
```

I dont know why, but this all by itself is rejected by dosdp tools (so I assume the spec rejects this)

This is accepted:

```
annotationProperties:
exact_synonym: oio:hasExactSynonym

annotations:
- annotationProperty: exact_synonym
text: "acquired %s"
vars:
- disease
```

@dosumis can you confirm which is at fault, the spec or DOSDP tools?

Contributor guide

No contributing guide indexed for this repository

Research direction

Compare the two YAML examples against the DOSDP specification and the simple tester behavior. Determine whether a direct annotationProperty value should be accepted or whether a declared binding is required, then update the tester or specification accordingly and verify the reported example.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.