Hi,

This seems like a bad hack. I assume this is part of your effort to have
the page store the usernames of all its contributors? If so, the Semantic
Extra Special Properties extension may be the better approach - I believe
it stores that information using the "Page author" property:

https://www.mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties

-Yaron



On Sat, Apr 20, 2013 at 3:05 PM, Marcelo Chiaradía <
chiaradiamarc...@gmail.com> wrote:

> Hi everyone,
>
> I have saved an internal object which has several properties:
>
> {{#set_internal:isInternalObjectOf
> |property1=value1
> |property2=value2
> |name=object_name
> }}
>
> I have a situation where eventually I need to define a new internal object
> using the properties of the object saved before as values.
>
> The way I found to do this is through semantic queries:
>
> {{#set_internal:isInternalObjectOf
> |property1={{#ask: [[-property1::[[name::object_name]] ]]}}
> |property2={{#ask: [[-property2::[[name::object_name]] ]]}}
> }}
>
> The sintax may be not quite correct, just to show the idea.
>
> The problem with this approach is that for every property, I have to make
> a new query. Is there some way to do this with only one query?
>
> Thanks in advance.
>
> Marcelo.
>
>
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> Semediawiki-devel mailing list
> Semediawiki-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
>
>


-- 
WikiWorks · MediaWiki Consulting · http://wikiworks.com
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to