Re: [SMW-devel] usage of values from URL

2014-07-21 Thread Yaron Koren
Alright, I actually tried it out, which I probably should have done at the
beginning, and now I'm pretty sure I know what the issue is. You're using
"input type=dropdown", but "values from url" only works with the
autocompletion input types. I don't know, by the way, if that's a good idea
or not - I think my original thought with disallowing "dropdown" and the
like is so that, if there's a drastic change to the set of external values
- or if the URL is temporarily inaccessible, or some such - it won't mess
up editing of existing values. But perhaps there's an argument to be made
the other way.

On the other hand, maybe "dropdown" was a mistake there, and you just meant
"combobox".


On Mon, Jul 21, 2014 at 12:38 PM, Yury Katkov 
wrote:

> my point is that I don't need  at all. My URL is static and I'm
> totally satisfied.
>
> -
> Yury Katkov
>
>
> On Mon, Jul 21, 2014 at 5:50 PM, Yaron Koren  wrote:
>
>> Oops, sorry, you're right - it's the string "new" in the URL that you
>> should replace with "".
>>
>>
>> On Mon, Jul 21, 2014 at 11:43 AM, Yury Katkov 
>> wrote:
>>
>>> Hi Yaron!
>>> > You should replace "substr" in that URL with "" - that might
>>> just be the issue.
>>>
>>> I don't think I should... I don't need any parameters, try to click on
>>> the link - it produces perfect results.
>>>
>>> -
>>> Yury Katkov
>>>
>>>
>>> On Mon, Jul 21, 2014 at 4:07 PM, Yaron Koren 
>>> wrote:
>>>
 Hi Yury,

 You should replace "substr" in that URL with "" - that might
 just be the issue.

 However, I should note that we're currently, as part of Jatin Mehta's
 Google Summer of Code project on SF autocompletion, working on improving
 autocompletion on external values. Right now the setup is quite limited -
 you need to basically set up an API that outputs the necessary values in a
 specific JSON format, unless you happen to be autocompleting on values from
 another SMW-based wiki. Jatin's project will hopefully expand that
 considerably, making use of functionality like that of the External Data
 extension to allow for flexibly getting value sets from a variety of
 formats. I don't know if you were planning to create such a mini-API
 already, but, if you're willing to wait a month or two, it could be that
 that effort would no longer be necessary.

 -Yaron


 On Mon, Jul 21, 2014 at 6:06 AM, Yury Katkov 
 wrote:

> Hi everyone!
>
> I'm trying to figure out how the autocompletion on outside values
> works. [1] Is that possible to use it for the dropdowns? I'm trying to do
> that but have no results.
>
> I've added this to the LocalSettings.php:
> $sfgAutocompletionURLs['discourse'] = '
> http://discoursedb.org/w/api.php?action=sfautocomplete&substr=new&property=Was_written_by&format=json
> ';
>
> I've created the following field in the form:
>  {{{field|Was written by|input type=dropdown|values from
> url=discourse|remote autocompletion}}}
>
> I expect that the dropdown will be populated with the values from
> discoursedb:
>Bangor Daily News editorial board
>Gavin Newsom, etc
>
> ... but nothing happens. What do I do wrong?
>
> [1]
> https://www.mediawiki.org/wiki/Extension:Semantic_Forms/Autocompleting_on_outside_values
> -
> Yury Katkov
>
>
> --
> Want fast and easy access to all the code in your enterprise? Index and
> search up to 200,000 lines of code with a free copy of Black Duck
> Code Sight - the same software that powers the world's largest code
> search on Ohloh, the Black Duck Open Hub! Try it now.
> http://p.sf.net/sfu/bds
> ___
> Semediawiki-devel mailing list
> Semediawiki-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
>
>


 --
 WikiWorks · MediaWiki Consulting · http://wikiworks.com

>>>
>>>
>>
>>
>> --
>> WikiWorks · MediaWiki Consulting · http://wikiworks.com
>>
>
>


-- 
WikiWorks · MediaWiki Consulting · http://wikiworks.com
--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds___
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel


Re: [SMW-devel] usage of values from URL

2014-07-21 Thread Yury Katkov
my point is that I don't need  at all. My URL is static and I'm
totally satisfied.

-
Yury Katkov


On Mon, Jul 21, 2014 at 5:50 PM, Yaron Koren  wrote:

> Oops, sorry, you're right - it's the string "new" in the URL that you
> should replace with "".
>
>
> On Mon, Jul 21, 2014 at 11:43 AM, Yury Katkov 
> wrote:
>
>> Hi Yaron!
>> > You should replace "substr" in that URL with "" - that might
>> just be the issue.
>>
>> I don't think I should... I don't need any parameters, try to click on
>> the link - it produces perfect results.
>>
>> -
>> Yury Katkov
>>
>>
>> On Mon, Jul 21, 2014 at 4:07 PM, Yaron Koren  wrote:
>>
>>> Hi Yury,
>>>
>>> You should replace "substr" in that URL with "" - that might
>>> just be the issue.
>>>
>>> However, I should note that we're currently, as part of Jatin Mehta's
>>> Google Summer of Code project on SF autocompletion, working on improving
>>> autocompletion on external values. Right now the setup is quite limited -
>>> you need to basically set up an API that outputs the necessary values in a
>>> specific JSON format, unless you happen to be autocompleting on values from
>>> another SMW-based wiki. Jatin's project will hopefully expand that
>>> considerably, making use of functionality like that of the External Data
>>> extension to allow for flexibly getting value sets from a variety of
>>> formats. I don't know if you were planning to create such a mini-API
>>> already, but, if you're willing to wait a month or two, it could be that
>>> that effort would no longer be necessary.
>>>
>>> -Yaron
>>>
>>>
>>> On Mon, Jul 21, 2014 at 6:06 AM, Yury Katkov 
>>> wrote:
>>>
 Hi everyone!

 I'm trying to figure out how the autocompletion on outside values
 works. [1] Is that possible to use it for the dropdowns? I'm trying to do
 that but have no results.

 I've added this to the LocalSettings.php:
 $sfgAutocompletionURLs['discourse'] = '
 http://discoursedb.org/w/api.php?action=sfautocomplete&substr=new&property=Was_written_by&format=json
 ';

 I've created the following field in the form:
  {{{field|Was written by|input type=dropdown|values from
 url=discourse|remote autocompletion}}}

 I expect that the dropdown will be populated with the values from
 discoursedb:
Bangor Daily News editorial board
Gavin Newsom, etc

 ... but nothing happens. What do I do wrong?

 [1]
 https://www.mediawiki.org/wiki/Extension:Semantic_Forms/Autocompleting_on_outside_values
 -
 Yury Katkov


 --
 Want fast and easy access to all the code in your enterprise? Index and
 search up to 200,000 lines of code with a free copy of Black Duck
 Code Sight - the same software that powers the world's largest code
 search on Ohloh, the Black Duck Open Hub! Try it now.
 http://p.sf.net/sfu/bds
 ___
 Semediawiki-devel mailing list
 Semediawiki-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/semediawiki-devel


>>>
>>>
>>> --
>>> WikiWorks · MediaWiki Consulting · http://wikiworks.com
>>>
>>
>>
>
>
> --
> WikiWorks · MediaWiki Consulting · http://wikiworks.com
>
--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds___
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel


Re: [SMW-devel] usage of values from URL

2014-07-21 Thread Yaron Koren
Oops, sorry, you're right - it's the string "new" in the URL that you
should replace with "".


On Mon, Jul 21, 2014 at 11:43 AM, Yury Katkov 
wrote:

> Hi Yaron!
> > You should replace "substr" in that URL with "" - that might
> just be the issue.
>
> I don't think I should... I don't need any parameters, try to click on the
> link - it produces perfect results.
>
> -
> Yury Katkov
>
>
> On Mon, Jul 21, 2014 at 4:07 PM, Yaron Koren  wrote:
>
>> Hi Yury,
>>
>> You should replace "substr" in that URL with "" - that might just
>> be the issue.
>>
>> However, I should note that we're currently, as part of Jatin Mehta's
>> Google Summer of Code project on SF autocompletion, working on improving
>> autocompletion on external values. Right now the setup is quite limited -
>> you need to basically set up an API that outputs the necessary values in a
>> specific JSON format, unless you happen to be autocompleting on values from
>> another SMW-based wiki. Jatin's project will hopefully expand that
>> considerably, making use of functionality like that of the External Data
>> extension to allow for flexibly getting value sets from a variety of
>> formats. I don't know if you were planning to create such a mini-API
>> already, but, if you're willing to wait a month or two, it could be that
>> that effort would no longer be necessary.
>>
>> -Yaron
>>
>>
>> On Mon, Jul 21, 2014 at 6:06 AM, Yury Katkov 
>> wrote:
>>
>>> Hi everyone!
>>>
>>> I'm trying to figure out how the autocompletion on outside values works.
>>> [1] Is that possible to use it for the dropdowns? I'm trying to do that but
>>> have no results.
>>>
>>> I've added this to the LocalSettings.php:
>>> $sfgAutocompletionURLs['discourse'] = '
>>> http://discoursedb.org/w/api.php?action=sfautocomplete&substr=new&property=Was_written_by&format=json
>>> ';
>>>
>>> I've created the following field in the form:
>>>  {{{field|Was written by|input type=dropdown|values from
>>> url=discourse|remote autocompletion}}}
>>>
>>> I expect that the dropdown will be populated with the values from
>>> discoursedb:
>>>Bangor Daily News editorial board
>>>Gavin Newsom, etc
>>>
>>> ... but nothing happens. What do I do wrong?
>>>
>>> [1]
>>> https://www.mediawiki.org/wiki/Extension:Semantic_Forms/Autocompleting_on_outside_values
>>> -
>>> Yury Katkov
>>>
>>>
>>> --
>>> Want fast and easy access to all the code in your enterprise? Index and
>>> search up to 200,000 lines of code with a free copy of Black Duck
>>> Code Sight - the same software that powers the world's largest code
>>> search on Ohloh, the Black Duck Open Hub! Try it now.
>>> http://p.sf.net/sfu/bds
>>> ___
>>> Semediawiki-devel mailing list
>>> Semediawiki-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
>>>
>>>
>>
>>
>> --
>> WikiWorks · MediaWiki Consulting · http://wikiworks.com
>>
>
>


