Re: [Wikidata] Wikidata generic tree problem

2020-04-21 Thread Maximilian Marx

Hi,

On Tue, 21 Apr 2020 16:03:03 +0200, Nicolas VIGNERON 
 said:
> The third-party assets should be loaded from either your own Toolforge
> application, or perhaps from a generic Wikimedia asset server (do we
> have that?).

there is a CDNjs mirror on Toolforge[0] that includes d3.

Maximilian

[0] https://cdnjs.toolforge.org/
-- 
Dipl.-Math. Maximilian Marx
Knowledge-Based Systems Group
Faculty of Computer Science
TU Dresden
+49 351 463 43510
https://kbs.inf.tu-dresden.de/max


smime.p7s
Description: S/MIME cryptographic signature
___
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata


Re: [Wikidata] Wikidata SPARQL query logs available

2018-08-07 Thread Maximilian Marx

Hi,

On Tue, 7 Aug 2018 17:37:34 +0200, Markus Kroetzsch 
 said:
> If you want a sorted list of "most popular" items, this is a bit more
> work and would require at least some Python script, or some less
> obvious combination of sed (extracting all URLs of entities), and
> sort.

  zgrep -Eoe '%3Chttp%3A%2F%2Fwww.wikidata.org%2Fentity%2FQ[1-9][0-9]+%3E' 
dump.gz | cut -d 'Q' -f 2 | cut -d '%' -f 1 | sort | uniq -c | sort -nr
  
should do the trick.

Best,

Maximilian
-- 
Dipl.-Math. Maximilian Marx
Knowledge-Based Systems Group
Faculty of Computer Science
TU Dresden
+49 351 463 43510
https://kbs.inf.tu-dresden.de/max

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