Przeglądaj źródła

Add conversion to query palette

Arkadiusz Ryś 2 lat temu
rodzic
commit
6498ff9dc9
3 zmienionych plików z 41 dodań i 4 usunięć
  1. 2 1
      data/configuration.toml
  2. 36 0
      docs/process
  3. 3 3
      graph_exploring_tool/main.py

+ 2 - 1
data/configuration.toml

@@ -1,4 +1,5 @@
-endpoint_fuseki = "http://127.0.0.1:3030/Drivetrain/sparql" # Fuseki SPARQL endpoint for the drivetrain
+endpoint_sparql = "http://127.0.0.1:3030/Drivetrain/sparql" # Fuseki SPARQL endpoint for the drivetrain
+#endpoint_sparql = "http://127.0.0.1:8000/"
 example_prefix = '''
 PREFIX xsd:  <http://www.w3.org/2001/XMLSchema#>
 PREFIX rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

+ 36 - 0
docs/process

@@ -0,0 +1,36 @@
+Find Types : look at ftg:Formalism
+Find properties: What properties does this have
+Find individuals
+Match artifact formalism (other way around as well)
+Find PM: what activity output what formalism
+
+Joint ip Jeroen the meyers: take it down at the steerco.
+Mention in steering committee minutes.
+
+Contact Octiva for new meeting.
+
+
+[10:44]
+Stakeholder
+
+[10:50]
+Validation (Dennis)
+
+[10:54]
+Glossary etc...
+
+[11:07]
+IP blocks evaluation, validation.
+
+[11:21]
+Octiva
+
+[12:15]
+Align with Dennis. Evaluation on Dennis' side.
+How to enter data? ASAP. Explain more on starting problem. Showcase it.
+Documentation.
+Overview docs on confluence.
+
+[12:26]
+Links architecture to confluence.
+

+ 3 - 3
graph_exploring_tool/main.py

@@ -39,15 +39,15 @@ def launch():
     except FileNotFoundError as e:
         logging.error(f"Configuration not found. {e}")
         return 8
-    endpoint_fuseki = configuration.get("endpoint_fuseki", "http://127.0.0.1:3030/Drivetrain/sparql")
+    endpoint_sparql = configuration.get("endpoint_sparql", "http://127.0.0.1:3030/Drivetrain/sparql")
     example_prefix = configuration.get("example_prefix", "")
     example_query = configuration.get("example_query", "")
     logging.debug("Parameters:")
-    logging.debug(f"  -> {endpoint_fuseki=}")
+    logging.debug(f"  -> {endpoint_sparql=}")
     logging.debug(f"  -> {example_prefix=}")
     logging.debug(f"  -> {example_query=}")
     palette = load_palette(data_dir / Path("palette"))
-    return interface(endpoint=endpoint_fuseki, example_prefix=example_prefix, example_query=example_query, palette=palette)
+    return interface(endpoint=endpoint_sparql, example_prefix=example_prefix, example_query=example_query, palette=palette)
 
 if __name__ == "__main__":
     launch()