-- 
WikiWorks · MediaWiki Consulting · http://wikiworks.com
--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds___
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel


Re: [SMW-devel] usage of values from URL

2014-07-21 Thread Yury Katkov
Hi Yaron!
> You should replace "substr" in that URL with "" - that might just
be the issue.

I don't think I should... I don't need any parameters, try to click on the
link - it produces perfect results.

-
Yury Katkov


On Mon, Jul 21, 2014 at 4:07 PM, Yaron Koren  wrote:

> Hi Yury,
>
> You should replace "substr" in that URL with "" - that might just
> be the issue.
>
> However, I should note that we're currently, as part of Jatin Mehta's
> Google Summer of Code project on SF autocompletion, working on improving
> autocompletion on external values. Right now the setup is quite limited -
> you need to basically set up an API that outputs the necessary values in a
> specific JSON format, unless you happen to be autocompleting on values from
> another SMW-based wiki. Jatin's project will hopefully expand that
> considerably, making use of functionality like that of the External Data
> extension to allow for flexibly getting value sets from a variety of
> formats. I don't know if you were planning to create such a mini-API
> already, but, if you're willing to wait a month or two, it could be that
> that effort would no longer be necessary.
>
> -Yaron
>
>
> On Mon, Jul 21, 2014 at 6:06 AM, Yury Katkov 
> wrote:
>
>> Hi everyone!
>>
>> I'm trying to figure out how the autocompletion on outside values works.
>> [1] Is that possible to use it for the dropdowns? I'm trying to do that but
>> have no results.
>>
>> I've added this to the LocalSettings.php:
>> $sfgAutocompletionURLs['discourse'] = '
>> http://discoursedb.org/w/api.php?action=sfautocomplete&substr=new&property=Was_written_by&format=json
>> ';
>>
>> I've created the following field in the form:
>>  {{{field|Was written by|input type=dropdown|values from
>> url=discourse|remote autocompletion}}}
>>
>> I expect that the dropdown will be populated with the values from
>> discoursedb:
>>Bangor Daily News editorial board
>>Gavin Newsom, etc
>>
>> ... but nothing happens. What do I do wrong?
>>
>> [1]
>> https://www.mediawiki.org/wiki/Extension:Semantic_Forms/Autocompleting_on_outside_values
>> -
>> Yury Katkov
>>
>>
>> --
>> Want fast and easy access to all the code in your enterprise? Index and
>> search up to 200,000 lines of code with a free copy of Black Duck
>> Code Sight - the same software that powers the world's largest code
>> search on Ohloh, the Black Duck Open Hub! Try it now.
>> http://p.sf.net/sfu/bds
>> ___
>> Semediawiki-devel mailing list
>> Semediawiki-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
>>
>>
>
>
> --
> WikiWorks · MediaWiki Consulting · http://wikiworks.com
>
--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds___
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel


Re: [SMW-devel] usage of values from URL

2014-07-21 Thread Yaron Koren
Hi Yury,

You should replace "substr" in that URL with "" - that might just
be the issue.

