Convert an input string to the most likely source SID (equivalent to PID)
Usage
as_sid(x)
Arguments
x
a vector, data frame, or tibble of strings representaing wikidata source properties
Value
if the inputted string is a valid SID, return the string.
If the inputted string matches a property label, return its SID
If the inputted string matches multiple labels of multiple properties, return the SID of the first hit.
# NOT RUN {# if input string is a valid SIDas_pid("S854")
# if input string matches multiple item labelsas_pid("URL")
# if input string matches a single unique labelas_pid("Reference URL")
# }