Skip to Content
BayesiaLabHellixiaExamplesPhilosophy & IdeasNiccolo Machiavelli: The Prince (1532)

Niccolò Machiavelli: The Prince (1532)

Illustration for The Prince example
Click to Zoom

This example uses Hellixia to analyze Niccolò Machiavelli’s The Prince as a political philosophy text. The workflow identifies concepts related to power, leadership, statecraft, strategy, and political judgment, then creates a semantic network that can be inspected and refined in BayesiaLab.

Workflow for Creating the Semantic Network

Create the node “The Prince”.

Use the Dimension Elicitor, employing a broad array of keywords like “Characteristics”, “Contributions”, “Motivations”, “Influencers”, and many more, to conduct an exhaustive analysis of the book. Set the General Context to “Nicolas Machiavel Political Philosophy”.

Inspect the dimensions returned by Hellixia and eliminate any that seem superfluous or unrelated to the analysis. Next, disregard the “The Prince” node and run the Embedding Generator on all remaining nodes to capture the semantic associations of their names and comments.

Use the Maximum Weight Spanning Tree algorithm to generate a semantic network.

Change node styles to Badges to ensure each node’s comment is visible. Then, apply the Dynamic Grid Layout to position the nodes on the graph; this algorithm is not deterministic, and its orientation—vertical, horizontal, or mixed—is random. You might need to execute this layout several times to obtain an arrangement that aligns with the intended presentation.

Switch over to Validation Mode F5 and select Skeleton View. Since the network does not represent causal relations, Skeleton View will maintain only node connections without indicating a direction.

Loading SVG...
Click to Zoom

Workflow for Node Force Analysis

Return to Modeling Mode F4 and alter the node styles to Discs.

Use the Symmetric Layout and switch to Validation Mode F5 to run a Node Force analysis.

Click to Zoom

Workflow for Creating the Hierarchical Semantic Network

Execute Variable Clustering

This operation will categorize analogous variables based on their semantic relationships.

Loading SVG...
Click to Zoom

Open the Class Editor and run Class Description Generator to generate descriptive names for the factors in question. Use the Export Descriptions function and save the newly created descriptions.

Return to Modeling Mode F4 and run Multiple Clustering to generate latent variables.

Run the structural learning algorithm Taboo. Ensure the Delete Unfixed Arcs option is enabled.

Use the descriptions you exported earlier as a Dictionary to rename the latent variables you’ve created.

Switch to Validation and apply Node Force.

Click to Zoom