160 likes | 168 Views
I nteroperability W orking D ays October 10th-11th, 2005. Import experiments in Corese. Olivier Corby <olivier.corby@sophia.inria.fr > October 10th, 2005. Index. Execution of the benchmark suite Comments on how Corese imports Comments on the experimentation.
E N D
Interoperability Working Days October 10th-11th, 2005 Import experiments in Corese Olivier Corby <olivier.corby@sophia.inria.fr> October 10th, 2005
Index • Execution of the benchmark suite • Comments on how Corese imports • Comments on the experimentation
Execution of the benchmark suite No modifications were needed in the tool for performing the experimentation. • Copy the benchmark in a local directory. • Load the files into Corese. • Export the content of each file back to RDF using a generic query : // Create a CoreseCorese corese = new Corese("benchmark.properties", // which data to load "/user/path/data"); // path where to find data String query = "select group ?src sort ?src where " + "source ?src (?x ?p ?y ) " + "filter ( ?src ~ 'graph' && ?x != ?src ) "; RDFResult res = corese.query(query); CoreseGraph cg ; for (Enumeration en = res.getValues(); en.hasMoreElements(); ) { cg = (CoreseGraph) en.nextElement(); System.out.println(cg.toRDF()); }
Index • Execution of the benchmark suite • Comments on how Corese imports • Comments on the experimentation
Benchmarks that Corese doesn’t pass Cycles in class taxonomies Benchmarks: I11 Example: ... <Class rdf:about="http://nothing.org/graph11#class1"> <rdfs:subClassOf rdf:resource="http://nothing.org/graph11#class2"/> </Class> <Class rdf:about="http://nothing.org/graph11#class2"> <rdfs:subClassOf rdf:resource="http://nothing.org/graph11#class1"/> </Class> ... The semantics of cycles in class taxonomies are undefined in Corese.
Benchmarks that Corese doesn’t pass Cycles in property taxonomies Benchmarks: I24 Example: ... <rdf:Property rdf:about="http://nothing.org/graph21#property1"> <rdfs:subPropertyOf rdf:resource="http://nothing.org/graph21#property2"/> </rdf:Property> <rdf:Property rdf:about="http://nothing.org/graph21#property2"> <rdfs:subPropertyOf rdf:resource="http://nothing.org/graph21#property1"/> </rdf:Property> ... The semantics of cycles in property taxonomies are undefined in Corese.
Index • Execution of the benchmark suite • Comments on how Corese imports • Comments on the experimentation
Comments on modifications performed on the tool Some errors in Corese were fixed: • The RDF pretty printer printed the source of each document in answer to a generic query because the source is represented as a standard resource within the graph. The pretty printer has been corrected in order not to print the source unless required. • The RDF pretty printer did not print correctly the case : xxx rdf:type class1 class1 rdf:type class2 the second type statement was not printed, it has been corrected. • The RDF pretty printer did print an rdfs:label (if possible) even if not required by the query. Now, it does it only at user option.
Comments on the benchmark suites • There is no test for the specialization of the metamodel, e.g. : c:subRelation rdfs:subPropertyOf rdfs:subPropertyOf c:type c:subRelation rdf:type • There is no test for literals with language
Interoperability Working Days October 10th-11th, 2005 Import experiments in Corese Olivier Corby <olivier.corby@sophia.inria.fr> October 10th, 2005