Re: [SMW-devel] Internal objects - Show page name when querying
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::[[Category:People (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 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 > 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 > > > > > > ** ** > >
Re: [SMW-devel] Internal objects - Show page name when querying
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 mailto: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<mailto:Semediawiki-devel@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- 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
Re: [SMW-devel] Internal objects - Show page name when querying
Hmm, I think the property "Conducts research on" is an attribute of the subobjects not of the Person pages selected which contain values for the property 'Research technologies". I suspect a template is necessary that first queries the people to be displayed and then queries each 'Research technologies" subobject associated with the Person in order to fetch its property "Conducts research on" and then normalizes &or sorts the returned sets of "Conducts research on" values, for best presentation of each row in the result table. -john On 18.02.2013 12:37, Yaron Koren wrote: > 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 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/ [1] >> ___ >> Semediawiki-devel mailing list >> Semediawiki-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel [2] > > -- > WikiWorks · MediaWiki Consulting · http://wikiworks.com [3] > > -- > 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/ [1] > > ___ > Semediawiki-devel mailing list > Semediawiki-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/semediawiki-devel [2] Links: -- [1] http://goparallel.sourceforge.net/ [2] https://lists.sourceforge.net/lists/listinfo/semediawiki-devel [3] 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
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 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 -- 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