nkons / r2rml-parser

R2RML Parser is an award-winning tool that can export relational database contents as RDF graphs, based on an R2RML mapping document.
Apache License 2.0
69 stars 21 forks source link

batch file error #25

Open SIRINEM opened 7 years ago

SIRINEM commented 7 years ago

hi, when i execute my batch file i get this error error:Unable to find or load main class gr.seab.r2rml.beans.Main

nkons commented 7 years ago

Hi, Please give some more information, including: operating system, java version, shell command you are trying, and log file output.

SIRINEM commented 7 years ago

my os is windows 7 professional, java version:Eclipse IDE for Java Developers (Neon.1a Release (4.6.1)), mysql version is 5.7.9. and this is how i executed the batch file command

nkons commented 7 years ago

Could you try running the batch file from folder r2rml-parser-0.8-alpha? It looks like the problem is that parameter -cp "./*;./lib/*;" in the batch file does not find any jars to add in the classpath.

SIRINEM commented 7 years ago

thank you it works. now i got the tool in the target folder, how do i begin to transform my tables into rdf?

nkons commented 7 years ago

Great that it now works.

Can you make the question more specific please?

If not at this point, see the Getting Started and Examples pages in the wiki, and try to reproduce the iswc example (example no. 5).

Some familiarity with relational databases and rdf is required, though. You could start with the book Materializing the Web of Linked Data, especially Chapters 2 (Deploying Linked Open Data: Methodologies and Software Tools) and 4 (Creating Linked Data from Relational Databases).

SIRINEM commented 7 years ago

I created two tables in mysql and i want to transform them into rdf but i don't know how to start after i got the tool in the target folder.

nkons commented 7 years ago

I'm afraid the question is still too vague. Could you please be more specific: e.g. do you have a sql schema, sql queries that extract the data from the database, an rdf skeleton to populate? How do these look like?

youcoul commented 7 years ago

hello, I have the same problem and running directly in the "r2rml-parser-0.8-alpha" folder does not work too. I'm on linux Could you help me to run the program.

cordially capture du 2017-05-10 17 40 22

nkons commented 7 years ago

@youcoul Could you try running the batch file from folder r2rml-parser-0.8-alpha? (see comment above)

youcoul commented 7 years ago

I run from the r2rml-parser-0.8-alpha file, but it does not work, nothing happens

nkons commented 7 years ago

Maybe this is a permissions problem, could you verify it is executable (and if not, run a chmod +x) ?

youcoul commented 7 years ago

yes it is executable, But when I execute nothing happens.