Project

General

Profile

Bug #54

Blank nodes load incorrectly from N3 files

Added by Paula Gearon about 17 years ago. Updated almost 17 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Mulgara
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
fixed

Description

Loading the following N3 file (from the SPARQL docs) results in 6 separate blank nodes, when there should be only 2 separate blank nodes:
<br/>

<br/>

<br/>
@prefix foaf:       &lt;<a href="http://xmlns.com/foaf/0.1/">http://xmlns.com/foaf/0.1/</a>&gt; .
<br/>
@prefix rdf:        &lt;<a href="http://www.w3.org/1999/02/22-rdf-syntax-ns#">http://www.w3.org/1999/02/22-rdf-syntax-ns#</a>&gt; .
<br/>

<br/>
_:a  rdf:type        foaf:Person .
<br/>
_:a  foaf:name       &quot;Alice&quot; .
<br/>
_:a  foaf:mbox       &lt;mailto:<a href='mailto:alice@example.com'>alice@example.com</a>&gt; .
<br/>
_:a  foaf:mbox       &lt;mailto:<a href='mailto:alice@work.example'>alice@work.example</a>&gt; .
<br/>

<br/>
_:b  rdf:type        foaf:Person .
<br/>
_:b  foaf:name       &quot;Bob&quot; .
#1

Updated by Paula Gearon almost 17 years ago

Fixed, but there is still an optimization to do where it expects that numeric blank nodes to look like _:###, when they really look like _:node###.
#2

Updated by Paula Gearon almost 17 years ago

_:node### now handled numerically rather than as a string

Also available in: Atom PDF