Relatively new to SMW here... but I'm using an inline <ask> query to retrieve
all pages that contain an attribute beginning with a specific letter.
Surprisingly, I don't see any doc's on this particular type of query, though
(http://ontoworld.org/wiki/Help:Semantic_search)

So, to find all pages in 'SomeCategory' that have a TermName beginning with
the letter 'M', I have the following query:
=============
<ask mainlabel="Term Name"> 
 [[Category:SomeCategory]]  
 [[TermName:=M*]] 
</ask>
=============

But I don't know if that's the right syntax... and it's certainly not
working.
(when I write ' [[TermName:=*]]', I  get numerous results back)

Can anyone point me to the URL or advise on syntax ?

thnx
-- 
View this message in context: 
http://www.nabble.com/simple-%3Cask%3E-question-tf4002068.html#a11367439
Sent from the Semantic Mediawiki - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-user

Reply via email to