Skip to content
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

03/B1/82/03B18252FFFBFFA846FAFD0CFBC9D0C0.ttl cannot be added to Wikidata #22

Open
andrawaag opened this issue Apr 29, 2024 · 1 comment
Assignees

Comments

@andrawaag
Copy link

While running the Wikidata bot, a ShEx validation error on 03/B1/82/03B18252FFFBFFA846FAFD0CFBC9D0C0.ttloccurred.

Reason Testing http://treatment.plazi.org/id/03B18252FFFBFFA846FAFD0CFBC9D0C0 against shape http://example.org/treatment

   No matching triples found for predicate trt:definesTaxonConcept

schema

PREFIX trt: <http://plazi.org/vocab/treatment#>
prefix fabio: <http://purl.org/spar/fabio/>
prefix : <http://example.org/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX dwc: <http://rs.tdwg.org/dwc/terms/>
PREFIX dwcFP: <http://filteredpush.org/ontologies/oa/dwcFP#>

:treatment {
    rdf:type [trt:Treatment] ;
    trt:definesTaxonConcept @:name ;
    trt:publishedIn @:publication ;
}

:name {
    rdf:type [dwcFP:TaxonName dwcFP:TaxonConcept] ;
    trt:hasParentName @:name? ;
    dwc:rank xsd:string ;
}

:publication {
    rdf:type [fabio:JournalArticle] ;
} ```
@nleanba
Copy link
Collaborator

nleanba commented Apr 30, 2024

In this case, the treatment should actually define the taxonConcept, I am unsure why it doesn't

See also plazi/treatments-rdf#13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants