odalic / sti

An API and enhancements to the Semantic Table Interpretation
Other
3 stars 0 forks source link

Export to RDF - datatypes not properly exported! #485

Closed tomas-knap closed 6 years ago

tomas-knap commented 6 years ago

If you export RDF data for a file which contains the same main entity on multiple rows, the datatype predicates are not properly exported as literals - but rather as resources - see start/end below, should be exported as literals!!

Tomas will explain if needed

See also: http://adequate-project-odalic-ui.semantic-web.at/odalic-ui/#/taskresult/autoimport-03kBwnY0HFd-eUy

@prefix owl: http://www.w3.org/2002/07/owl# . @prefix rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns# . @prefix xsd: http://www.w3.org/2001/XMLSchema# . @prefix dcterms: http://purl.org/dc/terms/ .

https://adequate-project-pp.semantic-web.at/ADEQUATe_KB/876ea1d5-3df5-4d2a-8893-c6ac8333c38b dcterms:title "16W" ; a https://adequate-project-pp.semantic-web.at/ADEQUATe/Semester .

https://adequate-project-pp.semantic-web.at/ADEQUATe_KB/5aaec98c-2fba-49af-921a-dd191a5f7977 dcterms:title "Grundlagen der Volkswirtschaftslehre" ; a https://adequate-project-pp.semantic-web.at/ADEQUATe/Lehrveranstaltung .

https://adequate-project-pp.semantic-web.at/ADEQUATe_KB/c85eb605-7a87-451d-ac34-71d55ca463f2 dcterms:title "TC" ; a https://adequate-project-pp.semantic-web.at/ADEQUATe/Gebaude .

https://adequate-project-pp.semantic-web.at/ADEQUATe_KB/5aaec98c-2fba-49af-921a-dd191a5f7977 https://adequate-project-pp.semantic-web.at/ADEQUATe/semester https://adequate-project-pp.semantic-web.at/ADEQUATe_KB/876ea1d5-3df5-4d2a-8893-c6ac8333c38b ; https://adequate-project-pp.semantic-web.at/ADEQUATe/gebaude https://adequate-project-pp.semantic-web.at/ADEQUATe_KB/c85eb605-7a87-451d-ac34-71d55ca463f2 ; https://adequate-project-pp.semantic-web.at/ADEQUATe/start <2016-10-17T11:00:00> ; https://adequate-project-pp.semantic-web.at/ADEQUATe/end <2016-10-17T13:30:00> ; https://adequate-project-pp.semantic-web.at/ADEQUATe/start <2016-10-19T11:00:00> ; https://adequate-project-pp.semantic-web.at/ADEQUATe/end <2016-10-19T13:30:00> ; https://adequate-project-pp.semantic-web.at/ADEQUATe/start <2016-10-24T11:00:00> ; https://adequate-project-pp.semantic-web.at/ADEQUATe/end <2016-10-24T13:30:00> ; https://adequate-project-pp.semantic-web.at/ADEQUATe/start <2016-10-31T11:00:00> ; https://adequate-project-pp.semantic-web.at/ADEQUATe/end <2016-10-31T13:30:00> ; https://adequate-project-pp.semantic-web.at/ADEQUATe/start <2016-11-02T11:00:00> ; https://adequate-project-pp.semantic-web.at/ADEQUATe/end <2016-11-02T13:30:00> .

tomas-knap commented 6 years ago

@josef-janousek , to reproduce:

1) Go to: http://www_opendataportal_at.pages.adequate-project.semantic-web.at:8082/all_course_events_2016w/ 2) Click on Odalic next to the CSV file there 3) Log in (i will send details via email) 4) You should directly see the result - when you try to export as RDF turtle, you will get those issues