Yep, my bad.. the correct query with the string syntax returns the results as expected.
STRING[486:"D008180"]
But I'm still confused why the query
CLAIM[486:"D008180"]
gives the results that it does? None of the returned items has the string target of that property as "D008180".
It seems like its an erroneous query from the documentation that you pointed me to. The only thing that mentions the use of strings in CLAIM queries is rather vague: "Note that the item-less form of this query also works for string, time, and coordinate properties." What does that mean?
The following queries return the same results:
CLAIM[486:"D008180"]
CLAIM[486:"D008181"]
CLAIM[486:"D"]
CLAIM[486:" "]
though this is different (returns nothing):
CLAIM[486:""]
Is there ever a reason that a string should be used within a claim query? If not, shouldn't the API throw an error?
thanks
-Ben