Underscore instead of space? On Fri, Jul 13, 2018 at 11:11 AM Daniel Mietchen via Wikitech-l < [email protected]> wrote:
> Hi, > > in the query examples at > > https://www.mediawiki.org/wiki/Wikidata_Query_Service/User_Manual/MWAPI#Find_all_entities_with_labels_%22cheese%22_and_get_their_types > , > 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 > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikitech-l _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
