Re: [Wikidata-tech] How to increase character lenght of a String Property

2021-04-15 Thread Thomas Arrow
Hi!

Similarly to your question to wikimedia-l about labels you want to
change a setting from the "string-limits" section the Wikibase options
[1]. However, this time you want to tweak the "VT:string" setting.

Hope that helps!
Cheers,
Tom

[1] 
https://doc.wikimedia.org/Wikibase/master/php/md_docs_topics_options.html#autotoc_md319

On Thu, 15 Apr 2021 at 10:55, Claudio Prandoni  wrote:
>
> Hello and nice to meet you!
>
> I have a (hopefully) simple question ... In my MediaWiki / Wikibase instance 
> [1] I have a set of Properties whose data type is String, which are used to 
> store the translations of the text of epigraphs, see eg. [2]. These fields 
> appear to have a length limit of 400 characters. Is there any way to increase 
> that limit?
>
> Thank you very much!
>
> Claudio
>
> [1] https://wiki.eagle-network.eu/
> [2] https://wiki.eagle-network.eu/wiki/Item:Q9529
>
>
> --
> Questa email è stata esaminata alla ricerca di virus da AVG.
> http://www.avg.com
>
>
> ___
> Wikidata-tech mailing list
> Wikidata-tech@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikidata-tech

___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech


Re: [Wikidata-tech] Wikibase query service update question

2020-11-27 Thread Thomas Arrow
Hi Victor!

The command the docker image runs is as follows:

./runUpdate.sh -h http://$WDQS_HOST:$WDQS_PORT -- --wikibaseUrl
$WIKIBASE_SCHEME://$WIKIBASE_HOST --conceptUri
$WIKIBASE_SCHEME://$WIKIBASE_HOST --entityNamespaces
$WDQS_ENTITY_NAMESPACES

That was taken from:
https://github.com/wmde/wikibase-docker/blob/master/wdqs/0.3.6/runUpdate.sh#L9

You can see what all the variables could be set to in the environment
variables section of
https://github.com/wmde/wikibase-docker/blob/master/wdqs/README.md.

This is assuming you're using something like this archive:
https://archiva.wikimedia.org/repository/snapshots/org/wikidata/query/rdf/service/0.3.6-SNAPSHOT/service-0.3.6-SNAPSHOT-dist.zip

All the best,
Tom


On Thu, 26 Nov 2020 at 15:36, Victor Agroskin  wrote:
>
> Нi All!
>
> I'm running a custom Wikibase and because of extension compatibility issues I 
> can not use docker image, so I'm installing software from repositories.
>
> I'm installing RDF query service as described in 
> https://github.com/wikimedia/wikidata-query-rdf/blob/master/docs/getting-started.md
>
> I have a following problem:
>
> When I start runUpdate.sh with the command $ ./runUpdate.sh -n wdq , it 
> starts populating my Blazegraph instance with updates from Wikidata. I can 
> not find any way to configure it to use my local Wikibase instead. No 
> parameters documented, no global or local variables found. Can anyone provide 
> any advice on this?
>
> Thank you for your help!
> Victor Agroskin
> ___
> Wikidata-tech mailing list
> Wikidata-tech@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikidata-tech

___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech


Re: [Wikidata-tech] Wikidata API documentation

2020-04-01 Thread Thomas Arrow
Hi,

You might also find
https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/Wikibase/+/master/docs/topics/json.md
helpful.
It claims to be the canonical format but I can't right now say if that is
the case.

Best,
Tom

On Wed, 1 Apr 2020 at 17:13, Leszek Manicki 
wrote:

> Howdy,
>
> you could also try if consulting
> https://doc.wikimedia.org/mediawiki-extensions-Wikibase/master/php/md_docs_topics_changeop-serializations.html
> for items and properties, and (pretty rudimentary and
> still-not-markdown-nor-linkable-html-doc)
> https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/WikibaseLexeme/+/refs/heads/master/docs/change-op-serialization.wiki
> for some lexicographical-data-specific bits helps you in your case.
>
> Best
>
>
> On Wed, 1 Apr 2020 at 02:15, Michael F. Schönitzer 
> wrote:
>
>> Hello,
>>
>> Is there any documentation to "wbeditentity", except from the few
>> examples on the API-document-page?
>> Any documentation about the format/grammar of the data?
>>
>> And is there any API-documentation for lexicographical data at al?
>> The few bits on the source-code generated page aren't sufficient.
>>
>> Cheers,
>>  M
>>
>> --
>> Michael F. Schönitzer
>> Prochintalstr. 2
>> 80993 München
>> Mail: mich...@schoenitzer.de
>> Jabber: schoenit...@jabber.ccc.de
>> Tel: 089/37918949 - Mobil: 017657895702
>>
>> ___
>> Wikidata-tech mailing list
>> Wikidata-tech@lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
>>
>
>
> --
> Leszek Manicki
> Engineering Manager
>
> Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963 Berlin
> Phone: +49 (0)30 219 158 26-0
> http://wikimedia.de
>
> Imagine a world in which every single human being can freely share in the
> sum of all knowledge. Help us to achieve our vision!
> https://spenden.wikimedia.de
>
> Wikimedia Deutschland – Gesellschaft zur Förderung Freien Wissens e. V.
> Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter
> der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für
> Körperschaften I Berlin, Steuernummer 27/029/42207.
> ___
> Wikidata-tech mailing list
> Wikidata-tech@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
>
___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech


Re: [Wikidata-tech] wikidata-query-rdf for other Wikibase installs

2017-02-26 Thread Thomas Arrow
Hi,

I think the instructions have changed recently (or perhaps not that
recently). Previously you needed to pass the site as a parameter to
the munge script with something like

`./munge.sh -f librarybase-rdf-20160526.rdf -d . -- -w librarybase.wmflabs.org`

If (as in my case) your alternative Wikibase install is at
librarybase.wmflabs.org. I haven't tried this with the latest code but
I would imagine this is what you need to do. I'll try and find time to
confirm if this is the case (and then we can update the docs).

Cheers,
Tom

On Sat, Feb 25, 2017 at 2:13 AM, Miguel Paraz  wrote:
> Hi,
> Is there documentation on what needs to be done to run wikidata-query-rdf on
> my custom Wikibase install, so that I could do SPARQL queries on it?
>
> When following the instructions at:
> https://github.com/wikimedia/wikidata-query-rdf/blob/master/docs/getting-started.md
>
> but using my own RDF file, I get this in the munge:
> 02:08:14.099 [main] INFO  o.wikidata.query.rdf.tool.rdf.Munger -
> Unrecognized subjects:
> [http://www.wikidata.org/entity/statement/Q1174-2A6EDE59-31EA-4585-B211-DCB751B0F577
> ...
>  Expected only sitelinks and subjects starting with
> http://www.wikidata.org/wiki/Special:EntityData/ and
> http://www.wikidata.org/entity/
>
> even if the all the URLs start with http://www.wikidata.org/entity/
>
> They originally did not - the exported RDF was using my own namespace but I
> did a substitution before running the munge.
>
> Thanks!
> Cheers
> Miguel
>
> ___
> Wikidata-tech mailing list
> Wikidata-tech@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
>

___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech