Thanks for you reply, Daniel.

I have to confess that I didn't the manual thoroughly. However, I do not
want multiple values.
The "Arts, Music, Literature" is just one subject instead of three. So my
question is still not answered, right? Is there any way to accomplish this?

Jason

On Wed, Jan 14, 2009 at 12:23 PM, Daniel Friesen <dan_the_...@telus.net>wrote:

> Let me guess, you didn't read the manual and are trying to use commas to
> list multiple values without looking on the proper way to do an or query?
> Commas are taken as literal values, || is used inside of a block to
> separate multiple values.
>
>         {{#ask: [[subject::Arts||Music||Literature]]
>         | ?title
>         | ?author
>         }}
>
> Or if you were trying to do an AND:
>
>         {{#ask: [[subject::Arts]] [[subject::Music]]
> [[subject::Literature]]
>         | ?title
>         | ?author
>         }}
>
> ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://nadir-seen-fire.com]
> -Nadir-Point (http://nadir-point.com)
> -Wiki-Tools (http://wiki-tools.com)
> -Animepedia (http://anime.wikia.com)
> -Narutopedia (http://naruto.wikia.com)
> -Soul Eater Wiki (http://souleater.wikia.com)
>
>
>
> Jason Zou wrote:
> > Hi everyone,
> >
> > I am new to this list and semantic wiki. I tried to use inline query but
> > found out that it seems that commas are not allowed in a query.
> > The problem query is very simple as follows:
> >          {{#ask: [[subject::Arts, Music, Literature]]
> >          | ?title
> >          | ?author
> >          }}
> > My other queries without commas work fine.
> >
> > Is this a bug or is the query designed this way?
> >
> > Thanks,
> >
> > Jason
> >
> >
> > ------------------------------------------------------------------------
> >
> >
> ------------------------------------------------------------------------------
> > This SF.net email is sponsored by:
> > SourcForge Community
> > SourceForge wants to tell your story.
> > http://p.sf.net/sfu/sf-spreadtheword
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> Semediawiki-user mailing list
> semediawiki-u...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/semediawiki-user
>
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to