Thanks!

Best Regards,
Andriy

On 10 Jun., 03:13, Holger Knublauch <[email protected]> wrote:
> Hi Andriy,
>
> FYI here is the code that does the check:
>
>         public Image getImage(Resource resource) {
>                 // First check namespace to prevent unnecessary queries
>                 if(resource.getModel().getNsURIPrefix(FOAF.NS) != null) {
>                         Property property = 
> resource.getModel().getProperty(FOAF.depiction.getURI());
>                         if(resource.getModel().contains(null, null, 
> property)) {
>                                 Statement s = 
> SubProperties.getProperty(resource, property);
>
> As this is called often and might be time consuming, the code checks for the 
> existence of a prefix for FOAF first, and then any triple that has the 
> property as its object, e.g. the sub-properties of it in FOAF. RDFex won't do 
> that, and just create triples that have foaf:depiction as subject. So the 
> easiest might be to either declare a sub-property of foaf:depiction, or add 
> some other dummy triple to bypass this. I think I will deactivate this extra 
> condition for the next release.
>
> Thanks ,
> Holger
>
> On Jun 10, 2010, at 4:33 AM, Andriy Sokolov wrote:
>
> > Hello.
>
> > If I import foaf for using foaf:depiction I see pics in Graph-View. If
> > I use foaf:depiction from from rdfex, there no pics displayed.
>
> > Andriy
>
> > On 8 Jun., 16:57, Scott Henninger <[email protected]> wrote:
> >> Addriy; This post is not clear to me.  In particular:
>
> >> <<Its a pity that its not working>>
>
> >> What s not working?
> >> -- Scott
>
> >> On Jun 3, 9:25 am, Andriy Sokolov <[email protected]> wrote:
>
> >>> Halo Scott!
>
> >>> Thanks! I'd proove it, it works. Problem was by me, that I used rdfex
> >>> for importing exactly one property 'depiction'. this was the reason
> >>> why I dont see any pic in Graph..Its a pity that its not working.
> >>> Maybe I should import anything else from rdfex? I dont want to have
> >>> the entire foaf in my ontology..
>
> >>> Best Regards,
> >>> Andriy
>
> >>> Excerpt from my Original message from 31. Mrz.:
>
> >>>> 1) In a new version You have implemented usage of every property for
> >>>> an url or absolute local path of a picture. So one can see a picture
> >>>> by clicking on "+" to the left of the entered path in the "Form"-page.
> >>>> Second possibility to see the picture is the "Graph"-page, but here I
> >>>> don't see any picture.
>
> >>> On 2 Apr., 00:22, Scott Henninger <[email protected]> wrote:
>
> >>>> Andriy; Attached is a file that does this.  Choose the instance 
> >>>> SomeThing (instance of owl:Thing) and click on the Graph view.  The 
> >>>> depiction will appear for the node.
> >>>> -- Scott
> >>>> On 4/1/10 5:15 AM, Andriy Sokolov wrote:Hallo Holger,Open the 
> >>>> Preferences page of the Graph and make sure that "Show images on nodes 
> >>>> where available" has been activated. Holgerthis preference was 
> >>>> activated. Any other possible reasons? Thanks, Andriy
>
> >>>>  unnamed0.n3
>
> > --
> > You received this message because you are subscribed to the Google
> > Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
> > TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
> > To post to this group, send email to
> > [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]
> > For more options, visit this group at
> >http://groups.google.com/group/topbraid-users?hl=en
>
>

-- 
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en

Reply via email to