Underscore instead of space?
On Fri, Jul 13, 2018 at 11:11 AM Daniel Mietchen via Wikitech-l < wikitech-l@lists.wikimedia.org> wrote:
Hi,
in the query examples at
https://www.mediawiki.org/wiki/Wikidata_Query_Service/User_Manual/MWAPI#Find... , the way to search for "cheese" is
<code> bd:serviceParam mwapi:search "cheese" . </code>
What if the search string I want to use is a composite, e.g. "goat cheese"?
I have tried single quotes, escaping the quotes, and replacing the spaces with plus signs, but non of these would guarantee that the search results only contain the search string (plus some grammatical variations) and not things like "This cheese was made from goat milk".
Any pointers would be appreciated.
Thanks,
Daniel
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l