// class nodes
CREATE (Car:Class {name:'car'})
CREATE (Person:Class {name:'person'})
// instance nodes
CREATE (Alice:Inst {name:'Alice'})
CREATE (Bob:Inst {name:'Bob'})
CREATE (Chris:Inst {name:'Chris'})
CREATE (Dodge:Inst {name:'Dodge'})
// instance relations
CREATE (Dodge) -[:INST]-> (Car)
CREATE (Alice) -[:INST]-> (Person)
CREATE (Bob) -[:INST]-> (Person)
CREATE (Chris) -[:INST]-> (Person)
/////////////////////////////////////////////////////////////////////////////
// question nodes
CREATE (Responsible:Quest {name:'responsible for car'})
CREATE (Driver:Quest {name:'driver of car'})
// answer nodes
CREATE (AliceResponsibleDodge:Ans)
CREATE (BobResponsibleDodge:Ans)
CREATE (ChrisDriverDodge:Ans)
// question relations
CREATE (Responsible) -[:QUEST {name: 'person', long_name: '2 people', cardinality: '2'}]-> (Person)
CREATE (Responsible) -[:QUEST {name: 'car', long_name: '0..5 cars', cardinality: '0..5'}]-> (Car)
CREATE (Driver) -[:QUEST {name: 'person', long_name: '0..1 person', cardinality: '0..1'}]-> (Person)
CREATE (Driver) -[:QUEST {name: 'car', long_name: '0..1 car', cardinality: '0..1'}]-> (Car)
// answer question relations
CREATE (AliceResponsibleDodge) -[:AQ]-> (Responsible)
CREATE (BobResponsibleDodge) -[:AQ]-> (Responsible)
CREATE (ChrisDriverDodge) -[:AQ]-> (Driver)
// answer relations
CREATE (AliceResponsibleDodge) -[:ANS {name: 'person'}]-> (Alice)
CREATE (AliceResponsibleDodge) -[:ANS {name: 'car'}]-> (Dodge)
CREATE (BobResponsibleDodge) -[:ANS {name: 'person'}]-> (Bob)
CREATE (BobResponsibleDodge) -[:ANS {name: 'car'}]-> (Dodge)
CREATE (ChrisDriverDodge) -[:ANS {name: 'person'}]-> (Chris)
CREATE (ChrisDriverDodge) -[:ANS {name: 'car'}]-> (Dodge)