Hi Mary,

Well, if you want to restrict the results, you can still do that - for
instance, you can change the first line of the query to be:

{{#ask: [[Research technologies::<q>[[Category:People]]</q>]]

(Though I don't know why you'd add this particular #set_internal call to
any page not in that category.)

If you want to *display* additional information, though, then you might
have to use the inverse property - though that has its own complications.

-Yaron

On Mon, Feb 18, 2013 at 4:25 PM, Beebe, Mary J <bee...@battelle.org> wrote:

> Thanks that works but then I cannot add any information about the main
> page.  Like if I wanted to restrict it to a certain category that the main
> page is in.  [[Category:People]].     ****
>
> ** **
>
> That may have been when we needed the inverse property.    ****
>
> ** **
>
> Mary Beebe****
>
> Battelle - Charlottesville, VA****
>
> ** **
>
> ***Confidentiality Notice***
>
> *This message is intended only for the use of the individual or entity to
> which it is addressed, and may contain information that is privileged,
> confidential and/or otherwise exempt from disclosure under applicable law.
> If the reader of this message is not the intended recipient or the employee
> or agent responsible for delivering the message to the intended recipient,
> any disclosure, dissemination, distribution, copying or other use of this
> communication or its substance is prohibited. If you have received this
> communication in error, please return to the sender and delete from your
> computer system.*****
>
> ** **
>
> *From:* yaro...@gmail.com [mailto:yaro...@gmail.com] *On Behalf Of *Yaron
> Koren
> *Sent:* Monday, February 18, 2013 3:38 PM
> *To:* Beebe, Mary J
> *Cc:* Semediawiki-devel@lists.sourceforge.net
> *Subject:* Re: [SMW-devel] Internal objects - Show page name when querying
> ****
>
> ** **
>
> Hi Mary,****
>
> ** **
>
> The query should instead be:****
>
> ** **
>
> {{#ask: [[Research technologies::+]]****
>
> | ?Research technologies=People****
>
> | ?Conducts research on=Technology****
>
> | format=table****
>
> | mainlabel=-****
>
> |}****
>
> ** **
>
> (Though I might call that column "Person" instead of "People".)****
>
> ** **
>
> -Yaron****
>
> ** **
>
> On Mon, Feb 18, 2013 at 3:09 PM, Beebe, Mary J <bee...@battelle.org>
> wrote:****
>
> I have an internal object set like this:****
>
> {{#set_internal:Research_technologies****
>
> |Conducts research on=Engineering****
>
> |Field2=CAD****
>
> }}****
>
> I am wanting to show page names for all research topics that a person has
> with his name:****
>
> I tried this:****
>
> {{#ask: [[-Research_technologies::+]]****
>
> | ?Conducts research on=Technology****
>
> | format=table****
>
> | mainlabel=People****
>
> |}****
>
> I get the results but Conducts research is empty.  ****
>
>  ****
>
> If I do this (no inverse):****
>
> {{#ask: [[Research_technologies::+]]****
>
> | ?Conducts research on=Technology****
>
> | format=table****
>
> | mainlabel=People****
>
> |}****
>
>  ****
>
> It works but I get the #number after their name. ****
>
>  ****
>
> Thanks,****
>
>  ****
>
> Mary Beebe****
>
>  ****
>
> ***Confidentiality Notice*******
>
> *This message is intended only for the use of the individual or entity to
> which it is addressed, and may contain information that is privileged,
> confidential and/or otherwise exempt from disclosure under applicable law.
> If the reader of this message is not the intended recipient or the employee
> or agent responsible for delivering the message to the intended recipient,
> any disclosure, dissemination, distribution, copying or other use of this
> communication or its substance is prohibited. If you have received this
> communication in error, please return to the sender and delete from your
> computer system.*****
>
>  ****
>
>
>
> ------------------------------------------------------------------------------
> The Go Parallel Website, sponsored by Intel - in partnership with Geeknet,
> is your hub for all things parallel software development, from weekly
> thought
> leadership blogs to news, videos, case studies, tutorials, tech docs,
> whitepapers, evaluation guides, and opinion stories. Check out the most
> recent posts - join the conversation now.
> http://goparallel.sourceforge.net/
> _______________________________________________
> Semediawiki-devel mailing list
> Semediawiki-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel****
>
>
>
> ****
>
> ** **
>
> --
> WikiWorks · MediaWiki Consulting · http://wikiworks.com ****
>



-- 
WikiWorks · MediaWiki Consulting · http://wikiworks.com
------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to