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

WShEx: couple fixes to spec #604

Open
VladimirAlexiev opened this issue Dec 7, 2024 · 0 comments
Open

WShEx: couple fixes to spec #604

VladimirAlexiev opened this issue Dec 7, 2024 · 0 comments

Comments

@VladimirAlexiev
Copy link

VladimirAlexiev commented Dec 7, 2024

@labra A couple of suggestions for https://www.weso.es/WShEx/ (can't find a repo for that spec, so posting here:

  • Don't give a recursive example shape in Researcher: @<Researcher>. Even if recursive shapes are allowed in ShEx, this leads to uncontrollable expansion of checking work. Eg Researcher->n*Awards-m*Researchers-p*Awards will lead to expansion of n+n*m+n*m*p checks, and that's not all
  • misspelling "slach"
  • https://www.weso.es/WShEx/#Sitelinks seems incomplete to me (a shortcut that's become "too short").
    Eg https://www.wikidata.org/wiki/Special:EntityData/Q42.ttl has multiple "en" about links, here are shown two (wikipedia and wikiquote). How can I check for one or another:
<https://en.wikipedia.org/wiki/Douglas_Adams> a schema:Article ;
	schema:about wd:Q42 ;
	schema:inLanguage "en" ;
	schema:isPartOf <https://en.wikipedia.org/> ;
	schema:name "Douglas Adams"@en .

<https://en.wikipedia.org/> wikibase:wikiGroup "wikipedia" .

<https://en.wikiquote.org/wiki/Douglas_Adams> a schema:Article ;
	schema:about wd:Q42 ;
	schema:inLanguage "en" ;
	schema:isPartOf <https://en.wikiquote.org/> ;
	schema:name "Douglas Adams"@en .

<https://en.wikiquote.org/> wikibase:wikiGroup "wikiquote" .
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

1 participant