---- Original Message -----
From: "Marja Koivunen" <ma...@an...>
To: <ch...@bi...>
Sent: Tuesday, September 11, 2007 3:41 PM
Subject: problems with unite models
> Unfortunately I cannot send mail to rdfapi interest list because some
> postmaster problem. Hopefully this will work.
> -----------------
>
> Could someone give me a working example of unite as I cannot make
> uniting models work very reliably.
>
> Here is what I do.
>
> $TestModel1 = $TestDatabase->getModel("test1");
> $TestModel2 = $TestDatabase->getModel("test2");
>
> $TestModel3 = $TestModel1->unite($TestModel2);
>
> Both $TestModel1 and $TestModel2 work fine separately and I can query
> them with SPARQL. I can also see these models in SQL table when I query
> the statements.
>
> Now, if I query $TestModel3 with SPARQL it seems that I may get some
> good information, but also a lot of crap. It gives more hits than it
> should for my queries and also some of the property info seems to be
> mixed up.
>
> If I look $TestModel3 as a table with $TestModel3->writeAsHtmlTable();
> it looks fine but I did not check the URIs in it so maybe it is not.
>
> Any suggestions?
>
> Thanks!
>
> Marja
>
|