-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
validation #6
Comments
odanoburu
added a commit
that referenced
this issue
Jul 24, 2019
related to #6 * add bifunctor instance to validate * add type synonyms for validation * add Ord instances
odanoburu
added a commit
that referenced
this issue
Aug 19, 2019
- word sense duplicates (in the same synset) - word pointers - synset relations related to #6 * add labels to errors can be warnings or full-blown errors
odanoburu
added a commit
that referenced
this issue
Aug 19, 2019
- when checking just a lexicographer file, we still check for duplicates in all of wordnet; but doing it for each synset is more expensive than checking the index directly related to #6 * fix index key implementation
odanoburu
added a commit
that referenced
this issue
Aug 20, 2019
- was previously allowing duplicate words in a synset if they had different lexical ids (but having two words with the same lexical form in the same synset doesn't make sense regardless of their lexical ids) related to #6
odanoburu
added a commit
that referenced
this issue
Aug 30, 2019
- use commas for pos column - add satellite adjectives PoS * validation - check that a relation has the correct domain (either synset or wordsense of the appropriate PoS) obs: maybe this is too much to check in the parser phase and we should defer it to validation? (the parser is not so easy to read now) related to #6
Merged
to check reflexivity we can use the following queries, which uncovered a few problems (although most of them are related to own-pt/openWordnet-PT#151) ### problems here
select ?s1 ?s2 # problems
where {
?s1 ns1:antonymOf ?s2 .
FILTER NOT EXISTS {?s2 ns1:antonymOf ?s1}
} LIMIT 10
#
#
select ?s1 ?s2
where {
?s1 ns1:hyponymOf ?s2 .
FILTER NOT EXISTS {?s2 ns1:hypernymOf ?s1}
} LIMIT 10
select ?s1 ?s2
where {
?s1 ns1:hypernymOf ?s2 .
FILTER NOT EXISTS {?s2 ns1:hyponymOf ?s1}
} LIMIT 10
#
#
select ?s1 ?s2
where {
?s1 ns1:hasInstance ?s2 .
FILTER NOT EXISTS {?s2 ns1:instanceOf ?s1}
} LIMIT 10
select ?s1 ?s2
where {
?s1 ns1:instanceOf ?s2 .
FILTER NOT EXISTS {?s2 ns1:hasInstance ?s1}
} LIMIT 10
#
#
select ?s1 ?s2
where {
?s1 ns1:memberHolonymOf ?s2 .
FILTER NOT EXISTS {?s2 ns1:memberMeronymOf ?s1}
} LIMIT 10
select ?s1 ?s2
where {
?s1 ns1:memberMeronymOf ?s2 .
FILTER NOT EXISTS {?s2 ns1:memberHolonymOf ?s1}
} LIMIT 10
#
#
select ?s1 ?s2
where {
?s1 ns1:partHolonymOf ?s2 .
FILTER NOT EXISTS {?s2 ns1:partMeronymOf ?s1}
} LIMIT 10
select ?s1 ?s2
where {
?s1 ns1:partMeronymOf ?s2 .
FILTER NOT EXISTS {?s2 ns1:partHolonymOf ?s1}
} LIMIT 10
#
#
select ?s1 ?s2
where {
?s1 ns1:substanceHolonymOf ?s2 .
FILTER NOT EXISTS {?s2 ns1:substanceMeronymOf ?s1}
} LIMIT 10
select ?s1 ?s2
where {
?s1 ns1:substanceMeronymOf ?s2 .
FILTER NOT EXISTS {?s2 ns1:substanceHolonymOf ?s1}
} LIMIT 10
#
#
select ?s1 ?s2
where {
?s1 ns1:similarTo ?s2 .
FILTER NOT EXISTS {?s2 ns1:similarTo ?s1}
} LIMIT 10
#
#
select ?s1 ?s2
where {
?s1 ns1:attribute ?s2 .
FILTER NOT EXISTS {?s2 ns1:attribute ?s1}
} LIMIT 10
#
#
select ?s1 ?s2
where {
?s1 ns1:sameVerbGroupAs ?s2 .
FILTER NOT EXISTS {?s2 ns1:sameVerbGroupAs ?s1}
} LIMIT 10
#
### problems here
select ?s1 ?s2
where {
?s1 ns1:derivationallyRelated ?s2 .
FILTER NOT EXISTS {?s2 ns1:derivationallyRelated ?s1}
} LIMIT 10
#
## no problems here, actually, just wrong URI see
## https://github.com/own-pt/openWordnet-PT/issues/151
select ?s1 ?s2
where {
?s1 ns1:classifiedByTopic ?s2 .
FILTER NOT EXISTS {?s2 ns1:classifiesByTopic ?s1}
} LIMIT 10
select ?s1 ?s2
where {
?s1 ns1:classifiesByTopic ?s2 .
FILTER NOT EXISTS {?s2 ns1:classifiedByTopic ?s1}
} LIMIT 10
#
## no problems here, actually, just wrong URI see
## https://github.com/own-pt/openWordnet-PT/issues/151
select ?s1 ?s2
where {
?s1 ns1:classifiedByRegion ?s2 .
FILTER NOT EXISTS {?s2 ns1:classifiesByRegion ?s1}
} LIMIT 10
select ?s1 ?s2
where {
?s1 ns1:classifiesByRegion ?s2 .
FILTER NOT EXISTS {?s2 ns1:classifiedByRegion ?s1}
} LIMIT 10
#
## no problems here, actually, just wrong URI see
## https://github.com/own-pt/openWordnet-PT/issues/151
select ?s1 ?s2
where {
?s1 ns1:classifiedByUsage ?s2 .
FILTER NOT EXISTS {?s2 ns1:classifiesByUsage ?s1}
} LIMIT 10
select ?s1 ?s2
where {
?s1 ns1:classifiesByUsage ?s2 .
FILTER NOT EXISTS {?s2 ns1:classifiedByUsage ?s1}
} LIMIT 10
# |
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
subsumes https://github.com/own-pt/own-en/issues/38
references
sorting
other
please add more suggestions.
The text was updated successfully, but these errors were encountered: