LinDA-tools / LindaWorkbench

Linked Data tools for SMEs
http://www.linda-project.eu
MIT License
16 stars 7 forks source link

RDF2Any for CSV includes the unique identifier of the object in a column #62

Closed smouzakitis closed 9 years ago

smouzakitis commented 10 years ago

RDF2Any for CSV includes the unique identifier of the object in a column. For example take a look at the https://health.data.ny.gov/api/views/hbu9-xsrx/rows.rdf . The "http://health.data.ny.gov/resource/hbu9-xsrx/1" in "rdf:about="http://health.data.ny.gov/resource/hbu9-xsrx/1" should be included in a column in each row.

judie90 commented 10 years ago

This has been tackled, please check that it is ok.

efotopoulou commented 10 years ago

Thanks for including the unique reference id of each instance at the query , constructed by the Query builder. Playing around with the Query Builder deployed at Linda Workbench i saw for the case of dbpedia that the first column "url" is exactly what we need. But I could not use the query builder for any other datasource of the LindaWorkbench such as the "Radon-Test-Results-By-Town" or " NYRandonResearch Linear Regression Analytic Result". How i could run the Query Builder for these type of datasources???

judie90 commented 10 years ago

You should be able to do that just by passing the sparql endpoint for the dataset you need as a parameter in the api call.

efotopoulou commented 10 years ago

The datasets i try to construct the sparql query on (by using the Query Builder) have no sparql endpoint. They are private datasets , come from rdf dumps. The current deployed version of Query Builder does not detects the classes in them. Hope i have understood fine your explanation if it is not the case we could do a skype! Thanks for the quick response!

judie90 commented 10 years ago

Since the Query Builder is intended to be used within the LinDA framework, you can only use the it with datasets with a SPARQL endpoint. Private datasets, in order to be used, should first be uploaded to linda and accessed through a SPARQL endpoint.

smouzakitis commented 10 years ago

Hi Judie, yes you can only access datasets uploaded or linked to the LinDA store. For instance someone has uploaded Radon-Test-Results-By-Town (see here http://107.170.70.175:8000/datasources/). I right-click and choose explore. The query builder does not detect the classes. I think you only test your tool only with dbpedia. It will really help you with testing if you use 2-3 data sources other than dbpedia. Also the autocomplete list of all available classes will make things clearer.