lubm benchmark auf MySQL laden
hallo
Ich habe Daten von der lubm Benchmark (eine Ontologie-basierte Datenbasis) als CSV Format bekommen und möchte diese auf MySQL laden. Die CSV Daten bestehen aus zwei Teilen. Zuerst wird jedes Individuum beschrieben ( C(a) ... Individuum a ist eine Instanz vom Konzept C, e.g. Professor(peters) )
Bsp von lubm:
http://www.Department0.University0.edu,"Department"
http://www.Department0.University0.edu/AssistantProfessor0,"AssistantProfessor"
http://www.Department0.University0.edu/AssistantProfessor0/Publication0,"Publication"
http://www.Department0.University0.edu/AssistantProfessor0/Publication1,"Publication"
http://www.Department0.University0.edu/AssistantProfessor0/Publication2,"Publication"
http://www.Department0.University0.edu/AssistantProfessor0/Publication3,"Publication"
http://www.Department0.University0.edu/AssistantProfessor0/Publication4,"Publication"
und der zweite Teile beschreibt die Relationen R(a,b) ... die Individuen a und b sind durch eine Relation R verbunden teaches (peters,mathe)
Bsp lubm:
http://www.Department0.University0.edu,"http://www.Department0.University0.edu/AssistantProfessor0","worksFor^-"
http://www.Department0.University0.edu,"http://www.Department0.University0.edu/AssistantProfessor1","worksFor^-"
http://www.Department0.University0.edu,"http://www.Department0.University0.edu/AssistantProfessor2","worksFor^-"
http://www.Department0.University0.edu,"http://www.Department0.University0.edu/AssistantProfessor3","worksFor^-"
http://www.Department0.University0.edu,"http://www.Department0.University0.edu/AssistantProfessor4","worksFor^-"
Das ganze ist wie ein ER Modell. Nun habe ich leider keine Ahnung wie ich das auf MySQL laden kann. Wie gesagt alles ist im CSV-Format und alles ist getrennt in C(a) und den Relationen R(a,b)
Vielen Dank
|