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 <[email protected]> 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
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
>

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

Reply via email to