Given this file (also attached, and note the three commented-out lines) :
==========
@prefix : <http://www.computas.com/mediasone-ontologi#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix mediasone: <http://www.computas.com/mediasone#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
:Litteratur rdf:type owl:Class .
:Hoerespill rdf:type owl:Class ;
rdfs:subClassOf :Litteratur .
:Lydbok rdf:type owl:Class ;
rdfs:subClassOf :Litteratur .
#:Lyrikk rdf:type owl:Class ;
# rdfs:subClassOf :Litteratur .
:Sangtekstforfatter rdf:type owl:Class ;
owl:equivalentClass [ rdf:type owl:Class ;
owl:unionOf ( :Hoerespill
:Lydbok
# :Lyrikk
)
] .
==========
In isql-v, I import it as:
"ttlp (file_to_string_output ('testcase.n3'),
'http://www.computas.com/mediasone/','http://msone.computas.no/testcase',
255);"
In both snapshot 20090504 and snapshot 20090803, this work fine. A "select
* FROM <http://msone.computas.no/testcase> WHERE {?s ?p ?o}" returns a fine
linked list, starting with something like
"nodeID://1000011825 http://www.w3.org/2002/07/owl#unionOf nodeID://1000011
826" (more triples follows)
The bug:
Uncomment the three lines in the file. All that changes is that
:Sangtekstforfatter now is a union of three classes, not two. Clear graph,
an reimport. In snapshot 20090504, you will get a fine linked list. In
snapshot 20090803, the linked list is broken, starting with
"nodeID://1000011825 http://www.w3.org/2002/07/owl#unionOf http://www.w3.or
g/1999/02/22-rdf-syntax-ns#nil"
Ivan Mikhailov
RDF - SPARQL
None
Public
|
Date: 2009-12-15 13:43 The patch caused two regressions. |
|
Date: 2009-11-25 18:55 Fixed in both brances, the fix will appear in the next releases. Meanwhile, |
|
Date: 2009-11-25 00:06 I've reproduced the error on current development build, In my case, I have |
|
Date: 2009-11-23 14:42 For the record, the bug is also present in Virtuoso 6.0 |
| Filename | Description | Download |
|---|---|---|
| testcase.n3 | File with a working testcase. Uncomment the three commented lines to recreate the bug. | Download |
| 091125_bug2872912_fix.diff | Patch for latest commercial versions, should work for other recent versions as well. | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| resolution_id | None | 2009-11-25 18:59 | iv-an-ru |
| category_id | None | 2009-11-25 18:59 | iv-an-ru |
| File Added | 352538: 091125_bug2872912_fix.diff | 2009-11-25 18:58 | iv-an-ru |
| summary | Importing turtle may fail (snapshot 20090803) | 2009-11-23 14:44 | frodegill |
| assigned_to | nobody | 2009-10-05 13:12 | iodbc |
| File Added | 345394: testcase.n3 | 2009-10-05 12:59 | frodegill |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use