[SMW-devel] n-ary relations - how to escape semicolons?

2008-09-26 Thread Patrick Nagel
Hi,

I need to enter values which contain semicolons (specifically: nbsp;) into
n-ary properties - but SMW will interpret the semicolons as divider. How to get
around this?

Patrick.

-- 
Key ID: 0x86E346D4http://patrick-nagel.net/key.asc
Fingerprint: 7745 E1BE FA8B FBAD 76AB 2BFC C981 E686 86E3 46D4

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel


[SMW-devel] N-ary

2008-05-15 Thread Robert Murphy
Dear Developers,

I run a wiki with a vast amount of N-ary data.  I have yet to hear
from anyone who has successfully figured out how to query N-ary data.
Some of you may have seen my many question on the User Mailing List,
but no has ever said anything other than I hear someone somewhere at
sometime solved that with templates.  I have not been able to solve
it with templates and no semantic mediawiki I've found has either.
I'm afraid no one has seriously considered the possibility that N-ary
data is inaccessible from with Mediawiki.

Basically, if you do pass a query to templates, and one of the
parameters is N-ary, then a comma separated list of all fields is
passed and there seems to be no way to handle that data from within a
template, even if there's only one instances of the n-ary value.  If I
were just within Perl of PHP, splitting on regex's the passed N-ary
data would be a piece of cake.  However, such programming language
features as split and arrays are not possible within a template.  I
think this problem warrants serious developer attention.

Thank you,

Robert

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel