All functions

add_triplets()

Compose query parts for triplets with subject verb object.

build_graph_classes()

Build the graph of sub/superclasses

build_part_body()

Builds the body part of a query.

build_sparql()

Assemble query parts into a query.

clean_wikidata_table()

Clean Wikidata results by removing the "http://www.wikidata.org/entity/" prefix in all columns

count_items()

Get counts of items directly in classes

get_claim()

Get claims regarding one Wikidata thing

get_claims()

Get claims regarding one Wikidata thing

get_description()

Get description of Wikidata thing

get_info()

Get description of Wikidata thing

get_label()

Get label of Wikidata thing

get_one_claim()

Format information about one claim (for use in get_claims)

get_thing()

Get Wikidata item or property Get unformatted info from Wikidata based on an item or property id.

get_triplets()

Get triplets with subject verb object.

send_sparql()

Send SPARQL query to endpoint and get tibble as a result

show_graph_classes()

Show the graph of sub/superclasses

subclasses_of()

Get subclasses of a Wikidata class

superclasses_of()

Get superclasses of a Wikidata class

transform_wikidata_coords()

Get coords at lat-lng from Wikidata format