get_claim.Rd
Get claims regarding one Wikidata thing
get_claim(id, property_name = "wd:P31")
id | a Wikidata ID, either of an item ("Qxxxxx") or of a property ("Pxxxxx"), or the item itself. |
---|---|
property_name | the name of property to get |
get_claim("wd:Q188743", "wd:P625")#> # A tibble: 1 x 7 #> property propertyLabel value valueLabel propertyType propertyDescription #> <chr> <chr> <chr> <chr> <chr> <chr> #> 1 wd:P625 coordinate lo… Point(… Point(0.225… http://wikib… geocoordinates of … #> # … with 1 more variable: propertyAltLabel <chr>