Changes between Version 1 and Version 2 of OldRDF2JavaUsingDFKIKnowledgeBase


Ignore:
Timestamp:
12/10/09 10:10:28 (15 years ago)
Author:
schwarz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OldRDF2JavaUsingDFKIKnowledgeBase

    v1 v2  
    9797When you visualize these set of triples you receive the following picture (only the RDF data is shown, not the RDF Schema). Boxes represent resources (RDF subjects) whereas ellipses show literals (strings), which can only be RDF objects. The named and directed edges visualize the predicates. 
    9898 
    99 http://www.dfki.uni-kl.de/~schwarz/rdf2java/testdata/example/example1.a.75.gif 
     99[[Image(http://www.dfki.uni-kl.de/~schwarz/rdf2java/testdata/example/example1.a.75.gif)]] 
    100100[[BR]] ''graph representation of these RDF triples'' 
    101101 
     
    340340Assume further we want to assign a new object for Lisa Simpson plus relevant relationships to this knowledge base. You see the graphical representation of the RDF data to assign on the right image below. We will see below, the assignment won't lead to the result you might expect. Later we will show the correct RDF data to assign... 
    341341 
    342 http://www.dfki.uni-kl.de/~schwarz/rdf2java/testdata/example/example2.a.short.75.gif 
     342[[Image(http://www.dfki.uni-kl.de/~schwarz/rdf2java/testdata/example/example2.a.short.75.gif)]] 
    343343[[BR]] ''the knowledge base so far'' 
    344344 
    345 http://www.dfki.uni-kl.de/~schwarz/rdf2java/testdata/example/example2.b.short.gif 
     345[[Image(http://www.dfki.uni-kl.de/~schwarz/rdf2java/testdata/example/example2.b.short.gif)]] 
    346346[[BR]] ''RDF data to assign to the knowledge base'' 
    347347 
     
    359359The result (knowledge base) is as follows: 
    360360 
    361 http://www.dfki.uni-kl.de/~schwarz/rdf2java/testdata/example/example2.c.short.75.gif 
     361[[Image(http://www.dfki.uni-kl.de/~schwarz/rdf2java/testdata/example/example2.c.short.75.gif)]] 
    362362 
    363363The result is not quite the one, you might have expected when I started this example. There are several mistakes: The Bart object forgot about his name. Then it still "knows" about his parent, but the Homer object doesn't reflect this relationship. As RDF/S doesn't know anything about inverse slots, this is this correct RDF. Finally it's not quite what we wanted to receive. The problem arose right at the beginning, where we specified, what RDF data to assign to the knowledge base. Let's make another assignment: 
    364364 
    365 http://www.dfki.uni-kl.de/~schwarz/rdf2java/testdata/example/example2.a.short.75.gif 
     365[[Image(http://www.dfki.uni-kl.de/~schwarz/rdf2java/testdata/example/example2.a.short.75.gif)]] 
    366366[[BR]] ''the knowledge base so far'' 
    367367 
    368 http://www.dfki.uni-kl.de/~schwarz/rdf2java/testdata/example/example2.b2.short.75.gif    
     368[[Image(http://www.dfki.uni-kl.de/~schwarz/rdf2java/testdata/example/example2.b2.short.75.gif)]] 
    369369[[BR]] ''RDF data to assign to the knowledge base'' 
    370370 
     
    372372However, the result of this assignment will be as follows: 
    373373 
    374 http://www.dfki.uni-kl.de/~schwarz/rdf2java/testdata/example/example2.d.short.75.gif 
     374[[Image(http://www.dfki.uni-kl.de/~schwarz/rdf2java/testdata/example/example2.d.short.75.gif)]]