三段論法
例えば、
故に
d3.jsconst graph = `
graph g {
A[shape = box;label = "大前提:人間は死ぬ"]
B[shape = box;label = "小前提:ソクラテスは人間である"]
C[shape = box;label = "結論:ソクラテスは死ぬ"]
A -- B ;
A -- C ;
B -- C ;
{rank = same; B; C}
}
`
『オルガノン』
『分析論後書』
Argumentation theory
Buddhist logic
Enthymeme
Other types of syllogism:
Disjunctive syllogism
Hypothetical syllogism
Polysyllogism
Prosleptic syllogism
Quasi-syllogism
Statistical syllogism
Syllogistic fallacy
The False Subtlety of the Four Syllogistic Figures
Venn diagram
d3.jsd3.select("#graph").graphviz()
.fade(false)
.renderDot(graph);
vizScript.jsconst graph = `
graph g {
A[shape = box;label = "大前提:人間は死ぬ"]
B[shape = box;label = "小前提:ソクラテスは人間である"]
C[shape = box;label = "結論:ソクラテスは死ぬ"]
A -- B ;
A -- C ;
B -- C ;
{rank = same; B; C}
}
`;
const viz = new Viz();
viz.renderSVGElement(graph)
.then(function(element) {
const editor = document.getElementById('editor');
editor.appendChild(element);
});

(実行ボタン)