// class nodes
CREATE (City:Class {name:'city'})
CREATE (Country:Class {name:'country'})
CREATE (Sea:Class {name:'sea'})
CREATE (PortCity:Class {name:'port city'})
// instance nodes
CREATE (LaRochelle:Inst {name:'La Rochelle'})
CREATE (Marseille:Inst {name:'Marseille'})
CREATE (France:Inst {name:'France'})
CREATE (Atlantic:Inst {name:'Atlantic'})
CREATE (Mediterranean:Inst {name:'Mediterranean'})
// subclass relations
CREATE (PortCity) -[:SUB]-> (City)
// instance relations
CREATE (LaRochelle) -[:INST]-> (PortCity)
CREATE (Marseille) -[:INST]-> (PortCity)
CREATE (France) -[:INST]-> (Country)
CREATE (Atlantic) -[:INST]-> (Sea)
CREATE (Mediterranean) -[:INST]-> (Sea)
/////////////////////////////////////////////////////////////////////////////
// question nodes
CREATE (CityPartCountry:Quest {name:'city part of country'})
CREATE (CountryAccessSea:Quest {name:'country access to sea'})
CREATE (CountryBordersCountry:Quest {name:'country borders country'})
CREATE (PortCityAccessSea:Quest {name:'port city access to sea'})
// question relations
CREATE (CityPartCountry) -[:QUEST {name: 'city'}]-> (City)
CREATE (CityPartCountry) -[:QUEST {name: 'country'}]-> (Country)
CREATE (CountryAccessSea) -[:QUEST {name: 'country'}]-> (Country)
CREATE (CountryAccessSea) -[:QUEST {name: 'sea'}]-> (Sea)
CREATE (CountryBordersCountry) -[:QUEST {name: 'country'}]-> (Country)
CREATE (CountryBordersCountry) -[:QUEST {name: 'country'}]-> (Country)
CREATE (PortCityAccessSea) -[:QUEST {name: 'port city'}]-> (PortCity)
CREATE (PortCityAccessSea) -[:QUEST {name: 'sea'}]-> (Sea)