Re: [SMW-devel] Semantic mediawiki and map data

2012-06-19 Thread Kim Eik
I seem to have isolated the issue to the method getProperyValues in the class SqlStubSemanticData. Here it seems that there is some kind of mixup going on when i have defined a container to hold coordinates. According to the code it seems that it tries to fetch a given array entry with the key of t

Re: [SMW-devel] Is it possible to have several {{{standard input|free text}}} fields on a form?

2012-06-14 Thread Kim Eik
Well, would it really be that hard to enable multiple free-text in a given form? As far as i understood on Stephan, we could attach an id to each free-text instance? Kim -- Live Security Virtual Conference Exclusive live

Re: [SMW-devel] Is it possible to have several {{{standard input|free text}}} fields on a form?

2012-06-14 Thread Kim Eik
> What you can do instead is to define a normal text area input and then > display this in the template however you want. You don't have to > assign it to a semantic property. Can you refer me to any documentation regarding this? or maybe a rough example? Thank you Kim --

[SMW-devel] Is it possible to have several {{{standard input|free text}}} fields on a form?

2012-06-14 Thread Kim Eik
Today if you specify two or more {{{standard input|free text}}} a form page and you input value in them both. Only the last value will be displayed, and also duplicated over all instances of the {{{standard input|free text}}}. Why is this? Say if someone wanted to have a form in the middle of a pa

Re: [SMW-devel] Semantic mediawiki and map data

2012-06-12 Thread Kim Eik
ely and utterly wrong? Have i managed to register all the hooks that i need so that datavalues are loaded properly? Kim On Tue, Jun 12, 2012 at 10:13 AM, Kim Eik wrote: > Hi again, sorry for the long wait. I have been working on some slightly > easier tasks for the time being, but

Re: [SMW-devel] Semantic mediawiki and map data

2012-06-12 Thread Kim Eik
Hi again, sorry for the long wait. I have been working on some slightly easier tasks for the time being, but have now returned to this :) So, i'm still having issues where when querying the data from the #ask parser is not showing any data (empty table cell). Please take a look at the polygons bran

Re: [SMW-devel] Semantic mediawiki and map data

2012-05-30 Thread Kim Eik
Ok, added the changes in a new branch polygons: these are the new urls: https://gerrit.wikimedia.org/r/9360 (semanticmaps) https://gerrit.wikimedia.org/r/9361 (smw) -- Live Security Virtual Conference Exclusive live event

Re: [SMW-devel] Semantic mediawiki and map data

2012-05-29 Thread Kim Eik
I tried creating a new branch, however not so successfull. Errors running git rebase -i remotes/gerrit/geopol fatal: Needed a single revision invalid upstream remotes/gerrit/geopol What i ended up with was adding a topic instead as it from the documentation seemed that would be created in its own

Re: [SMW-devel] Semantic mediawiki and map data

2012-05-24 Thread Kim Eik
ys return false instead of the expected container value when it comes to the polygon property. Can someone please explain why that is? Kim On Wed, May 23, 2012 at 2:23 PM, Kim Eik wrote: > Ok, so i figured out how to create the necessary table.. however i'm > unsure of how i should se

Re: [SMW-devel] Semantic mediawiki and map data

2012-05-23 Thread Kim Eik
always just have all the data in a clob field instead, but this i'm guessing isn't very optimal when taking semantic search into account. So how should i create a one to many mapping on the database level as well as on the logic level? or should polygons be stored in some other way? Ch

Re: [SMW-devel] Semantic mediawiki and map data

2012-05-23 Thread Kim Eik
ise. So far i have written code for SemanticMediaWiki and SemanticMaps. Cheers On Wed, May 23, 2012 at 11:11 AM, Markus Krötzsch < mar...@semantic-mediawiki.org> wrote: > On 23/05/12 09:02, Kim Eik wrote: > >> >From your descritpion, a container data item looks like the way

Re: [SMW-devel] Semantic mediawiki and map data

2012-05-23 Thread Kim Eik
>From your descritpion, a container data item looks like the way to go for storing my structures. Do you have a practical example on how container data item is used? >From the code documentation i can see that: * Being a mere placeholder/template for other data, an SMWDIContainer is not * immut

Re: [SMW-devel] Semantic mediawiki and map data

2012-05-22 Thread Kim Eik
Thank you for your introduction Jeroen, i shall gaze upon the smw sourcecode with new light tomorrow and see if i can't implement something along the lines of your suggestion. A couple of questions though. As for your insight on the metadata issue, you state that it would be better to have metada

[SMW-devel] Semantic mediawiki and map data

2012-05-22 Thread Kim Eik
I'm rather new to semantic mediawiki and seeking some assistance in terms on how i should proceed. Today, semantic mediawiki (through the Semantic Maps extension) supports defining geographic coordinates. a single point on a map. However, i intend to expand on this feature and allow to define area