Here is the ShExMap example that Eric and I made: https://github.com/rdf-pipeline/translators/tree/master/src/shex/ipsm
eric: I created a manifest.json to drive the overall translation process. I can paste the raw github URL for it into my shexmap online translator page.
https://github.com/rdf-pipeline/translators/tree/master/src/shex/ipsm
https://github.com/rdf-pipeline/translators/tree/master/src/shex/ipsm
https://rawgit.com/shexSpec/shex.js/push-down/extensions/shex-map/doc/shexmap-simple.html
https://raw.githubusercontent.com/rdf-pipeline/translators/master/src/shex/ipsm/manifest.json
https://raw.githubusercontent.com/rdf-pipeline/translators/master/src/shex/ipsm/Observation.shex
david: the translation works in two steps: use the source schema to bind a set of variables (validate step); then use the target schema and those bound variables to generate the target data (materialize step).
eric: Shex currently does not handle named graphs. Still under discussion, but want to do it right.
pawel: Translation is only on the payload graph -- not the metadata graph.
eric: I didn't see a connection between the metadata and payload. Is there?
pawel: There might be, but not for translation purposes.
eric: One of the issues around named graphs is that we're getting more data from json, and you get more data from json than json-ld. If named graphs are in there, we need to guess where to start.
kasia: One example use case was to turn a URI as a string "uri" into an RDF URI reference <uri>.
pawel: Sometimes we glue the
namespace before it also.
... And sometimes we have colons instead of underscores in the
URI string.
example: "http://inter-iot.eu/bodycloud/B4_99_4C_6E_2A_E9"
pawel: I like this example. We
can also use your BP shex example. Interested in writing a
paper on comparing ShExMap with IPSM.
... Maybe IEEE conference.
<scribe> ACTION: David and Eric to finish working out the shexmap example for others to try
ADJOURNED
This is scribe.perl Revision: 1.152 of Date: 2017/02/06 11:04:15 Check for newer version at http://dev.w3.org/cvsweb/~checkout~/2002/scribe/ Guessing input format: Irssi_ISO8601_Log_Text_Format (score 1.00) Succeeded: s/example/ShExMap example/ Succeeded: s|https://hangouts.google.com/_/elUi/chat-redirect?dest=https%3A%2F%2Fgithub.com%2Frdf-pipeline%2Ftranslators%2Ftree%2Fmaster%2Fsrc%2Fshex%2Fipsm|https://github.com/rdf-pipeline/translators/tree/master/src/shex/ipsm| Succeeded: s|https://hangouts.google.com/_/elUi/chat-redirect?dest=https%3A%2F%2Fgithub.com%2Frdf-pipeline%2Ftranslators%2Ftree%2Fmaster%2Fsrc%2Fshex%2Fipsm|https://github.com/rdf-pipeline/translators/tree/master/src/shex/ipsm| Succeeded: s|https://hangouts.google.com/_/elUi/chat-redirect?dest=https%3A%2F%2Frawgit.com%2FshexSpec%2Fshex.js%2Fpush-down%2Fextensions%2Fshex-map%2Fdoc%2Fshexmap-simple.html|https://rawgit.com/shexSpec/shex.js/push-down/extensions/shex-map/doc/shexmap-simple.html| Succeeded: s|https://hangouts.google.com/_/elUi/chat-redirect?dest=https%3A%2F%2Fraw.githubusercontent.com%2Frdf-pipeline%2Ftranslators%2Fmaster%2Fsrc%2Fshex%2Fipsm%2Fmanifest.json|https://raw.githubusercontent.com/rdf-pipeline/translators/master/src/shex/ipsm/manifest.json| Succeeded: s|https://hangouts.google.com/_/elUi/chat-redirect?dest=https%3A%2F%2Fraw.githubusercontent.com%2Frdf-pipeline%2Ftranslators%2Fmaster%2Fsrc%2Fshex%2Fipsm%2FObservation.shex|https://raw.githubusercontent.com/rdf-pipeline/translators/master/src/shex/ipsm/Observation.shex| Present: David_Booth EricP Kasia Pawel Joao No ScribeNick specified. Guessing ScribeNick: dbooth Inferring Scribes: dbooth WARNING: No date found! Assuming today. (Hint: Specify the W3C IRC log URL, and the date will be determined from that.) Or specify the date like this: <dbooth> Date: 12 Sep 2002 People with action items: david eric WARNING: Input appears to use implicit continuation lines. You may need the "-implicitContinuations" option. WARNING: IRC log location not specified! (You can ignore this warning if you do not want the generated minutes to contain a link to the original IRC log.)[End of scribe.perl diagnostic output]