However, I should note that we're currently, as part of Jatin Mehta's
Google Summer of Code project on SF autocompletion, working on improving
autocompletion on external values. Right now the setup is quite limited -
you need to basically set up an API that outputs the necessary values in a
specific JSON format, unless you happen to be autocompleting on values from
another SMW-based wiki. Jatin's project will hopefully expand that
considerably, making use of functionality like that of the External Data
extension to allow for flexibly getting value sets from a variety of
formats. I don't know if you were planning to create such a mini-API
already, but, if you're willing to wait a month or two, it could be that
that effort would no longer be necessary.

-Yaron


On Mon, Jul 21, 2014 at 6:06 AM, Yury Katkov  wrote:

> Hi everyone!
>
> I'm trying to figure out how the autocompletion on outside values works.
> [1] Is that possible to use it for the dropdowns? I'm trying to do that but
> have no results.
>
> I've added this to the LocalSettings.php:
> $sfgAutocompletionURLs['discourse'] = '
> http://discoursedb.org/w/api.php?action=sfautocomplete&substr=new&property=Was_written_by&format=json
> ';
>
> I've created the following field in the form:
>  {{{field|Was written by|input type=dropdown|values from
> url=discourse|remote autocompletion}}}
>
> I expect that the dropdown will be populated with the values from
> discoursedb:
>Bangor Daily News editorial board
>Gavin Newsom, etc
>
> ... but nothing happens. What do I do wrong?
>
> [1]
> https://www.mediawiki.org/wiki/Extension:Semantic_Forms/Autocompleting_on_outside_values
> -
> Yury Katkov
>
>
> --
> Want fast and easy access to all the code in your enterprise? Index and
> search up to 200,000 lines of code with a free copy of Black Duck
> Code Sight - the same software that powers the world's largest code
> search on Ohloh, the Black Duck Open Hub! Try it now.
> http://p.sf.net/sfu/bds
> ___
> Semediawiki-devel mailing list
> Semediawiki-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
>
>


-- 
WikiWorks · MediaWiki Consulting · http://wikiworks.com
--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds___
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel


[SMW-devel] RDFIO

2014-07-21 Thread Veen, Ben van der
I think the extension RDFIO is great. My Ontologie is loading (some times) but 
it looks very unstable. Apache crasheserrors... ARC2 is getting corrupted. 
Who has the same experience or another alternative to load my Ontology (which I 
make with Protege [owl/ttl])

Do not know if it is for the development userlist, but it looks like I have to 
do some coding.

I also have Mediawiki on Jena. Works perfect. I can load my ontology in Jena, 
but then it's not in SMW and Mediawiki. Here is documentation about that it's 
not the way to do it.

Thanks Ben

Disclaimer
Dit bericht met eventuele bijlagen is vertrouwelijk en uitsluitend bestemd voor 
de geadresseerde. Indien u niet de bedoelde ontvanger bent, wordt u verzocht de 
afzender te waarschuwen en dit bericht met eventuele bijlagen direct te 
verwijderen en/of te vernietigen. Het is niet toegestaan dit bericht en 
eventuele bijlagen te vermenigvuldigen, door te sturen, openbaar te maken, op 
te slaan of op andere wijze te gebruiken. Ordina N.V. en/of haar 
groepsmaatschappijen accepteren geen verantwoordelijkheid of aansprakelijkheid 
voor schade die voortvloeit uit de inhoud en/of de verzending van dit bericht.

This e-mail and any attachments are confidential and are solely intended for 
the addressee. If you are not the intended recipient, please notify the sender 
and delete and/or destroy this message and any attachments immediately. It is 
prohibited to copy, to distribute, to disclose or to use this e-mail and any 
attachments in any other way. Ordina N.V. and/or its group companies do not 
accept any responsibility nor liability for any damage resulting from the 
content of and/or the transmission of this message.
--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds___
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel


[SMW-devel] usage of values from URL

2014-07-21 Thread Yury Katkov
Hi everyone!

I'm trying to figure out how the autocompletion on outside values works.
[1] Is that possible to use it for the dropdowns? I'm trying to do that but
have no results.

I've added this to the LocalSettings.php:
$sfgAutocompletionURLs['discourse'] = '
http://discoursedb.org/w/api.php?action=sfautocomplete&substr=new&property=Was_written_by&format=json
';

I've created the following field in the form:
 {{{field|Was written by|input type=dropdown|values from
url=discourse|remote autocompletion}}}

I expect that the dropdown will be populated with the values from
discoursedb:
   Bangor Daily News editorial board
   Gavin Newsom, etc

... but nothing happens. What do I do wrong?

[1]
https://www.mediawiki.org/wiki/Extension:Semantic_Forms/Autocompleting_on_outside_values
-
Yury Katkov
--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds___
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel