- From: Johannes Koch <koch@w3development.de>
- Date: Tue, 04 Mar 2008 12:04:38 +0100
- Cc: public-rdf-in-xhtml-tf@w3.org
Johannes Koch schrieb:
> But maybe I missed something again.
Given the example
<div about="http://dbpedia.org/resource/Baruch_Spinoza"
rel="dbp:influenced">
<div>
<span property="foaf:name">Albert Einstein</span>
<span property="dbp:dateOfBirth"
datatype="xsd:date">1879-03-14</span>
</div>
</div>
the following is what I read from the algorithm specified in section 5.5.
1. "/:div":
[evaluation context]:
[list of incomplete triples]: empty
[recurse] (step 1): 'true'
[skip element] (step 1): 'false'
[new subject] (step 5): <http://dbpedia.org/resource/Baruch_Spinoza>
[current object resource] (step 8): _:a
[local list of incomplete triples] (step 8):
* <http://dbpedia.org/resource/Baruch_Spinoza> dbp:influenced ? .
2. "/:div/:div":
[evaluation context]:
[parent subject]: <http://dbpedia.org/resource/Baruch_Spinoza>
[parent object]: _:a
[list of incomplete triples]:
* <http://dbpedia.org/resource/Baruch_Spinoza> dbp:influenced ? .
[recurse] (step 1): 'true'
[skip element] (step 4): 'true'
[new subject] (step 4): _:a
[current object resource] (step 1): null
[local list of incomplete triples] (step 1): null
3. "/:div/:div/:span[1]":
[evaluation context]:
[parent subject]: <http://dbpedia.org/resource/Baruch_Spinoza>
[parent object]: _:a
[list of incomplete triples]:
* <http://dbpedia.org/resource/Baruch_Spinoza> dbp:influenced ? .
[recurse] (step 1): 'true'
[skip element] (step 4): 'true'
[new subject] (step 4): _:a
[current object resource] (step 1): null
[local list of incomplete triples] (step 1): null
[current object literal] (step 9): "Albert Einstein"
----> create _:a foaf:name "Albert Einstein" .
As [skip element] is 'true'
-> incomplete triples in [evaluation context] not completed (skip 11)
return 'true' (step 12)
4. "/:div/:div/:span[2]":
[evaluation context]:
[parent subject]: <http://dbpedia.org/resource/Baruch_Spinoza>
[parent object]: _:a
[list of incomplete triples]:
* <http://dbpedia.org/resource/Baruch_Spinoza> dbp:influenced ? .
[recurse] (step 1): 'true'
[skip element] (step 4): 'true'
[new subject] (step 4): _:a
[current object resource] (step 1): null
[local list of incomplete triples] (step 1): null
[current object literal] (step 9): "1879-03-14"^^xsd:date
----> create _:a dbp:dateOfBirth "1879-03-14"^^xsd:date .
As [skip element] is 'true'
-> incomplete triples in [evaluation context] not completed (skip 11)
return true (step 12)
5. "/:div/:div":
As [skip element] is 'true'
-> incomplete triples in [evaluation context] not completed (skip 11)
return 'true' (step 12)
6. "/:div":
[skip element] is 'false', 'true' returned from processing
"/:html/:body/:div/:div", but no incomplete triples in [evaluation context]
return 'true' (step 12)
The incomplete triple
<http://dbpedia.org/resource/Baruch_Spinoza> dbp:influenced ? .
is never completed.
--
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)
Received on Tuesday, 4 March 2008 11:04:54 UTC