by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • May 26 16:12

    emulatingkat on master

    Update 20200527-agenda.md (compare)

  • May 26 15:58

    andrawaag on master

    renamed to correct date Merge branch 'master' of https:… (compare)

  • May 26 15:53

    andrawaag on master

    Update 20200526-agenda.md (compare)

  • May 26 15:51

    andrawaag on master

    new agenda for meeting (compare)

  • May 13 16:32
    hsolbrig commented #27
  • May 13 16:32
    hsolbrig assigned #27
  • May 13 11:29

    emulatingkat on master

    Update 20200513-agenda.md (compare)

  • May 12 21:07

    andrawaag on master

    Update 20200513-agenda.md (compare)

  • May 12 21:05

    andrawaag on master

    Update 20200513-agenda.md (compare)

  • May 12 20:55

    andrawaag on master

    calendar May 13 Merge branch 'master' of https:… (compare)

  • May 12 13:40
    hsolbrig assigned #43
  • May 12 13:40
    hsolbrig opened #43
  • May 11 17:59

    ericprud on master

    ~ migrating parsers to separate… + shexTest submodule (compare)

  • May 11 17:28

    ericprud on cpp-yacc-to-json-pending

    + shex-parse-to-XML + cpp-yacc-to-json ~ use descriptive rdfString fro… and 2 more (compare)

  • May 11 15:57

    hsolbrig on shex2.1

    (compare)

  • May 11 15:57

    hsolbrig on master

    ShExDoc.g4 updated to on-shape-… Adds onShapeExpression branch Remove Mayo copyright notice --… and 50 more (compare)

  • May 11 15:57
    hsolbrig closed #16
  • May 11 15:55

    hsolbrig on 2.0-unmaintained

    (compare)

  • May 11 15:55

    hsolbrig on v0.7.0

    (compare)

  • May 11 15:55

    hsolbrig on 0.6.1

    (compare)

jessevdam
@jessevdam_gitlab
after removing the extends and abstract and 2 types of errors caused by my export function, then it is to big causing a network error
Eric Prud'hommeaux
@ericprud
@labra , are you around to update your parser? it doesn't accept '@'s after EXTENDS
@jessevdam_gitlab , until we update that, you may have to go back and forth between EXTENDS foo and EXTENDS @foo
jessevdam
@jessevdam_gitlab
Yah, as soon I have time I will make sure that it can be correctly parsed and fix the other 2 types of export errors in my code.
Eric Prud'hommeaux
@ericprud
i think i killed the visualizer with my experiments
Jose Emilio Labra Gayo
@labra
Ops, Indeed I need to update my parser...where is the latest grammar that you are using that contains the EXTENDS keyword?
Denny Vrandečić
@vrandezo_twitter
Does someone have a link to an intro in using ShEx for creating forms?
Eric Prud'hommeaux
@ericprud
@labra , i'm cleaning up the grammar/shex2.1 branch now, but it might involve reworking vistitors
(do you visit or listen?)
@vrandezo_twitter , i've got a sample webapp; i'll dig it up
Denny Vrandečić
@vrandezo_twitter
yay! thanks
Eric Prud'hommeaux
@ericprud
@vrandezo_twitter , i added https://ericprud.github.io/shex-form/?manifestURL=examples/manifest.json to the Tools section of shex.io
Denny Vrandečić
@vrandezo_twitter
do you have a bit of doc on how to use it? I tried copying my ShEx file into the upper left thing, set it to ShexC, but it confuses me afterwards
ah got it to work
always after I ask the question! :D
cool! thanks
Denny Vrandečić
@vrandezo_twitter
When I have a single possible value, I still get a drop down. Shouldn't I be using the ns:property [ ns:entity ] ; pattern to say I want a specific property-value pair to exist?
Eric Prud'hommeaux
@ericprud
hmm, that makes sense. i built it as a proof of concept so there's a lot that could be added
probably want a special case for a nc.values.length === 1 in https://github.com/ericprud/shex-form/blob/master/index.js#L570-L576 ,@vrandezo_twitter
ericprud @ericprud wonders if that is a more general nick, a la vrandezo_(tw|g)itter
Denny Vrandečić
@vrandezo_twitter
I'll try it out myself, but just asking in case someone sees it an knows the answer from the top of their head: following the example in the primer http://shexspec.github.io/primer/ , can I have a shape that says "if state is assigned, assignee must have a value, if it is unassigned, it must not". Do I do this with a choice operator?
Jose Emilio Labra Gayo
@labra
I think what you want to mode is an IF-THEN-ELSE pattern, at this moment it is not part of the ShEx syntax but it can be emulated with the AND, NOT and OR operators given that "IF p THEN q ELSE r" is logically equivalent to "(NOT p OR q) AND (p OR r)
I played a little bit with the example you give and you can find it running here
The ShEx could be something like:
PREFIX : <http://ex.example/#>

:IssueShape { 
  a [ :Issue ] ;
} 
AND 
( NOT { :state [:assigned ] } OR { :assignee @:Value }) 
AND 
( { :state [:assigned ] } OR { :assignee @:Value {0,0} } )

:Value { a [ :Value ] }

:Assigned [:assigned ]
Eric Prud'hommeaux
@ericprud
nice
Denny Vrandečić
@vrandezo_twitter
Thanks @labra ! It is cool that it works, I guess I'll need a compiler with that as output :D
Jose Emilio Labra Gayo
@labra
In my opinion the IF-THEN-ELSE pattern could be part of the ShEx language as it is quite common...if it where, the previous definition could be rewritten as:
PREFIX : <http://ex.example/#>

:IssueShape { 
  a [ :Issue ] ;
} AND 
IF { :state [ :assigned ] } 
THEN { :assignee @:Value }  
ELSE { :assignee @:Value {0,0} }
There is an issue proposing that, that we raised some time ago: shexSpec/shex#21, but we were conservative about adding features to ShEx. Maybe now that we have more users we could consider adding it
Denny Vrandečić
@vrandezo_twitter
I find and if / then / else rather limiting
something like a case pattern would be more scalable
but that's just my opinion
added that to the issue thanks for the pointer
Jose Emilio Labra Gayo
@labra
You are right, that could be another option. Thanks for adding the comment.
Blake Regalia
@blake-regalia
is there a "kitchen sink" for ShExC somewhere? I have one locally but the syntax seems to have changed since then and I don't remember where I got it
@ericprud
nvm that one seems good still -- lmk if there's any others tho thx :thumbsup:
Eric Prud'hommeaux
@ericprud
i think there's an _all or something like that in the same directory
kitchenSink was pretty feature-complete for 2.0 but i think it's missing 2.1 stuff
Blake Regalia
@blake-regalia
thanks! in ShExC [49] the language says If "." matches and exclusion matches ... which production or where in the grammar does the full stop match?
Eric Prud'hommeaux
@ericprud
oops! exclusion should include a '.' a al:
[50]       exclusion       ::=       '.' '-' (iri | literal | LANGTAG) '~'?
Eric Prud'hommeaux
@ericprud
(@blake-regalia)
Eric Prud'hommeaux
@ericprud
are we meeting today?
Eric Prud'hommeaux
@ericprud
shex light "micro spec" is defined as a subset of ShExJ: https://dcmi.github.io/dcap/shex_lite/micro-spec.html
Eric Prud'hommeaux
@ericprud
I'm trying to get my head around the semantics of that schema
(@AlasdairGray , @labra , @andrawaag_twitter)