Re: ShExC schema generator tool for evaluation

Dear Janis,

That looks to be a really interesting and useful tool. Will you eventually be making the code open source?

Best regards,

Alasdair

On 14 May 2017, at 14:57, Janis Kajaks <janis.kajaks@gmail.com<mailto:janis.kajaks@gmail.com>> wrote:

Hello,

I’m a bachelor program student from Faculty of Computing, University
of Latvia, and I’m preparing a bachelor’s work on subject “RDF data
validation using data shapes”. The theoretical part includes analyses
of SHACL and ShEx languages that are used for data shapes and
validation, while in the practical part I’ve decided to create a tool
that can automatically generate ShExC schemas based on the given RDF
data samples: http://bakalauradarbs.azurewebsites.net/ . It means that
if you have RDF data that you already know is valid, you don’t have to
write schemas manually to check if other similar data is valid as
well. The tool is still in the development process, therefore I would
appreciate, if you could find some time, test its current
possibilities, and give me your opinions and suggestions. Detailed
instructions on how to use the tool you can find in section “About”,
but the start is very simple – you can select some sample data for
input and let the tool do its job.

In order to test the tool, I used this online validator:
http://rawgit.com/shexSpec/shex.js/master/doc/shex-simple.html and I
found one test case which was a bit confusing – in ShEx primer
(http://shex.io/shex-primer/index.html#value-sets ) it’s said that you
can use IRIs, literals or language tags for value sets, and a value
set with language tag could look something like this:

my:IssueShape {
 ex:label [@en]
}

But unfortunately it does not work in the chosen validator, it works
only if I append a tilde “~” like this:
my:IssueShape {
 ex:label [@en~]
}

Could you, please, comment on why it works like this?


The deadline for submission of my bachelor’s work is May 29, therefore
I would appreciate if you could send me your impressions till May 25.


Best regards,
Janis Kajaks



Alasdair J G Gray
Fellow of the Higher Education Academy
Assistant Professor in Computer Science,
School of Mathematical and Computer Sciences
(Athena SWAN Bronze Award)
Heriot-Watt University, Edinburgh UK.

Email: A.J.G.Gray@hw.ac.uk<mailto:A.J.G.Gray@hw.ac.uk>
Web: http://www.macs.hw.ac.uk/~ajg33

ORCID: http://orcid.org/0000-0002-5711-4872

Office: Earl Mountbatten Building 1.39
Twitter: @gray_alasdair










________________________________

Founded in 1821, Heriot-Watt is a leader in ideas and solutions. With campuses and students across the entire globe we span the world, delivering innovation and educational excellence in business, engineering, design and the physical, social and life sciences.

This email is generated from the Heriot-Watt University Group, which includes:

  1.  Heriot-Watt University, a Scottish charity registered under number SC000278
  2.  Edinburgh Business School a Charity Registered in Scotland, SC026900. Edinburgh Business School is a company limited by guarantee, registered in Scotland with registered number SC173556 and registered office at Heriot-Watt University Finance Office, Riccarton, Currie, Midlothian, EH14 4AS
  3.  Heriot- Watt Services Limited (Oriam), Scotland's national performance centre for sport. Heriot-Watt Services Limited is a private limited company registered is Scotland with registered number SC271030 and registered office at Research & Enterprise Services Heriot-Watt University, Riccarton, Edinburgh, EH14 4AS.

The contents (including any attachments) are confidential. If you are not the intended recipient of this e-mail, any disclosure, copying, distribution or use of its contents is strictly prohibited, and you should please notify the sender immediately and then delete it (including any attachments) from your system.

Received on Monday, 15 May 2017 12:50:22 UTC