-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* General polishing and revision of tools (including semantic2dot). * semantic2dot: allow plotting namespaces, sessions and individuals on the same graph. * semantic2dot: add IPython rendering. * Use graphviz's own `_repr_mimebundle_` function for integration of `semantic2dot` with IPython.
- Loading branch information
Showing
25 changed files
with
1,727 additions
and
1,334 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
"""Module aimed at providing an ontology lager on top of the RDF layer.""" | ||
|
||
from simphony_osp.session.session import Session | ||
|
||
__all__ = ["Session", "core_session"] | ||
|
||
core_session = Session.get_default_session() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,40 @@ | ||
"""Module containing tools for the users of the SimPhoNy OSP.""" | ||
|
||
import simphony_osp.utils.pico as pico | ||
from simphony_osp.tools.general import branch, get_relationships_between | ||
from simphony_osp.tools.import_export import export_cuds, import_cuds | ||
from simphony_osp.tools.general import branch, relationships_between | ||
from simphony_osp.tools.import_export import export_file, import_file | ||
from simphony_osp.tools.pretty_print import pretty_print | ||
from simphony_osp.tools.remote import host | ||
from simphony_osp.tools.search import ( | ||
find_cuds_object, | ||
find_cuds_object_by_uid, | ||
find_cuds_objects_by_attribute, | ||
find_cuds_objects_by_oclass, | ||
find, | ||
find_by_attribute, | ||
find_by_class, | ||
find_by_identifier, | ||
find_relationships, | ||
sparql, | ||
) | ||
from simphony_osp.tools.semantic2dot import Semantic2Dot | ||
from simphony_osp.tools.semantic2dot import semantic2dot | ||
|
||
__all__ = [ | ||
# simphony_osp.tools.import_export | ||
"export_cuds", | ||
"import_cuds", | ||
"export_file", | ||
"import_file", | ||
# simphony_osp.tools.pico | ||
"pico", | ||
# simphony_osp.tools.pretty_print | ||
"pretty_print", | ||
# simphony_osp.tools.search | ||
"sparql", | ||
"find_cuds_object", | ||
"find_cuds_objects_by_attribute", | ||
"find_cuds_objects_by_oclass", | ||
"find_cuds_object_by_uid", | ||
"find", | ||
"find_by_attribute", | ||
"find_by_class", | ||
"find_by_identifier", | ||
"find_relationships", | ||
# simphony_osp.tools.semantic2dot | ||
"Semantic2Dot", | ||
"semantic2dot", | ||
# simphony_osp.tools.general | ||
"branch", | ||
"get_relationships_between", | ||
"relationships_between", | ||
# simphony_osp.utils.remote | ||
"host", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.