Hi Marcelo,

Yes, the first property goes from the internal object to the page - which
means that "hasAnInternalObject" is not an ideal name for it. but
nonetheless that query should work. Two questions:

- What is the full query you're calling? Maybe there's an error in the
syntax.

- Is "hasAnInternalObject" defined as a property of type Page?

-Yaron


On Thu, Nov 8, 2012 at 9:22 PM, Marcelo Chiaradía <
chiaradiamarc...@gmail.com> wrote:

> Hello everyone,
>
> Im using the semantic media wiki, with the Semantic Internal Objects
> extension, version 0.6.8.
>
> In one of my pages I have a template, that receives several parameters,
> and the create an internal object with a "hasAnInternalObject" property.
> This is my template:
>
> <noinclude>
> This is the "MyTemplate" template.
> It should be called in the following format:
> <pre>
> {{MyTemplate
> |Language=
> |Keywords=
> }}
> </pre>
> Edit the page to see the template text.
> </noinclude><includeonly>
> {{#set_internal:hasAnInternalObject
> |language={{{Language|}}}
> |keyword#list={{{Keywords}}}
> }}
> </includeonly>
>
> I can see in my Database that it creates a "hasInternalObject"
> relationship from the internal object to the page that defines it. (I
> supposed that this was gonna be from the page to the internal object, but
> it wasn`t).
>
> Now I would like to query all my internal objects defined like before, but
> I get no results. The query i used for this is
>
> [[hasAnInternalObject::+]]
>
> Any help?
>
> Thanks in advance,
>
> Marcelo.
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_nov
> _______________________________________________
> Semediawiki-devel mailing list
> Semediawiki-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
>
>


-- 
WikiWorks · MediaWiki Consulting · http://wikiworks.com
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to