Page MenuHomePhabricator

ericP (Eric Prud'hommeaux)
User

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Saturday

  • Clear sailing ahead.

User Details

User Since
Jun 2 2018, 5:59 AM (63 w, 4 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
EricP [ Global Accounts ]

Recent Activity

Tue, Jul 30

ericP added a comment to T214884: linking Schemas in statements.

ShEx schemas have an RDF representation. which round-trips everything except comments and whitespaces. For example, compare 3circRefPlus1.shex to 3circRefPlus1.ttl or 1dotIMPORT1dot.shex to 1dotIMPORT1dot.ttl in https://github.com/shexSpec/shexTest/tree/master/schemas.

Tue, Jul 30, 8:36 PM · Wikidata-Campsite, Patch-For-Review, MW-1.34-notes (1.34.0-wmf.17; 2019-08-06), User-Ladsgroup, Wikidata, Shape Expressions

Jun 21 2019

ericP added a comment to T225996: JSON results serializer in Wikidata Query Service generates an extra "datatype" field.

The RDF model asserts that a literal with a langtag is considered to have a datatype of rdf:langString. The various formats state exactly how literals with langtags are written. The former specifies how APIs behave, such as a SPARQL FILTER DATATYPE("ab"@es) = rdf:langTag; the latter specifies that it's written {"type":"literal", "value":"ab", "xml:lang":"es"}. The rules for the XML and JSON results formats are that the implicit datatype of langtagged literals is omitted.

Jun 21 2019, 6:07 AM · Patch-For-Review, Discovery-Wikidata-Query-Service-Sprint, Wikidata-Query-Service, Wikidata

Jun 20 2019

ericP added a comment to T224962: Syntax highlighting for ShEx editor.

That's way cooler than mine. @Jelabra, can that be plugged in today?

Jun 20 2019, 7:16 AM · Wikidata, Shape Expressions

Jun 11 2019

ericP added a comment to T225492: extends SchemaExtension with fields capturing positive and negative examples.

The schema for human advertises both the entities which should pass and ones that should fail. This sort of QC can help keep the schemas themselves testable and more reliable over time and many editors.

Jun 11 2019, 10:19 AM · Wikidata, Shape Expressions
ericP updated subscribers of T224962: Syntax highlighting for ShEx editor.

I mocked up using the ace ShExC mode in an EntitySchema.


The [x]s at the left come form an WebWorker which runs a shex.js ShEx parser asynchronously. If you uncomment the PREFIX decl at the top of the schema, you'll see the [x]s go away in ~.2 seconds.

Jun 11 2019, 9:32 AM · Wikidata, Shape Expressions

Jun 3 2019

ericP added a comment to T214884: linking Schemas in statements.

You might not want to add it to the data itself as people persuing different use cases will want to assert that the item is linked to different schemas. When I go to test whether a schema matches <SomeSpecialWidget>, I won't be interested in whether it matches everything else it's ever been used for, so at the very least, properties linking data to schemas are advisory and not required for the validation infrastructure.

Jun 3 2019, 7:03 AM · Wikidata-Campsite, Patch-For-Review, MW-1.34-notes (1.34.0-wmf.17; 2019-08-06), User-Ladsgroup, Wikidata, Shape Expressions

May 24 2019

ericP added a comment to T221604: remove control menu in shex simple tool.

I believe that removing the results section makes it basically impossible to diagnose errors.
I added a switch ?ui=full to enable the results section and the control menu. You can see it in use in a video. Does the behavior without that switch close this issue?

May 24 2019, 8:07 AM · Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), Shape Expressions, Wikidata

May 23 2019

ericP added a comment to T223997: Add reserved IDs to EntitySchema.

propose adding E12345 to the list 'cause it's not uncommon to have to model three interconnected schemas and E123{,4{,5}} is a nice mnemonic for a scratch space for that.
other than that, +1 to calling this done.

May 23 2019, 10:34 AM · User-Michael, Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), Wikidata, Shape Expressions