g = Graph().parse(data=open(sys.argv[1]).read(), format='json-ld')
for s, p, o in g:
print(s, p, o)
does not provide all the information in the source json-ld file.
For example - I want to go over the list of properties and understand their domain and range. But I can't find the output in the graph.
Questions:
Is that information parsed and not provided in a triple, but provided somewhere else? If so where?
Or is it not parsed at all? In which case, what is missing and what needs to happen before I can recover all the information in the source JSON-LD file?
Trying to parse this file:
https://github.com/go-fed/activity/blob/master/astool/activitystreams.jsonld
with:
does not provide all the information in the source json-ld file.
For example - I want to go over the list of
properties
and understand theirdomain
andrange
. But I can't find the output in the graph.Questions: