You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
void parseTurtle(String fileContent) Parses a valid turtle file read into a string [fileContent]. Updates [Graph.ctx], [Graph.groups] and [Graph.triples] in the process.
bool inNamespace(Namespace ns) Checks if a full URIRef contains the namespace.
Set objects(URIRef sub, URIRef pre) Finds all objects which have a certain subject and predicate.
URIRef withAttr(String attr) This is used to further shorten the namespace binding.
bool addNamedIndividualToGroups(dynamic s) Adds named individual to graph: rdf:type owl:NamedIndividual.
void addTripleToGroups(dynamic s, dynamic p, dynamic o) Adds a triple to group using its string forms.
void addObjectProperty(URIRef obj, URIRef relation, URIRef prop) Adds object property to link two triple subjects together.
void bind(String name, Namespace ns) Binds a namespace to a prefix for better readability when serializing.
void serialize({String format = 'ttl', String? dest, String? abbr}) Serializes the graph to certain format and export to file.
What is the next
Add blank node integration
Delete a triple in the Graph
Matching triples of certain criteria
parseTurtle gives more information of error, such as pointing out which line is the error
SPARQL query integration
Read remote turtle files (e.g. from web link)
Support Graph operations like merging, intersection of different Graphs
The text was updated successfully, but these errors were encountered:
What has been done
URIRef withAttr(String attr) This is used to further shorten the namespace binding.
What is the next
The text was updated successfully, but these errors were encountered: