On 5/1/20 11:53 AM, Isaac Johnson wrote:
> If the challenge is downloading large files, you can also get local
> access to all of the dumps (wikidata, wikipedia, and more) through the
> PAWS <https://wikitech.wikimedia.org/wiki/PAWS> (Wikimedia-hosted
> Jupyter notebooks) and Toolforge
> <https://wikitech.wikimedia.org/wiki/Help:Toolforge> (more
> general-purpose Wikimedia hosting environment). From Toolforge, you
> could run the Wikidata toolkit (Java) that Denny mentions. I'm
> personally more familiar with Python, so my suggestion is to use
> Python code to filter down the dumps to what you desire. Below is an
> example Python notebook that will do this on PAWS, though the PAWS
> environment is not set up for these longer running jobs and will
> probably die before the process is complete, so I'd highly recommend
> converting it into a script that can run on Toolforge (see
> https://wikitech.wikimedia.org/wiki/Help:Toolforge/Dumps).
>
> PAWS example:
> https://paws-public.wmflabs.org/paws-public/User:Isaac_(WMF)/Simplified_Wikidata_Dumps.ipynb
>
> Best,
> Isaac
>
That isn't my challenge.

I wanted to know why the WDQ UI doesn't provide an option for CONSTRUCT
and DESCRIBE query solutions using a variety of document types.

See: https://wikidata.demo.openlinksw.com/sparql to see what I mean.
Ditto any DBpedia endpoint.


Kingsley

>
> On Thu, Apr 30, 2020 at 1:33 AM raffaele messuti <[email protected]
> <mailto:[email protected]>> wrote:
>
>     On 27/04/2020 18:02, Kingsley Idehen wrote:
>     >> [1] https://w.wiki/PBi <https://w.wiki/PBi>
>     >>
>     > Do these CONSTRUCT queries return any of the following document
>     content-types?
>     >
>     > RDF-Turtle, RDF-XML, JSON-LD ?
>
>     you can use content negotiation on the sparql endpoint
>
>     ~ query="CONSTRUCT { ... }"
>     ~ curl -H "Accept: application/rdf+xml"
>     https://query.wikidata.org/sparql --data-urlencode query=$query
>     ~ curl -H "Accept: text/turtle" -G
>     https://query.wikidata.org/sparql --data-urlencode query=$query
>
>
>
>     --
>     [email protected] <mailto:[email protected]>
>
>     _______________________________________________
>     Wikidata mailing list
>     [email protected] <mailto:[email protected]>
>     https://lists.wikimedia.org/mailman/listinfo/wikidata
>
>
>
> -- 
> Isaac Johnson (he/him/his) -- Research Scientist -- Wikimedia Foundation
>
> _______________________________________________
> Wikidata mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/wikidata


-- 
Regards,

Kingsley Idehen       
Founder & CEO 
OpenLink Software   
Home Page: http://www.openlinksw.com
Community Support: https://community.openlinksw.com
Weblogs (Blogs):
Company Blog: https://medium.com/openlink-software-blog
Virtuoso Blog: https://medium.com/virtuoso-blog
Data Access Drivers Blog: 
https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers

Personal Weblogs (Blogs):
Medium Blog: https://medium.com/@kidehen
Legacy Blogs: http://www.openlinksw.com/blog/~kidehen/
              http://kidehen.blogspot.com

Profile Pages:
Pinterest: https://www.pinterest.com/kidehen/
Quora: https://www.quora.com/profile/Kingsley-Uyi-Idehen
Twitter: https://twitter.com/kidehen
Google+: https://plus.google.com/+KingsleyIdehen/about
LinkedIn: http://www.linkedin.com/in/kidehen

Web Identities (WebID):
Personal: http://kingsley.idehen.net/public_home/kidehen/profile.ttl#i
        : 
http://id.myopenlink.net/DAV/home/KingsleyUyiIdehen/Public/kingsley.ttl#this

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Wikidata mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata

Reply via email to