pip
. Using a virtual environment is recommended - see Python documentation.WOQLClient
object enables connection to TerminusX (or TerminusDB.) To create a client object:@terminusdb/terminusdb-client
name
and position
. The object is uniquely identified by name
.addDocument
which returns a Promise.addDocument
which returns a Promise.insert_document
.getDocument
as_list
. Results, stored in document
, are shown further below.query_document
. Results, stored in matches
, are shown further below.getDocument
as_list
. Results, stored in document
, are shown further below.query_document
. Results, stored in matches
, are shown further below.WOQL.triple()
to create a WOQL query then execute that query using client.query()
. Results, stored in results
, are shown further belowWOQLQuery()
and WOQLQuery().triple()
to create a WOQL query then execute that query using client.query()
. Results, stored in results
, are shown further below.Team
object is uniquely identified by the property name
. The players
property consists of a set of Player
classes that create a link between theTeam
and Player
schema.addDocument
that returns a Promise.Team
schema.Team
documents.