sparna-git / xls2rdf

Create RDF data from Excel spreadsheets - edit SKOS vocabularies, knowledge graph instances, SHACL constraints, OWL ontologies in Excel files. Available as HTTP service, upload form, command-line, or Java API.
https://xls2rdf.sparna.fr
GNU Lesser General Public License v3.0
17 stars 3 forks source link

Generic RDF, RDF generation when there aren't instances #35

Closed EmidioStani closed 2 years ago

EmidioStani commented 2 years ago

Hello @tfrancart ,

I wanted use your tool to generate generic RDF.

I take the example 4 and I remove lines below the URI (the instances) in the sheet Locations, because for me these are optional, it still generates:

schema:Place a skos:ConceptScheme .

So to make it consistent, I am obliged to overwrite it by adding metadata in header (like rdf:type rdfs:Class) despite in A1 I have "Class URI", is this the expected behaviour ?

Would it be possible to generate nothing as I don't have instances ?

tfrancart commented 2 years ago

Yes, use the option to avoid SKOS-specific post-processings. This is here in the web UI :

image

And this is option -np in command line (see https://github.com/sparna-git/xls2rdf/wiki/Command-line-Excel-to-RDF-conversion)

EmidioStani commented 2 years ago

Thanks! that is what I needed