query
stringlengths
14
167
schema
stringclasses
2 values
result
stringlengths
18
310
Find all phone calls with a duration over 5 minutes.
Node properties are the following: ":Person {surname: STRING, nhs_no: STRING, name: STRING, age: STRING},:Location {latitude: FLOAT, postcode: STRING, longitude: FLOAT, address: STRING},:Phone {phoneNo: STRING},:Email {email_address: STRING},:Officer {badge_no: STRING, rank: STRING, name: STRING, surname: STRING},:PostCode {code: STRING},:Area {areaCode: STRING},:PhoneCall {call_duration: STRING, call_time: STRING, call_date: STRING, call_type: STRING},:Crime {date: STRING, id: STRING, type: STRING, last_outcome: STRING, note: STRING, charge: STRING},:Object {description: STRING, id: STRING, type: STRING},:Vehicle {model: STRING, reg: STRING, make: STRING, year: STRING}" Relationship properties are the following: ":CURRENT_ADDRESS {},:HAS_PHONE {},:HAS_EMAIL {},:HAS_POSTCODE {},:POSTCODE_IN_AREA {},:LOCATION_IN_AREA {},:KNOWS_SN {},:KNOWS {},:CALLER {},:CALLED {},:KNOWS_PHONE {},:OCCURRED_AT {},:INVESTIGATED_BY {},:INVOLVED_IN {},:PARTY_TO {},:FAMILY_REL {rel_type: STRING},:KNOWS_LW {}" Relationship point from source to target nodes "(:Person)-[:FAMILY_REL]->(:Person),(:Person)-[:CURRENT_ADDRESS]->(:Location),(:Person)-[:KNOWS]->(:Person),(:Person)-[:HAS_PHONE]->(:Phone),(:Person)-[:KNOWS_PHONE]->(:Person),(:Person)-[:HAS_EMAIL]->(:Email),(:Person)-[:KNOWS_SN]->(:Person),(:Person)-[:KNOWS_LW]->(:Person),(:Person)-[:PARTY_TO]->(:Crime),(:Location)-[:LOCATION_IN_AREA]->(:Area),(:Location)-[:HAS_POSTCODE]->(:PostCode),(:PostCode)-[:POSTCODE_IN_AREA]->(:Area),(:PhoneCall)-[:CALLED]->(:Phone),(:PhoneCall)-[:CALLER]->(:Phone),(:Crime)-[:INVESTIGATED_BY]->(:Officer),(:Crime)-[:OCCURRED_AT]->(:Location),(:Object)-[:INVOLVED_IN]->(:Crime),(:Vehicle)-[:INVOLVED_IN]->(:Crime)"
MATCH (n:PhoneCall) WHERE n.call_duration > '00:05:00' RETURN n
Get all vehicles with registration number ABC123.
Node properties are the following: ":Person {surname: STRING, nhs_no: STRING, name: STRING, age: STRING},:Location {latitude: FLOAT, postcode: STRING, longitude: FLOAT, address: STRING},:Phone {phoneNo: STRING},:Email {email_address: STRING},:Officer {badge_no: STRING, rank: STRING, name: STRING, surname: STRING},:PostCode {code: STRING},:Area {areaCode: STRING},:PhoneCall {call_duration: STRING, call_time: STRING, call_date: STRING, call_type: STRING},:Crime {date: STRING, id: STRING, type: STRING, last_outcome: STRING, note: STRING, charge: STRING},:Object {description: STRING, id: STRING, type: STRING},:Vehicle {model: STRING, reg: STRING, make: STRING, year: STRING}" Relationship properties are the following: ":CURRENT_ADDRESS {},:HAS_PHONE {},:HAS_EMAIL {},:HAS_POSTCODE {},:POSTCODE_IN_AREA {},:LOCATION_IN_AREA {},:KNOWS_SN {},:KNOWS {},:CALLER {},:CALLED {},:KNOWS_PHONE {},:OCCURRED_AT {},:INVESTIGATED_BY {},:INVOLVED_IN {},:PARTY_TO {},:FAMILY_REL {rel_type: STRING},:KNOWS_LW {}" Relationship point from source to target nodes "(:Person)-[:FAMILY_REL]->(:Person),(:Person)-[:CURRENT_ADDRESS]->(:Location),(:Person)-[:KNOWS]->(:Person),(:Person)-[:HAS_PHONE]->(:Phone),(:Person)-[:KNOWS_PHONE]->(:Person),(:Person)-[:HAS_EMAIL]->(:Email),(:Person)-[:KNOWS_SN]->(:Person),(:Person)-[:KNOWS_LW]->(:Person),(:Person)-[:PARTY_TO]->(:Crime),(:Location)-[:LOCATION_IN_AREA]->(:Area),(:Location)-[:HAS_POSTCODE]->(:PostCode),(:PostCode)-[:POSTCODE_IN_AREA]->(:Area),(:PhoneCall)-[:CALLED]->(:Phone),(:PhoneCall)-[:CALLER]->(:Phone),(:Crime)-[:INVESTIGATED_BY]->(:Officer),(:Crime)-[:OCCURRED_AT]->(:Location),(:Object)-[:INVOLVED_IN]->(:Crime),(:Vehicle)-[:INVOLVED_IN]->(:Crime)"
MATCH (n:Vehicle {reg: 'ABC123'}) RETURN n
Show all crimes investigated by officer with badge number 789.
Node properties are the following: ":Person {surname: STRING, nhs_no: STRING, name: STRING, age: STRING},:Location {latitude: FLOAT, postcode: STRING, longitude: FLOAT, address: STRING},:Phone {phoneNo: STRING},:Email {email_address: STRING},:Officer {badge_no: STRING, rank: STRING, name: STRING, surname: STRING},:PostCode {code: STRING},:Area {areaCode: STRING},:PhoneCall {call_duration: STRING, call_time: STRING, call_date: STRING, call_type: STRING},:Crime {date: STRING, id: STRING, type: STRING, last_outcome: STRING, note: STRING, charge: STRING},:Object {description: STRING, id: STRING, type: STRING},:Vehicle {model: STRING, reg: STRING, make: STRING, year: STRING}" Relationship properties are the following: ":CURRENT_ADDRESS {},:HAS_PHONE {},:HAS_EMAIL {},:HAS_POSTCODE {},:POSTCODE_IN_AREA {},:LOCATION_IN_AREA {},:KNOWS_SN {},:KNOWS {},:CALLER {},:CALLED {},:KNOWS_PHONE {},:OCCURRED_AT {},:INVESTIGATED_BY {},:INVOLVED_IN {},:PARTY_TO {},:FAMILY_REL {rel_type: STRING},:KNOWS_LW {}" Relationship point from source to target nodes "(:Person)-[:FAMILY_REL]->(:Person),(:Person)-[:CURRENT_ADDRESS]->(:Location),(:Person)-[:KNOWS]->(:Person),(:Person)-[:HAS_PHONE]->(:Phone),(:Person)-[:KNOWS_PHONE]->(:Person),(:Person)-[:HAS_EMAIL]->(:Email),(:Person)-[:KNOWS_SN]->(:Person),(:Person)-[:KNOWS_LW]->(:Person),(:Person)-[:PARTY_TO]->(:Crime),(:Location)-[:LOCATION_IN_AREA]->(:Area),(:Location)-[:HAS_POSTCODE]->(:PostCode),(:PostCode)-[:POSTCODE_IN_AREA]->(:Area),(:PhoneCall)-[:CALLED]->(:Phone),(:PhoneCall)-[:CALLER]->(:Phone),(:Crime)-[:INVESTIGATED_BY]->(:Officer),(:Crime)-[:OCCURRED_AT]->(:Location),(:Object)-[:INVOLVED_IN]->(:Crime),(:Vehicle)-[:INVOLVED_IN]->(:Crime)"
MATCH (n:Crime)-[:INVESTIGATED_BY]->(o:Officer {badge_no: '789'}) RETURN n
List all persons who know someone named Alice.
Node properties are the following: ":Person {surname: STRING, nhs_no: STRING, name: STRING, age: STRING},:Location {latitude: FLOAT, postcode: STRING, longitude: FLOAT, address: STRING},:Phone {phoneNo: STRING},:Email {email_address: STRING},:Officer {badge_no: STRING, rank: STRING, name: STRING, surname: STRING},:PostCode {code: STRING},:Area {areaCode: STRING},:PhoneCall {call_duration: STRING, call_time: STRING, call_date: STRING, call_type: STRING},:Crime {date: STRING, id: STRING, type: STRING, last_outcome: STRING, note: STRING, charge: STRING},:Object {description: STRING, id: STRING, type: STRING},:Vehicle {model: STRING, reg: STRING, make: STRING, year: STRING}" Relationship properties are the following: ":CURRENT_ADDRESS {},:HAS_PHONE {},:HAS_EMAIL {},:HAS_POSTCODE {},:POSTCODE_IN_AREA {},:LOCATION_IN_AREA {},:KNOWS_SN {},:KNOWS {},:CALLER {},:CALLED {},:KNOWS_PHONE {},:OCCURRED_AT {},:INVESTIGATED_BY {},:INVOLVED_IN {},:PARTY_TO {},:FAMILY_REL {rel_type: STRING},:KNOWS_LW {}" Relationship point from source to target nodes "(:Person)-[:FAMILY_REL]->(:Person),(:Person)-[:CURRENT_ADDRESS]->(:Location),(:Person)-[:KNOWS]->(:Person),(:Person)-[:HAS_PHONE]->(:Phone),(:Person)-[:KNOWS_PHONE]->(:Person),(:Person)-[:HAS_EMAIL]->(:Email),(:Person)-[:KNOWS_SN]->(:Person),(:Person)-[:KNOWS_LW]->(:Person),(:Person)-[:PARTY_TO]->(:Crime),(:Location)-[:LOCATION_IN_AREA]->(:Area),(:Location)-[:HAS_POSTCODE]->(:PostCode),(:PostCode)-[:POSTCODE_IN_AREA]->(:Area),(:PhoneCall)-[:CALLED]->(:Phone),(:PhoneCall)-[:CALLER]->(:Phone),(:Crime)-[:INVESTIGATED_BY]->(:Officer),(:Crime)-[:OCCURRED_AT]->(:Location),(:Object)-[:INVOLVED_IN]->(:Crime),(:Vehicle)-[:INVOLVED_IN]->(:Crime)"
MATCH (n:Person)-[:KNOWS]->(p:Person {name: 'Alice'}) RETURN n
Retrieve all locations with longitude between -100 and -90.
Node properties are the following: ":Person {surname: STRING, nhs_no: STRING, name: STRING, age: STRING},:Location {latitude: FLOAT, postcode: STRING, longitude: FLOAT, address: STRING},:Phone {phoneNo: STRING},:Email {email_address: STRING},:Officer {badge_no: STRING, rank: STRING, name: STRING, surname: STRING},:PostCode {code: STRING},:Area {areaCode: STRING},:PhoneCall {call_duration: STRING, call_time: STRING, call_date: STRING, call_type: STRING},:Crime {date: STRING, id: STRING, type: STRING, last_outcome: STRING, note: STRING, charge: STRING},:Object {description: STRING, id: STRING, type: STRING},:Vehicle {model: STRING, reg: STRING, make: STRING, year: STRING}" Relationship properties are the following: ":CURRENT_ADDRESS {},:HAS_PHONE {},:HAS_EMAIL {},:HAS_POSTCODE {},:POSTCODE_IN_AREA {},:LOCATION_IN_AREA {},:KNOWS_SN {},:KNOWS {},:CALLER {},:CALLED {},:KNOWS_PHONE {},:OCCURRED_AT {},:INVESTIGATED_BY {},:INVOLVED_IN {},:PARTY_TO {},:FAMILY_REL {rel_type: STRING},:KNOWS_LW {}" Relationship point from source to target nodes "(:Person)-[:FAMILY_REL]->(:Person),(:Person)-[:CURRENT_ADDRESS]->(:Location),(:Person)-[:KNOWS]->(:Person),(:Person)-[:HAS_PHONE]->(:Phone),(:Person)-[:KNOWS_PHONE]->(:Person),(:Person)-[:HAS_EMAIL]->(:Email),(:Person)-[:KNOWS_SN]->(:Person),(:Person)-[:KNOWS_LW]->(:Person),(:Person)-[:PARTY_TO]->(:Crime),(:Location)-[:LOCATION_IN_AREA]->(:Area),(:Location)-[:HAS_POSTCODE]->(:PostCode),(:PostCode)-[:POSTCODE_IN_AREA]->(:Area),(:PhoneCall)-[:CALLED]->(:Phone),(:PhoneCall)-[:CALLER]->(:Phone),(:Crime)-[:INVESTIGATED_BY]->(:Officer),(:Crime)-[:OCCURRED_AT]->(:Location),(:Object)-[:INVOLVED_IN]->(:Crime),(:Vehicle)-[:INVOLVED_IN]->(:Crime)"
MATCH (n:Location) WHERE n.longitude >= -100 AND n.longitude <= -90 RETURN n
Find all email addresses ending with '@example.com'.
Node properties are the following: ":Person {surname: STRING, nhs_no: STRING, name: STRING, age: STRING},:Location {latitude: FLOAT, postcode: STRING, longitude: FLOAT, address: STRING},:Phone {phoneNo: STRING},:Email {email_address: STRING},:Officer {badge_no: STRING, rank: STRING, name: STRING, surname: STRING},:PostCode {code: STRING},:Area {areaCode: STRING},:PhoneCall {call_duration: STRING, call_time: STRING, call_date: STRING, call_type: STRING},:Crime {date: STRING, id: STRING, type: STRING, last_outcome: STRING, note: STRING, charge: STRING},:Object {description: STRING, id: STRING, type: STRING},:Vehicle {model: STRING, reg: STRING, make: STRING, year: STRING}" Relationship properties are the following: ":CURRENT_ADDRESS {},:HAS_PHONE {},:HAS_EMAIL {},:HAS_POSTCODE {},:POSTCODE_IN_AREA {},:LOCATION_IN_AREA {},:KNOWS_SN {},:KNOWS {},:CALLER {},:CALLED {},:KNOWS_PHONE {},:OCCURRED_AT {},:INVESTIGATED_BY {},:INVOLVED_IN {},:PARTY_TO {},:FAMILY_REL {rel_type: STRING},:KNOWS_LW {}" Relationship point from source to target nodes "(:Person)-[:FAMILY_REL]->(:Person),(:Person)-[:CURRENT_ADDRESS]->(:Location),(:Person)-[:KNOWS]->(:Person),(:Person)-[:HAS_PHONE]->(:Phone),(:Person)-[:KNOWS_PHONE]->(:Person),(:Person)-[:HAS_EMAIL]->(:Email),(:Person)-[:KNOWS_SN]->(:Person),(:Person)-[:KNOWS_LW]->(:Person),(:Person)-[:PARTY_TO]->(:Crime),(:Location)-[:LOCATION_IN_AREA]->(:Area),(:Location)-[:HAS_POSTCODE]->(:PostCode),(:PostCode)-[:POSTCODE_IN_AREA]->(:Area),(:PhoneCall)-[:CALLED]->(:Phone),(:PhoneCall)-[:CALLER]->(:Phone),(:Crime)-[:INVESTIGATED_BY]->(:Officer),(:Crime)-[:OCCURRED_AT]->(:Location),(:Object)-[:INVOLVED_IN]->(:Crime),(:Vehicle)-[:INVOLVED_IN]->(:Crime)"
MATCH (n:Email) WHERE n.email_address ENDS WITH '@example.com' RETURN n
Find everyone who lives at 123 Main St.
Node properties are the following: ":Person {surname: STRING, nhs_no: STRING, name: STRING, age: STRING},:Location {latitude: FLOAT, postcode: STRING, longitude: FLOAT, address: STRING},:Phone {phoneNo: STRING},:Email {email_address: STRING},:Officer {badge_no: STRING, rank: STRING, name: STRING, surname: STRING},:PostCode {code: STRING},:Area {areaCode: STRING},:PhoneCall {call_duration: STRING, call_time: STRING, call_date: STRING, call_type: STRING},:Crime {date: STRING, id: STRING, type: STRING, last_outcome: STRING, note: STRING, charge: STRING},:Object {description: STRING, id: STRING, type: STRING},:Vehicle {model: STRING, reg: STRING, make: STRING, year: STRING}" Relationship properties are the following: ":CURRENT_ADDRESS {},:HAS_PHONE {},:HAS_EMAIL {},:HAS_POSTCODE {},:POSTCODE_IN_AREA {},:LOCATION_IN_AREA {},:KNOWS_SN {},:KNOWS {},:CALLER {},:CALLED {},:KNOWS_PHONE {},:OCCURRED_AT {},:INVESTIGATED_BY {},:INVOLVED_IN {},:PARTY_TO {},:FAMILY_REL {rel_type: STRING},:KNOWS_LW {}" Relationship point from source to target nodes "(:Person)-[:FAMILY_REL]->(:Person),(:Person)-[:CURRENT_ADDRESS]->(:Location),(:Person)-[:KNOWS]->(:Person),(:Person)-[:HAS_PHONE]->(:Phone),(:Person)-[:KNOWS_PHONE]->(:Person),(:Person)-[:HAS_EMAIL]->(:Email),(:Person)-[:KNOWS_SN]->(:Person),(:Person)-[:KNOWS_LW]->(:Person),(:Person)-[:PARTY_TO]->(:Crime),(:Location)-[:LOCATION_IN_AREA]->(:Area),(:Location)-[:HAS_POSTCODE]->(:PostCode),(:PostCode)-[:POSTCODE_IN_AREA]->(:Area),(:PhoneCall)-[:CALLED]->(:Phone),(:PhoneCall)-[:CALLER]->(:Phone),(:Crime)-[:INVESTIGATED_BY]->(:Officer),(:Crime)-[:OCCURRED_AT]->(:Location),(:Object)-[:INVOLVED_IN]->(:Crime),(:Vehicle)-[:INVOLVED_IN]->(:Crime)"
MATCH (p:Person)-[:CURRENT_ADDRESS]->(l:Location {address: '123 Main St'}) RETURN p
List all the people who called the 555-1234 telephone number.
Node properties are the following: ":Person {surname: STRING, nhs_no: STRING, name: STRING, age: STRING},:Location {latitude: FLOAT, postcode: STRING, longitude: FLOAT, address: STRING},:Phone {phoneNo: STRING},:Email {email_address: STRING},:Officer {badge_no: STRING, rank: STRING, name: STRING, surname: STRING},:PostCode {code: STRING},:Area {areaCode: STRING},:PhoneCall {call_duration: STRING, call_time: STRING, call_date: STRING, call_type: STRING},:Crime {date: STRING, id: STRING, type: STRING, last_outcome: STRING, note: STRING, charge: STRING},:Object {description: STRING, id: STRING, type: STRING},:Vehicle {model: STRING, reg: STRING, make: STRING, year: STRING}" Relationship properties are the following: ":CURRENT_ADDRESS {},:HAS_PHONE {},:HAS_EMAIL {},:HAS_POSTCODE {},:POSTCODE_IN_AREA {},:LOCATION_IN_AREA {},:KNOWS_SN {},:KNOWS {},:CALLER {},:CALLED {},:KNOWS_PHONE {},:OCCURRED_AT {},:INVESTIGATED_BY {},:INVOLVED_IN {},:PARTY_TO {},:FAMILY_REL {rel_type: STRING},:KNOWS_LW {}" Relationship point from source to target nodes "(:Person)-[:FAMILY_REL]->(:Person),(:Person)-[:CURRENT_ADDRESS]->(:Location),(:Person)-[:KNOWS]->(:Person),(:Person)-[:HAS_PHONE]->(:Phone),(:Person)-[:KNOWS_PHONE]->(:Person),(:Person)-[:HAS_EMAIL]->(:Email),(:Person)-[:KNOWS_SN]->(:Person),(:Person)-[:KNOWS_LW]->(:Person),(:Person)-[:PARTY_TO]->(:Crime),(:Location)-[:LOCATION_IN_AREA]->(:Area),(:Location)-[:HAS_POSTCODE]->(:PostCode),(:PostCode)-[:POSTCODE_IN_AREA]->(:Area),(:PhoneCall)-[:CALLED]->(:Phone),(:PhoneCall)-[:CALLER]->(:Phone),(:Crime)-[:INVESTIGATED_BY]->(:Officer),(:Crime)-[:OCCURRED_AT]->(:Location),(:Object)-[:INVOLVED_IN]->(:Crime),(:Vehicle)-[:INVOLVED_IN]->(:Crime)"
MATCH (p:Person)-[:HAS_PHONE]->(ph:Phone {phoneNo: '555-1234'}) RETURN p
Show all crimes that occurred at latitude 48.8566 and longitude 2.3522.
Node properties are the following: ":Person {surname: STRING, nhs_no: STRING, name: STRING, age: STRING},:Location {latitude: FLOAT, postcode: STRING, longitude: FLOAT, address: STRING},:Phone {phoneNo: STRING},:Email {email_address: STRING},:Officer {badge_no: STRING, rank: STRING, name: STRING, surname: STRING},:PostCode {code: STRING},:Area {areaCode: STRING},:PhoneCall {call_duration: STRING, call_time: STRING, call_date: STRING, call_type: STRING},:Crime {date: STRING, id: STRING, type: STRING, last_outcome: STRING, note: STRING, charge: STRING},:Object {description: STRING, id: STRING, type: STRING},:Vehicle {model: STRING, reg: STRING, make: STRING, year: STRING}" Relationship properties are the following: ":CURRENT_ADDRESS {},:HAS_PHONE {},:HAS_EMAIL {},:HAS_POSTCODE {},:POSTCODE_IN_AREA {},:LOCATION_IN_AREA {},:KNOWS_SN {},:KNOWS {},:CALLER {},:CALLED {},:KNOWS_PHONE {},:OCCURRED_AT {},:INVESTIGATED_BY {},:INVOLVED_IN {},:PARTY_TO {},:FAMILY_REL {rel_type: STRING},:KNOWS_LW {}" Relationship point from source to target nodes "(:Person)-[:FAMILY_REL]->(:Person),(:Person)-[:CURRENT_ADDRESS]->(:Location),(:Person)-[:KNOWS]->(:Person),(:Person)-[:HAS_PHONE]->(:Phone),(:Person)-[:KNOWS_PHONE]->(:Person),(:Person)-[:HAS_EMAIL]->(:Email),(:Person)-[:KNOWS_SN]->(:Person),(:Person)-[:KNOWS_LW]->(:Person),(:Person)-[:PARTY_TO]->(:Crime),(:Location)-[:LOCATION_IN_AREA]->(:Area),(:Location)-[:HAS_POSTCODE]->(:PostCode),(:PostCode)-[:POSTCODE_IN_AREA]->(:Area),(:PhoneCall)-[:CALLED]->(:Phone),(:PhoneCall)-[:CALLER]->(:Phone),(:Crime)-[:INVESTIGATED_BY]->(:Officer),(:Crime)-[:OCCURRED_AT]->(:Location),(:Object)-[:INVOLVED_IN]->(:Crime),(:Vehicle)-[:INVOLVED_IN]->(:Crime)"
MATCH (c:Crime)-[:OCCURRED_AT]->(l:Location {latitude: 48.8566, longitude: 2.3522}) RETURN c
List all people who know someone with the email alice@example.com.
Node properties are the following: ":Person {surname: STRING, nhs_no: STRING, name: STRING, age: STRING},:Location {latitude: FLOAT, postcode: STRING, longitude: FLOAT, address: STRING},:Phone {phoneNo: STRING},:Email {email_address: STRING},:Officer {badge_no: STRING, rank: STRING, name: STRING, surname: STRING},:PostCode {code: STRING},:Area {areaCode: STRING},:PhoneCall {call_duration: STRING, call_time: STRING, call_date: STRING, call_type: STRING},:Crime {date: STRING, id: STRING, type: STRING, last_outcome: STRING, note: STRING, charge: STRING},:Object {description: STRING, id: STRING, type: STRING},:Vehicle {model: STRING, reg: STRING, make: STRING, year: STRING}" Relationship properties are the following: ":CURRENT_ADDRESS {},:HAS_PHONE {},:HAS_EMAIL {},:HAS_POSTCODE {},:POSTCODE_IN_AREA {},:LOCATION_IN_AREA {},:KNOWS_SN {},:KNOWS {},:CALLER {},:CALLED {},:KNOWS_PHONE {},:OCCURRED_AT {},:INVESTIGATED_BY {},:INVOLVED_IN {},:PARTY_TO {},:FAMILY_REL {rel_type: STRING},:KNOWS_LW {}" Relationship point from source to target nodes "(:Person)-[:FAMILY_REL]->(:Person),(:Person)-[:CURRENT_ADDRESS]->(:Location),(:Person)-[:KNOWS]->(:Person),(:Person)-[:HAS_PHONE]->(:Phone),(:Person)-[:KNOWS_PHONE]->(:Person),(:Person)-[:HAS_EMAIL]->(:Email),(:Person)-[:KNOWS_SN]->(:Person),(:Person)-[:KNOWS_LW]->(:Person),(:Person)-[:PARTY_TO]->(:Crime),(:Location)-[:LOCATION_IN_AREA]->(:Area),(:Location)-[:HAS_POSTCODE]->(:PostCode),(:PostCode)-[:POSTCODE_IN_AREA]->(:Area),(:PhoneCall)-[:CALLED]->(:Phone),(:PhoneCall)-[:CALLER]->(:Phone),(:Crime)-[:INVESTIGATED_BY]->(:Officer),(:Crime)-[:OCCURRED_AT]->(:Location),(:Object)-[:INVOLVED_IN]->(:Crime),(:Vehicle)-[:INVOLVED_IN]->(:Crime)"
MATCH (p:Person)-[:KNOWS]->(f:Person)-[:HAS_EMAIL]->(e:Email {email_address: 'alice@example.com'}) RETURN p
Get all cars involved in crimes by 2023.
Node properties are the following: ":Person {surname: STRING, nhs_no: STRING, name: STRING, age: STRING},:Location {latitude: FLOAT, postcode: STRING, longitude: FLOAT, address: STRING},:Phone {phoneNo: STRING},:Email {email_address: STRING},:Officer {badge_no: STRING, rank: STRING, name: STRING, surname: STRING},:PostCode {code: STRING},:Area {areaCode: STRING},:PhoneCall {call_duration: STRING, call_time: STRING, call_date: STRING, call_type: STRING},:Crime {date: STRING, id: STRING, type: STRING, last_outcome: STRING, note: STRING, charge: STRING},:Object {description: STRING, id: STRING, type: STRING},:Vehicle {model: STRING, reg: STRING, make: STRING, year: STRING}" Relationship properties are the following: ":CURRENT_ADDRESS {},:HAS_PHONE {},:HAS_EMAIL {},:HAS_POSTCODE {},:POSTCODE_IN_AREA {},:LOCATION_IN_AREA {},:KNOWS_SN {},:KNOWS {},:CALLER {},:CALLED {},:KNOWS_PHONE {},:OCCURRED_AT {},:INVESTIGATED_BY {},:INVOLVED_IN {},:PARTY_TO {},:FAMILY_REL {rel_type: STRING},:KNOWS_LW {}" Relationship point from source to target nodes "(:Person)-[:FAMILY_REL]->(:Person),(:Person)-[:CURRENT_ADDRESS]->(:Location),(:Person)-[:KNOWS]->(:Person),(:Person)-[:HAS_PHONE]->(:Phone),(:Person)-[:KNOWS_PHONE]->(:Person),(:Person)-[:HAS_EMAIL]->(:Email),(:Person)-[:KNOWS_SN]->(:Person),(:Person)-[:KNOWS_LW]->(:Person),(:Person)-[:PARTY_TO]->(:Crime),(:Location)-[:LOCATION_IN_AREA]->(:Area),(:Location)-[:HAS_POSTCODE]->(:PostCode),(:PostCode)-[:POSTCODE_IN_AREA]->(:Area),(:PhoneCall)-[:CALLED]->(:Phone),(:PhoneCall)-[:CALLER]->(:Phone),(:Crime)-[:INVESTIGATED_BY]->(:Officer),(:Crime)-[:OCCURRED_AT]->(:Location),(:Object)-[:INVOLVED_IN]->(:Crime),(:Vehicle)-[:INVOLVED_IN]->(:Crime)"
MATCH (v:Vehicle)-[:INVOLVED_IN]->(c:Crime) WHERE c.date CONTAINS '2023' RETURN v
Find everyone with a phone number and an email address.
Node properties are the following: ":Person {surname: STRING, nhs_no: STRING, name: STRING, age: STRING},:Location {latitude: FLOAT, postcode: STRING, longitude: FLOAT, address: STRING},:Phone {phoneNo: STRING},:Email {email_address: STRING},:Officer {badge_no: STRING, rank: STRING, name: STRING, surname: STRING},:PostCode {code: STRING},:Area {areaCode: STRING},:PhoneCall {call_duration: STRING, call_time: STRING, call_date: STRING, call_type: STRING},:Crime {date: STRING, id: STRING, type: STRING, last_outcome: STRING, note: STRING, charge: STRING},:Object {description: STRING, id: STRING, type: STRING},:Vehicle {model: STRING, reg: STRING, make: STRING, year: STRING}" Relationship properties are the following: ":CURRENT_ADDRESS {},:HAS_PHONE {},:HAS_EMAIL {},:HAS_POSTCODE {},:POSTCODE_IN_AREA {},:LOCATION_IN_AREA {},:KNOWS_SN {},:KNOWS {},:CALLER {},:CALLED {},:KNOWS_PHONE {},:OCCURRED_AT {},:INVESTIGATED_BY {},:INVOLVED_IN {},:PARTY_TO {},:FAMILY_REL {rel_type: STRING},:KNOWS_LW {}" Relationship point from source to target nodes "(:Person)-[:FAMILY_REL]->(:Person),(:Person)-[:CURRENT_ADDRESS]->(:Location),(:Person)-[:KNOWS]->(:Person),(:Person)-[:HAS_PHONE]->(:Phone),(:Person)-[:KNOWS_PHONE]->(:Person),(:Person)-[:HAS_EMAIL]->(:Email),(:Person)-[:KNOWS_SN]->(:Person),(:Person)-[:KNOWS_LW]->(:Person),(:Person)-[:PARTY_TO]->(:Crime),(:Location)-[:LOCATION_IN_AREA]->(:Area),(:Location)-[:HAS_POSTCODE]->(:PostCode),(:PostCode)-[:POSTCODE_IN_AREA]->(:Area),(:PhoneCall)-[:CALLED]->(:Phone),(:PhoneCall)-[:CALLER]->(:Phone),(:Crime)-[:INVESTIGATED_BY]->(:Officer),(:Crime)-[:OCCURRED_AT]->(:Location),(:Object)-[:INVOLVED_IN]->(:Crime),(:Vehicle)-[:INVOLVED_IN]->(:Crime)"
MATCH (:Email)<-[:HAS_EMAIL]-(p:Person)-[:HAS_PHONE]->(:Phone) RETURN p
Show all people living in the area with postal code 75001.
Node properties are the following: ":Person {surname: STRING, nhs_no: STRING, name: STRING, age: STRING},:Location {latitude: FLOAT, postcode: STRING, longitude: FLOAT, address: STRING},:Phone {phoneNo: STRING},:Email {email_address: STRING},:Officer {badge_no: STRING, rank: STRING, name: STRING, surname: STRING},:PostCode {code: STRING},:Area {areaCode: STRING},:PhoneCall {call_duration: STRING, call_time: STRING, call_date: STRING, call_type: STRING},:Crime {date: STRING, id: STRING, type: STRING, last_outcome: STRING, note: STRING, charge: STRING},:Object {description: STRING, id: STRING, type: STRING},:Vehicle {model: STRING, reg: STRING, make: STRING, year: STRING}" Relationship properties are the following: ":CURRENT_ADDRESS {},:HAS_PHONE {},:HAS_EMAIL {},:HAS_POSTCODE {},:POSTCODE_IN_AREA {},:LOCATION_IN_AREA {},:KNOWS_SN {},:KNOWS {},:CALLER {},:CALLED {},:KNOWS_PHONE {},:OCCURRED_AT {},:INVESTIGATED_BY {},:INVOLVED_IN {},:PARTY_TO {},:FAMILY_REL {rel_type: STRING},:KNOWS_LW {}" Relationship point from source to target nodes "(:Person)-[:FAMILY_REL]->(:Person),(:Person)-[:CURRENT_ADDRESS]->(:Location),(:Person)-[:KNOWS]->(:Person),(:Person)-[:HAS_PHONE]->(:Phone),(:Person)-[:KNOWS_PHONE]->(:Person),(:Person)-[:HAS_EMAIL]->(:Email),(:Person)-[:KNOWS_SN]->(:Person),(:Person)-[:KNOWS_LW]->(:Person),(:Person)-[:PARTY_TO]->(:Crime),(:Location)-[:LOCATION_IN_AREA]->(:Area),(:Location)-[:HAS_POSTCODE]->(:PostCode),(:PostCode)-[:POSTCODE_IN_AREA]->(:Area),(:PhoneCall)-[:CALLED]->(:Phone),(:PhoneCall)-[:CALLER]->(:Phone),(:Crime)-[:INVESTIGATED_BY]->(:Officer),(:Crime)-[:OCCURRED_AT]->(:Location),(:Object)-[:INVOLVED_IN]->(:Crime),(:Vehicle)-[:INVOLVED_IN]->(:Crime)"
MATCH (p:Person)-[:CURRENT_ADDRESS]->(l:Location)-[:HAS_POSTCODE]->(pc:PostCode {code: '75001'}) RETURN p
List all officers who have investigated theft-related offences.
Node properties are the following: ":Person {surname: STRING, nhs_no: STRING, name: STRING, age: STRING},:Location {latitude: FLOAT, postcode: STRING, longitude: FLOAT, address: STRING},:Phone {phoneNo: STRING},:Email {email_address: STRING},:Officer {badge_no: STRING, rank: STRING, name: STRING, surname: STRING},:PostCode {code: STRING},:Area {areaCode: STRING},:PhoneCall {call_duration: STRING, call_time: STRING, call_date: STRING, call_type: STRING},:Crime {date: STRING, id: STRING, type: STRING, last_outcome: STRING, note: STRING, charge: STRING},:Object {description: STRING, id: STRING, type: STRING},:Vehicle {model: STRING, reg: STRING, make: STRING, year: STRING}" Relationship properties are the following: ":CURRENT_ADDRESS {},:HAS_PHONE {},:HAS_EMAIL {},:HAS_POSTCODE {},:POSTCODE_IN_AREA {},:LOCATION_IN_AREA {},:KNOWS_SN {},:KNOWS {},:CALLER {},:CALLED {},:KNOWS_PHONE {},:OCCURRED_AT {},:INVESTIGATED_BY {},:INVOLVED_IN {},:PARTY_TO {},:FAMILY_REL {rel_type: STRING},:KNOWS_LW {}" Relationship point from source to target nodes "(:Person)-[:FAMILY_REL]->(:Person),(:Person)-[:CURRENT_ADDRESS]->(:Location),(:Person)-[:KNOWS]->(:Person),(:Person)-[:HAS_PHONE]->(:Phone),(:Person)-[:KNOWS_PHONE]->(:Person),(:Person)-[:HAS_EMAIL]->(:Email),(:Person)-[:KNOWS_SN]->(:Person),(:Person)-[:KNOWS_LW]->(:Person),(:Person)-[:PARTY_TO]->(:Crime),(:Location)-[:LOCATION_IN_AREA]->(:Area),(:Location)-[:HAS_POSTCODE]->(:PostCode),(:PostCode)-[:POSTCODE_IN_AREA]->(:Area),(:PhoneCall)-[:CALLED]->(:Phone),(:PhoneCall)-[:CALLER]->(:Phone),(:Crime)-[:INVESTIGATED_BY]->(:Officer),(:Crime)-[:OCCURRED_AT]->(:Location),(:Object)-[:INVOLVED_IN]->(:Crime),(:Vehicle)-[:INVOLVED_IN]->(:Crime)"
MATCH (o:Officer)-[:INVESTIGATED_BY]->(c:Crime {type: 'vol'}) RETURN o
Find all offences where a 'weapon' type object is involved.
Node properties are the following: ":Person {surname: STRING, nhs_no: STRING, name: STRING, age: STRING},:Location {latitude: FLOAT, postcode: STRING, longitude: FLOAT, address: STRING},:Phone {phoneNo: STRING},:Email {email_address: STRING},:Officer {badge_no: STRING, rank: STRING, name: STRING, surname: STRING},:PostCode {code: STRING},:Area {areaCode: STRING},:PhoneCall {call_duration: STRING, call_time: STRING, call_date: STRING, call_type: STRING},:Crime {date: STRING, id: STRING, type: STRING, last_outcome: STRING, note: STRING, charge: STRING},:Object {description: STRING, id: STRING, type: STRING},:Vehicle {model: STRING, reg: STRING, make: STRING, year: STRING}" Relationship properties are the following: ":CURRENT_ADDRESS {},:HAS_PHONE {},:HAS_EMAIL {},:HAS_POSTCODE {},:POSTCODE_IN_AREA {},:LOCATION_IN_AREA {},:KNOWS_SN {},:KNOWS {},:CALLER {},:CALLED {},:KNOWS_PHONE {},:OCCURRED_AT {},:INVESTIGATED_BY {},:INVOLVED_IN {},:PARTY_TO {},:FAMILY_REL {rel_type: STRING},:KNOWS_LW {}" Relationship point from source to target nodes "(:Person)-[:FAMILY_REL]->(:Person),(:Person)-[:CURRENT_ADDRESS]->(:Location),(:Person)-[:KNOWS]->(:Person),(:Person)-[:HAS_PHONE]->(:Phone),(:Person)-[:KNOWS_PHONE]->(:Person),(:Person)-[:HAS_EMAIL]->(:Email),(:Person)-[:KNOWS_SN]->(:Person),(:Person)-[:KNOWS_LW]->(:Person),(:Person)-[:PARTY_TO]->(:Crime),(:Location)-[:LOCATION_IN_AREA]->(:Area),(:Location)-[:HAS_POSTCODE]->(:PostCode),(:PostCode)-[:POSTCODE_IN_AREA]->(:Area),(:PhoneCall)-[:CALLED]->(:Phone),(:PhoneCall)-[:CALLER]->(:Phone),(:Crime)-[:INVESTIGATED_BY]->(:Officer),(:Crime)-[:OCCURRED_AT]->(:Location),(:Object)-[:INVOLVED_IN]->(:Crime),(:Vehicle)-[:INVOLVED_IN]->(:Crime)"
MATCH (c:Crime)-[:INVOLVED_IN]->(o:Object {type: 'weapon'}) RETURN c
Obtenir toutes les personnes avec un badge d'officier et ayant un numéro de téléphone.
Node properties are the following: ":Person {surname: STRING, nhs_no: STRING, name: STRING, age: STRING},:Location {latitude: FLOAT, postcode: STRING, longitude: FLOAT, address: STRING},:Phone {phoneNo: STRING},:Email {email_address: STRING},:Officer {badge_no: STRING, rank: STRING, name: STRING, surname: STRING},:PostCode {code: STRING},:Area {areaCode: STRING},:PhoneCall {call_duration: STRING, call_time: STRING, call_date: STRING, call_type: STRING},:Crime {date: STRING, id: STRING, type: STRING, last_outcome: STRING, note: STRING, charge: STRING},:Object {description: STRING, id: STRING, type: STRING},:Vehicle {model: STRING, reg: STRING, make: STRING, year: STRING}" Relationship properties are the following: ":CURRENT_ADDRESS {},:HAS_PHONE {},:HAS_EMAIL {},:HAS_POSTCODE {},:POSTCODE_IN_AREA {},:LOCATION_IN_AREA {},:KNOWS_SN {},:KNOWS {},:CALLER {},:CALLED {},:KNOWS_PHONE {},:OCCURRED_AT {},:INVESTIGATED_BY {},:INVOLVED_IN {},:PARTY_TO {},:FAMILY_REL {rel_type: STRING},:KNOWS_LW {}" Relationship point from source to target nodes "(:Person)-[:FAMILY_REL]->(:Person),(:Person)-[:CURRENT_ADDRESS]->(:Location),(:Person)-[:KNOWS]->(:Person),(:Person)-[:HAS_PHONE]->(:Phone),(:Person)-[:KNOWS_PHONE]->(:Person),(:Person)-[:HAS_EMAIL]->(:Email),(:Person)-[:KNOWS_SN]->(:Person),(:Person)-[:KNOWS_LW]->(:Person),(:Person)-[:PARTY_TO]->(:Crime),(:Location)-[:LOCATION_IN_AREA]->(:Area),(:Location)-[:HAS_POSTCODE]->(:PostCode),(:PostCode)-[:POSTCODE_IN_AREA]->(:Area),(:PhoneCall)-[:CALLED]->(:Phone),(:PhoneCall)-[:CALLER]->(:Phone),(:Crime)-[:INVESTIGATED_BY]->(:Officer),(:Crime)-[:OCCURRED_AT]->(:Location),(:Object)-[:INVOLVED_IN]->(:Crime),(:Vehicle)-[:INVOLVED_IN]->(:Crime)"
MATCH (p:Person)-[:HAS_PHONE]->(:Phone)-[:INVESTIGATED_BY]->(:Officer) RETURN p
Display all family relationships between people named 'Mary' and 'Paul'.
Node properties are the following: ":Person {surname: STRING, nhs_no: STRING, name: STRING, age: STRING},:Location {latitude: FLOAT, postcode: STRING, longitude: FLOAT, address: STRING},:Phone {phoneNo: STRING},:Email {email_address: STRING},:Officer {badge_no: STRING, rank: STRING, name: STRING, surname: STRING},:PostCode {code: STRING},:Area {areaCode: STRING},:PhoneCall {call_duration: STRING, call_time: STRING, call_date: STRING, call_type: STRING},:Crime {date: STRING, id: STRING, type: STRING, last_outcome: STRING, note: STRING, charge: STRING},:Object {description: STRING, id: STRING, type: STRING},:Vehicle {model: STRING, reg: STRING, make: STRING, year: STRING}" Relationship properties are the following: ":CURRENT_ADDRESS {},:HAS_PHONE {},:HAS_EMAIL {},:HAS_POSTCODE {},:POSTCODE_IN_AREA {},:LOCATION_IN_AREA {},:KNOWS_SN {},:KNOWS {},:CALLER {},:CALLED {},:KNOWS_PHONE {},:OCCURRED_AT {},:INVESTIGATED_BY {},:INVOLVED_IN {},:PARTY_TO {},:FAMILY_REL {rel_type: STRING},:KNOWS_LW {}" Relationship point from source to target nodes "(:Person)-[:FAMILY_REL]->(:Person),(:Person)-[:CURRENT_ADDRESS]->(:Location),(:Person)-[:KNOWS]->(:Person),(:Person)-[:HAS_PHONE]->(:Phone),(:Person)-[:KNOWS_PHONE]->(:Person),(:Person)-[:HAS_EMAIL]->(:Email),(:Person)-[:KNOWS_SN]->(:Person),(:Person)-[:KNOWS_LW]->(:Person),(:Person)-[:PARTY_TO]->(:Crime),(:Location)-[:LOCATION_IN_AREA]->(:Area),(:Location)-[:HAS_POSTCODE]->(:PostCode),(:PostCode)-[:POSTCODE_IN_AREA]->(:Area),(:PhoneCall)-[:CALLED]->(:Phone),(:PhoneCall)-[:CALLER]->(:Phone),(:Crime)-[:INVESTIGATED_BY]->(:Officer),(:Crime)-[:OCCURRED_AT]->(:Location),(:Object)-[:INVOLVED_IN]->(:Crime),(:Vehicle)-[:INVOLVED_IN]->(:Crime)"
MATCH (p1:Person {name: 'Marie'})-[r:FAMILY_REL]->(p2:Person {name: 'Paul'}) RETURN p1, r, p2
List all infringements occurring in zones with zone code 'A2'.
Node properties are the following: ":Person {surname: STRING, nhs_no: STRING, name: STRING, age: STRING},:Location {latitude: FLOAT, postcode: STRING, longitude: FLOAT, address: STRING},:Phone {phoneNo: STRING},:Email {email_address: STRING},:Officer {badge_no: STRING, rank: STRING, name: STRING, surname: STRING},:PostCode {code: STRING},:Area {areaCode: STRING},:PhoneCall {call_duration: STRING, call_time: STRING, call_date: STRING, call_type: STRING},:Crime {date: STRING, id: STRING, type: STRING, last_outcome: STRING, note: STRING, charge: STRING},:Object {description: STRING, id: STRING, type: STRING},:Vehicle {model: STRING, reg: STRING, make: STRING, year: STRING}" Relationship properties are the following: ":CURRENT_ADDRESS {},:HAS_PHONE {},:HAS_EMAIL {},:HAS_POSTCODE {},:POSTCODE_IN_AREA {},:LOCATION_IN_AREA {},:KNOWS_SN {},:KNOWS {},:CALLER {},:CALLED {},:KNOWS_PHONE {},:OCCURRED_AT {},:INVESTIGATED_BY {},:INVOLVED_IN {},:PARTY_TO {},:FAMILY_REL {rel_type: STRING},:KNOWS_LW {}" Relationship point from source to target nodes "(:Person)-[:FAMILY_REL]->(:Person),(:Person)-[:CURRENT_ADDRESS]->(:Location),(:Person)-[:KNOWS]->(:Person),(:Person)-[:HAS_PHONE]->(:Phone),(:Person)-[:KNOWS_PHONE]->(:Person),(:Person)-[:HAS_EMAIL]->(:Email),(:Person)-[:KNOWS_SN]->(:Person),(:Person)-[:KNOWS_LW]->(:Person),(:Person)-[:PARTY_TO]->(:Crime),(:Location)-[:LOCATION_IN_AREA]->(:Area),(:Location)-[:HAS_POSTCODE]->(:PostCode),(:PostCode)-[:POSTCODE_IN_AREA]->(:Area),(:PhoneCall)-[:CALLED]->(:Phone),(:PhoneCall)-[:CALLER]->(:Phone),(:Crime)-[:INVESTIGATED_BY]->(:Officer),(:Crime)-[:OCCURRED_AT]->(:Location),(:Object)-[:INVOLVED_IN]->(:Crime),(:Vehicle)-[:INVOLVED_IN]->(:Crime)"
MATCH (c:Crime)-[r1:OCCURRED_AT]->(l:Location)-[r2:LOCATION_IN_AREA]->(a:Area {areaCode: 'A2'}) RETURN c, r1, l, r2, a
Find all phone calls made by people with the surname 'Dupont'.
Node properties are the following: ":Person {surname: STRING, nhs_no: STRING, name: STRING, age: STRING},:Location {latitude: FLOAT, postcode: STRING, longitude: FLOAT, address: STRING},:Phone {phoneNo: STRING},:Email {email_address: STRING},:Officer {badge_no: STRING, rank: STRING, name: STRING, surname: STRING},:PostCode {code: STRING},:Area {areaCode: STRING},:PhoneCall {call_duration: STRING, call_time: STRING, call_date: STRING, call_type: STRING},:Crime {date: STRING, id: STRING, type: STRING, last_outcome: STRING, note: STRING, charge: STRING},:Object {description: STRING, id: STRING, type: STRING},:Vehicle {model: STRING, reg: STRING, make: STRING, year: STRING}" Relationship properties are the following: ":CURRENT_ADDRESS {},:HAS_PHONE {},:HAS_EMAIL {},:HAS_POSTCODE {},:POSTCODE_IN_AREA {},:LOCATION_IN_AREA {},:KNOWS_SN {},:KNOWS {},:CALLER {},:CALLED {},:KNOWS_PHONE {},:OCCURRED_AT {},:INVESTIGATED_BY {},:INVOLVED_IN {},:PARTY_TO {},:FAMILY_REL {rel_type: STRING},:KNOWS_LW {}" Relationship point from source to target nodes "(:Person)-[:FAMILY_REL]->(:Person),(:Person)-[:CURRENT_ADDRESS]->(:Location),(:Person)-[:KNOWS]->(:Person),(:Person)-[:HAS_PHONE]->(:Phone),(:Person)-[:KNOWS_PHONE]->(:Person),(:Person)-[:HAS_EMAIL]->(:Email),(:Person)-[:KNOWS_SN]->(:Person),(:Person)-[:KNOWS_LW]->(:Person),(:Person)-[:PARTY_TO]->(:Crime),(:Location)-[:LOCATION_IN_AREA]->(:Area),(:Location)-[:HAS_POSTCODE]->(:PostCode),(:PostCode)-[:POSTCODE_IN_AREA]->(:Area),(:PhoneCall)-[:CALLED]->(:Phone),(:PhoneCall)-[:CALLER]->(:Phone),(:Crime)-[:INVESTIGATED_BY]->(:Officer),(:Crime)-[:OCCURRED_AT]->(:Location),(:Object)-[:INVOLVED_IN]->(:Crime),(:Vehicle)-[:INVOLVED_IN]->(:Crime)"
MATCH (p:Person {surname: 'Dupont'})-[:HAS_PHONE]->(ph:Phone)<-[:CALLER]-(pc:PhoneCall) RETURN pc
Get all offences where the note contains 'dangerous weapon'.
Node properties are the following: ":Person {surname: STRING, nhs_no: STRING, name: STRING, age: STRING},:Location {latitude: FLOAT, postcode: STRING, longitude: FLOAT, address: STRING},:Phone {phoneNo: STRING},:Email {email_address: STRING},:Officer {badge_no: STRING, rank: STRING, name: STRING, surname: STRING},:PostCode {code: STRING},:Area {areaCode: STRING},:PhoneCall {call_duration: STRING, call_time: STRING, call_date: STRING, call_type: STRING},:Crime {date: STRING, id: STRING, type: STRING, last_outcome: STRING, note: STRING, charge: STRING},:Object {description: STRING, id: STRING, type: STRING},:Vehicle {model: STRING, reg: STRING, make: STRING, year: STRING}" Relationship properties are the following: ":CURRENT_ADDRESS {},:HAS_PHONE {},:HAS_EMAIL {},:HAS_POSTCODE {},:POSTCODE_IN_AREA {},:LOCATION_IN_AREA {},:KNOWS_SN {},:KNOWS {},:CALLER {},:CALLED {},:KNOWS_PHONE {},:OCCURRED_AT {},:INVESTIGATED_BY {},:INVOLVED_IN {},:PARTY_TO {},:FAMILY_REL {rel_type: STRING},:KNOWS_LW {}" Relationship point from source to target nodes "(:Person)-[:FAMILY_REL]->(:Person),(:Person)-[:CURRENT_ADDRESS]->(:Location),(:Person)-[:KNOWS]->(:Person),(:Person)-[:HAS_PHONE]->(:Phone),(:Person)-[:KNOWS_PHONE]->(:Person),(:Person)-[:HAS_EMAIL]->(:Email),(:Person)-[:KNOWS_SN]->(:Person),(:Person)-[:KNOWS_LW]->(:Person),(:Person)-[:PARTY_TO]->(:Crime),(:Location)-[:LOCATION_IN_AREA]->(:Area),(:Location)-[:HAS_POSTCODE]->(:PostCode),(:PostCode)-[:POSTCODE_IN_AREA]->(:Area),(:PhoneCall)-[:CALLED]->(:Phone),(:PhoneCall)-[:CALLER]->(:Phone),(:Crime)-[:INVESTIGATED_BY]->(:Officer),(:Crime)-[:OCCURRED_AT]->(:Location),(:Object)-[:INVOLVED_IN]->(:Crime),(:Vehicle)-[:INVOLVED_IN]->(:Crime)"
MATCH (c:Crime) WHERE c.note CONTAINS 'dangerous weapon' RETURN c
List all vehicles involved in offences and owned by people named 'Jean'.
Node properties are the following: ":Person {surname: STRING, nhs_no: STRING, name: STRING, age: STRING},:Location {latitude: FLOAT, postcode: STRING, longitude: FLOAT, address: STRING},:Phone {phoneNo: STRING},:Email {email_address: STRING},:Officer {badge_no: STRING, rank: STRING, name: STRING, surname: STRING},:PostCode {code: STRING},:Area {areaCode: STRING},:PhoneCall {call_duration: STRING, call_time: STRING, call_date: STRING, call_type: STRING},:Crime {date: STRING, id: STRING, type: STRING, last_outcome: STRING, note: STRING, charge: STRING},:Object {description: STRING, id: STRING, type: STRING},:Vehicle {model: STRING, reg: STRING, make: STRING, year: STRING}" Relationship properties are the following: ":CURRENT_ADDRESS {},:HAS_PHONE {},:HAS_EMAIL {},:HAS_POSTCODE {},:POSTCODE_IN_AREA {},:LOCATION_IN_AREA {},:KNOWS_SN {},:KNOWS {},:CALLER {},:CALLED {},:KNOWS_PHONE {},:OCCURRED_AT {},:INVESTIGATED_BY {},:INVOLVED_IN {},:PARTY_TO {},:FAMILY_REL {rel_type: STRING},:KNOWS_LW {}" Relationship point from source to target nodes "(:Person)-[:FAMILY_REL]->(:Person),(:Person)-[:CURRENT_ADDRESS]->(:Location),(:Person)-[:KNOWS]->(:Person),(:Person)-[:HAS_PHONE]->(:Phone),(:Person)-[:KNOWS_PHONE]->(:Person),(:Person)-[:HAS_EMAIL]->(:Email),(:Person)-[:KNOWS_SN]->(:Person),(:Person)-[:KNOWS_LW]->(:Person),(:Person)-[:PARTY_TO]->(:Crime),(:Location)-[:LOCATION_IN_AREA]->(:Area),(:Location)-[:HAS_POSTCODE]->(:PostCode),(:PostCode)-[:POSTCODE_IN_AREA]->(:Area),(:PhoneCall)-[:CALLED]->(:Phone),(:PhoneCall)-[:CALLER]->(:Phone),(:Crime)-[:INVESTIGATED_BY]->(:Officer),(:Crime)-[:OCCURRED_AT]->(:Location),(:Object)-[:INVOLVED_IN]->(:Crime),(:Vehicle)-[:INVOLVED_IN]->(:Crime)"
MATCH (v:Vehicle)-[:INVOLVED_IN]->(c:Crime)<-[:PARTY_TO]-(p:Person {name: 'Jean'}) RETURN v
Find all offences investigated by officers with an 'A' badge.
Node properties are the following: ":Person {surname: STRING, nhs_no: STRING, name: STRING, age: STRING},:Location {latitude: FLOAT, postcode: STRING, longitude: FLOAT, address: STRING},:Phone {phoneNo: STRING},:Email {email_address: STRING},:Officer {badge_no: STRING, rank: STRING, name: STRING, surname: STRING},:PostCode {code: STRING},:Area {areaCode: STRING},:PhoneCall {call_duration: STRING, call_time: STRING, call_date: STRING, call_type: STRING},:Crime {date: STRING, id: STRING, type: STRING, last_outcome: STRING, note: STRING, charge: STRING},:Object {description: STRING, id: STRING, type: STRING},:Vehicle {model: STRING, reg: STRING, make: STRING, year: STRING}" Relationship properties are the following: ":CURRENT_ADDRESS {},:HAS_PHONE {},:HAS_EMAIL {},:HAS_POSTCODE {},:POSTCODE_IN_AREA {},:LOCATION_IN_AREA {},:KNOWS_SN {},:KNOWS {},:CALLER {},:CALLED {},:KNOWS_PHONE {},:OCCURRED_AT {},:INVESTIGATED_BY {},:INVOLVED_IN {},:PARTY_TO {},:FAMILY_REL {rel_type: STRING},:KNOWS_LW {}" Relationship point from source to target nodes "(:Person)-[:FAMILY_REL]->(:Person),(:Person)-[:CURRENT_ADDRESS]->(:Location),(:Person)-[:KNOWS]->(:Person),(:Person)-[:HAS_PHONE]->(:Phone),(:Person)-[:KNOWS_PHONE]->(:Person),(:Person)-[:HAS_EMAIL]->(:Email),(:Person)-[:KNOWS_SN]->(:Person),(:Person)-[:KNOWS_LW]->(:Person),(:Person)-[:PARTY_TO]->(:Crime),(:Location)-[:LOCATION_IN_AREA]->(:Area),(:Location)-[:HAS_POSTCODE]->(:PostCode),(:PostCode)-[:POSTCODE_IN_AREA]->(:Area),(:PhoneCall)-[:CALLED]->(:Phone),(:PhoneCall)-[:CALLER]->(:Phone),(:Crime)-[:INVESTIGATED_BY]->(:Officer),(:Crime)-[:OCCURRED_AT]->(:Location),(:Object)-[:INVOLVED_IN]->(:Crime),(:Vehicle)-[:INVOLVED_IN]->(:Crime)"
MATCH (c:Crime)-[:INVESTIGATED_BY]->(o:Officer) WHERE o.badge_no STARTS WITH 'A' RETURN c
List all 'friend' relationships between people.
Node properties are the following: ":Person {surname: STRING, nhs_no: STRING, name: STRING, age: STRING},:Location {latitude: FLOAT, postcode: STRING, longitude: FLOAT, address: STRING},:Phone {phoneNo: STRING},:Email {email_address: STRING},:Officer {badge_no: STRING, rank: STRING, name: STRING, surname: STRING},:PostCode {code: STRING},:Area {areaCode: STRING},:PhoneCall {call_duration: STRING, call_time: STRING, call_date: STRING, call_type: STRING},:Crime {date: STRING, id: STRING, type: STRING, last_outcome: STRING, note: STRING, charge: STRING},:Object {description: STRING, id: STRING, type: STRING},:Vehicle {model: STRING, reg: STRING, make: STRING, year: STRING}" Relationship properties are the following: ":CURRENT_ADDRESS {},:HAS_PHONE {},:HAS_EMAIL {},:HAS_POSTCODE {},:POSTCODE_IN_AREA {},:LOCATION_IN_AREA {},:KNOWS_SN {},:KNOWS {},:CALLER {},:CALLED {},:KNOWS_PHONE {},:OCCURRED_AT {},:INVESTIGATED_BY {},:INVOLVED_IN {},:PARTY_TO {},:FAMILY_REL {rel_type: STRING},:KNOWS_LW {}" Relationship point from source to target nodes "(:Person)-[:FAMILY_REL]->(:Person),(:Person)-[:CURRENT_ADDRESS]->(:Location),(:Person)-[:KNOWS]->(:Person),(:Person)-[:HAS_PHONE]->(:Phone),(:Person)-[:KNOWS_PHONE]->(:Person),(:Person)-[:HAS_EMAIL]->(:Email),(:Person)-[:KNOWS_SN]->(:Person),(:Person)-[:KNOWS_LW]->(:Person),(:Person)-[:PARTY_TO]->(:Crime),(:Location)-[:LOCATION_IN_AREA]->(:Area),(:Location)-[:HAS_POSTCODE]->(:PostCode),(:PostCode)-[:POSTCODE_IN_AREA]->(:Area),(:PhoneCall)-[:CALLED]->(:Phone),(:PhoneCall)-[:CALLER]->(:Phone),(:Crime)-[:INVESTIGATED_BY]->(:Officer),(:Crime)-[:OCCURRED_AT]->(:Location),(:Object)-[:INVOLVED_IN]->(:Crime),(:Vehicle)-[:INVOLVED_IN]->(:Crime)"
MATCH (p1:Person)-[r:KNOWS]->(p2:Person) RETURN p1, r, p2
Show all offenses that occurred at a specific address in the neighborhood with zone code 'B1'.
Node properties are the following: ":Person {surname: STRING, nhs_no: STRING, name: STRING, age: STRING},:Location {latitude: FLOAT, postcode: STRING, longitude: FLOAT, address: STRING},:Phone {phoneNo: STRING},:Email {email_address: STRING},:Officer {badge_no: STRING, rank: STRING, name: STRING, surname: STRING},:PostCode {code: STRING},:Area {areaCode: STRING},:PhoneCall {call_duration: STRING, call_time: STRING, call_date: STRING, call_type: STRING},:Crime {date: STRING, id: STRING, type: STRING, last_outcome: STRING, note: STRING, charge: STRING},:Object {description: STRING, id: STRING, type: STRING},:Vehicle {model: STRING, reg: STRING, make: STRING, year: STRING}" Relationship properties are the following: ":CURRENT_ADDRESS {},:HAS_PHONE {},:HAS_EMAIL {},:HAS_POSTCODE {},:POSTCODE_IN_AREA {},:LOCATION_IN_AREA {},:KNOWS_SN {},:KNOWS {},:CALLER {},:CALLED {},:KNOWS_PHONE {},:OCCURRED_AT {},:INVESTIGATED_BY {},:INVOLVED_IN {},:PARTY_TO {},:FAMILY_REL {rel_type: STRING},:KNOWS_LW {}" Relationship point from source to target nodes "(:Person)-[:FAMILY_REL]->(:Person),(:Person)-[:CURRENT_ADDRESS]->(:Location),(:Person)-[:KNOWS]->(:Person),(:Person)-[:HAS_PHONE]->(:Phone),(:Person)-[:KNOWS_PHONE]->(:Person),(:Person)-[:HAS_EMAIL]->(:Email),(:Person)-[:KNOWS_SN]->(:Person),(:Person)-[:KNOWS_LW]->(:Person),(:Person)-[:PARTY_TO]->(:Crime),(:Location)-[:LOCATION_IN_AREA]->(:Area),(:Location)-[:HAS_POSTCODE]->(:PostCode),(:PostCode)-[:POSTCODE_IN_AREA]->(:Area),(:PhoneCall)-[:CALLED]->(:Phone),(:PhoneCall)-[:CALLER]->(:Phone),(:Crime)-[:INVESTIGATED_BY]->(:Officer),(:Crime)-[:OCCURRED_AT]->(:Location),(:Object)-[:INVOLVED_IN]->(:Crime),(:Vehicle)-[:INVOLVED_IN]->(:Crime)"
MATCH (c:Crime)-[:OCCURRED_AT]->(l:Location {address: '123 Boulevard'})-[:LOCATION_IN_AREA]->(a:Area {areaCode: 'B1'}) RETURN c
Get all people involved in offenses with a description containing 'fraud'.
Node properties are the following: ":Person {surname: STRING, nhs_no: STRING, name: STRING, age: STRING},:Location {latitude: FLOAT, postcode: STRING, longitude: FLOAT, address: STRING},:Phone {phoneNo: STRING},:Email {email_address: STRING},:Officer {badge_no: STRING, rank: STRING, name: STRING, surname: STRING},:PostCode {code: STRING},:Area {areaCode: STRING},:PhoneCall {call_duration: STRING, call_time: STRING, call_date: STRING, call_type: STRING},:Crime {date: STRING, id: STRING, type: STRING, last_outcome: STRING, note: STRING, charge: STRING},:Object {description: STRING, id: STRING, type: STRING},:Vehicle {model: STRING, reg: STRING, make: STRING, year: STRING}" Relationship properties are the following: ":CURRENT_ADDRESS {},:HAS_PHONE {},:HAS_EMAIL {},:HAS_POSTCODE {},:POSTCODE_IN_AREA {},:LOCATION_IN_AREA {},:KNOWS_SN {},:KNOWS {},:CALLER {},:CALLED {},:KNOWS_PHONE {},:OCCURRED_AT {},:INVESTIGATED_BY {},:INVOLVED_IN {},:PARTY_TO {},:FAMILY_REL {rel_type: STRING},:KNOWS_LW {}" Relationship point from source to target nodes "(:Person)-[:FAMILY_REL]->(:Person),(:Person)-[:CURRENT_ADDRESS]->(:Location),(:Person)-[:KNOWS]->(:Person),(:Person)-[:HAS_PHONE]->(:Phone),(:Person)-[:KNOWS_PHONE]->(:Person),(:Person)-[:HAS_EMAIL]->(:Email),(:Person)-[:KNOWS_SN]->(:Person),(:Person)-[:KNOWS_LW]->(:Person),(:Person)-[:PARTY_TO]->(:Crime),(:Location)-[:LOCATION_IN_AREA]->(:Area),(:Location)-[:HAS_POSTCODE]->(:PostCode),(:PostCode)-[:POSTCODE_IN_AREA]->(:Area),(:PhoneCall)-[:CALLED]->(:Phone),(:PhoneCall)-[:CALLER]->(:Phone),(:Crime)-[:INVESTIGATED_BY]->(:Officer),(:Crime)-[:OCCURRED_AT]->(:Location),(:Object)-[:INVOLVED_IN]->(:Crime),(:Vehicle)-[:INVOLVED_IN]->(:Crime)"
MATCH (p:Person)-[:PARTY_TO]->(c:Crime) WHERE c.description CONTAINS 'fraud' RETURN p
Find all entities registered at a specific address
Node properties are the following: ":Entity {countries: STRING, lastEditTimestamp: STRING, ibcRUC: STRING, valid_until: STRING, country_codes: STRING, service_provider: STRING, address: STRING, inactivation_date: STRING, struck_off_date: STRING, status: STRING, jurisdiction_description: STRING, incorporation_date: STRING, original_name: STRING, jurisdiction: STRING, internal_id: STRING, name: STRING, node_id: INTEGER, sourceID: STRING, former_name: STRING, tax_stat_description: STRING, company_type: STRING, note: STRING, dorm_date: STRING, type: STRING, closed_date: STRING, company_number: STRING, comments: STRING, entity_number: STRING},:Intermediary {lastEditTimestamp: STRING, country_codes: STRING, countries: STRING, status: STRING, address: STRING, valid_until: STRING, name: STRING, node_id: INTEGER, sourceID: STRING, internal_id: STRING, note: STRING, registered_office: STRING},:Officer {valid_until: STRING, sourceID: STRING, name: STRING, icij_id: STRING, node_id: INTEGER, lastEditTimestamp: STRING, country_codes: STRING, countries: STRING, note: STRING, status: STRING},:Address {original_address: STRING, lastEditTimestamp: STRING, countries: STRING, address: STRING, valid_until: STRING, icij_id: STRING, node_id: INTEGER, sourceID: STRING, country_codes: STRING, note: STRING, name: STRING, addressID: STRING, country_code: STRING, country: STRING},:Other {incorporation_date: STRING, valid_until: STRING, name: STRING, jurisdiction: STRING, closed_date: STRING, jurisdiction_description: STRING, node_id: INTEGER, sourceID: STRING, lastEditTimestamp: STRING, type: STRING, note: STRING, struck_off_date: STRING, countries: STRING, country_codes: STRING}" Relationship properties are the following: ":registered_address {link: STRING, sourceID: STRING, valid_until: STRING, lastEditTimestamp: STRING},:intermediary_of {valid_until: STRING, sourceID: STRING, link: STRING, end_date: STRING, start_date: STRING, lastEditTimestamp: STRING},:officer_of {link: STRING, valid_until: STRING, sourceID: STRING, start_date: STRING, end_date: STRING, status: STRING, lastEditTimestamp: STRING},:underlying {link: STRING, valid_until: STRING, sourceID: STRING, lastEditTimestamp: STRING},:similar {link: STRING},:same_as {link: STRING},:same_name_as {sourceID: STRING, link: STRING, valid_until: STRING, lastEditTimestamp: STRING},:same_company_as {valid_until: STRING, sourceID: STRING, link: STRING},:same_intermediary_as {link: STRING, valid_until: STRING, sourceID: STRING},:similar_company_as {valid_until: STRING, sourceID: STRING, link: STRING},:probably_same_officer_as {link: STRING, valid_until: STRING, sourceID: STRING},:same_id_as {sourceID: STRING, link: STRING, valid_until: STRING},:connected_to {valid_until: STRING, link: STRING, sourceID: STRING}" Relationship point from source to target nodes "(:Entity)-[:registered_address]->(:Address),(:Entity)-[:same_as]->(:Entity),(:Entity)-[:same_company_as]->(:Entity),(:Entity)-[:similar_company_as]->(:Entity),(:Entity)-[:same_name_as]->(:Officer),(:Intermediary)-[:intermediary_of]->(:Entity),(:Intermediary)-[:similar]->(:Intermediary),(:Intermediary)-[:registered_address]->(:Address),(:Intermediary)-[:officer_of]->(:Entity),(:Intermediary)-[:underlying]->(:Officer),(:Intermediary)-[:same_intermediary_as]->(:Intermediary),(:Intermediary)-[:same_name_as]->(:Intermediary),(:Intermediary)-[:connected_to]->(:Entity),(:Intermediary)-[:same_as]->(:Officer),(:Officer)-[:officer_of]->(:Entity),(:Officer)-[:registered_address]->(:Address),(:Officer)-[:similar]->(:Officer),(:Officer)-[:intermediary_of]->(:Entity),(:Officer)-[:underlying]->(:Officer),(:Officer)-[:same_name_as]->(:Officer),(:Officer)-[:probably_same_officer_as]->(:Officer),(:Officer)-[:connected_to]->(:Entity),(:Officer)-[:same_id_as]->(:Officer),(:Address)-[:same_as]->(:Address),(:Other)-[:registered_address]->(:Address),(:Other)-[:connected_to]->(:Entity),(:Other)-[:same_name_as]->(:Entity),(:Other)-[:underlying]->(:Entity)"
MATCH (e:Entity)-[:registered_address]->(a:Address {address: 'specific address'}) RETURN e, a
Find all intermediaries associated with a specific entity
Node properties are the following: ":Entity {countries: STRING, lastEditTimestamp: STRING, ibcRUC: STRING, valid_until: STRING, country_codes: STRING, service_provider: STRING, address: STRING, inactivation_date: STRING, struck_off_date: STRING, status: STRING, jurisdiction_description: STRING, incorporation_date: STRING, original_name: STRING, jurisdiction: STRING, internal_id: STRING, name: STRING, node_id: INTEGER, sourceID: STRING, former_name: STRING, tax_stat_description: STRING, company_type: STRING, note: STRING, dorm_date: STRING, type: STRING, closed_date: STRING, company_number: STRING, comments: STRING, entity_number: STRING},:Intermediary {lastEditTimestamp: STRING, country_codes: STRING, countries: STRING, status: STRING, address: STRING, valid_until: STRING, name: STRING, node_id: INTEGER, sourceID: STRING, internal_id: STRING, note: STRING, registered_office: STRING},:Officer {valid_until: STRING, sourceID: STRING, name: STRING, icij_id: STRING, node_id: INTEGER, lastEditTimestamp: STRING, country_codes: STRING, countries: STRING, note: STRING, status: STRING},:Address {original_address: STRING, lastEditTimestamp: STRING, countries: STRING, address: STRING, valid_until: STRING, icij_id: STRING, node_id: INTEGER, sourceID: STRING, country_codes: STRING, note: STRING, name: STRING, addressID: STRING, country_code: STRING, country: STRING},:Other {incorporation_date: STRING, valid_until: STRING, name: STRING, jurisdiction: STRING, closed_date: STRING, jurisdiction_description: STRING, node_id: INTEGER, sourceID: STRING, lastEditTimestamp: STRING, type: STRING, note: STRING, struck_off_date: STRING, countries: STRING, country_codes: STRING}" Relationship properties are the following: ":registered_address {link: STRING, sourceID: STRING, valid_until: STRING, lastEditTimestamp: STRING},:intermediary_of {valid_until: STRING, sourceID: STRING, link: STRING, end_date: STRING, start_date: STRING, lastEditTimestamp: STRING},:officer_of {link: STRING, valid_until: STRING, sourceID: STRING, start_date: STRING, end_date: STRING, status: STRING, lastEditTimestamp: STRING},:underlying {link: STRING, valid_until: STRING, sourceID: STRING, lastEditTimestamp: STRING},:similar {link: STRING},:same_as {link: STRING},:same_name_as {sourceID: STRING, link: STRING, valid_until: STRING, lastEditTimestamp: STRING},:same_company_as {valid_until: STRING, sourceID: STRING, link: STRING},:same_intermediary_as {link: STRING, valid_until: STRING, sourceID: STRING},:similar_company_as {valid_until: STRING, sourceID: STRING, link: STRING},:probably_same_officer_as {link: STRING, valid_until: STRING, sourceID: STRING},:same_id_as {sourceID: STRING, link: STRING, valid_until: STRING},:connected_to {valid_until: STRING, link: STRING, sourceID: STRING}" Relationship point from source to target nodes "(:Entity)-[:registered_address]->(:Address),(:Entity)-[:same_as]->(:Entity),(:Entity)-[:same_company_as]->(:Entity),(:Entity)-[:similar_company_as]->(:Entity),(:Entity)-[:same_name_as]->(:Officer),(:Intermediary)-[:intermediary_of]->(:Entity),(:Intermediary)-[:similar]->(:Intermediary),(:Intermediary)-[:registered_address]->(:Address),(:Intermediary)-[:officer_of]->(:Entity),(:Intermediary)-[:underlying]->(:Officer),(:Intermediary)-[:same_intermediary_as]->(:Intermediary),(:Intermediary)-[:same_name_as]->(:Intermediary),(:Intermediary)-[:connected_to]->(:Entity),(:Intermediary)-[:same_as]->(:Officer),(:Officer)-[:officer_of]->(:Entity),(:Officer)-[:registered_address]->(:Address),(:Officer)-[:similar]->(:Officer),(:Officer)-[:intermediary_of]->(:Entity),(:Officer)-[:underlying]->(:Officer),(:Officer)-[:same_name_as]->(:Officer),(:Officer)-[:probably_same_officer_as]->(:Officer),(:Officer)-[:connected_to]->(:Entity),(:Officer)-[:same_id_as]->(:Officer),(:Address)-[:same_as]->(:Address),(:Other)-[:registered_address]->(:Address),(:Other)-[:connected_to]->(:Entity),(:Other)-[:same_name_as]->(:Entity),(:Other)-[:underlying]->(:Entity)"
MATCH (i:Intermediary)-[:intermediary_of]->(e:Entity {name: 'specific entity'}) RETURN i, e
Get all officers who have the same name as a given officer
Node properties are the following: ":Entity {countries: STRING, lastEditTimestamp: STRING, ibcRUC: STRING, valid_until: STRING, country_codes: STRING, service_provider: STRING, address: STRING, inactivation_date: STRING, struck_off_date: STRING, status: STRING, jurisdiction_description: STRING, incorporation_date: STRING, original_name: STRING, jurisdiction: STRING, internal_id: STRING, name: STRING, node_id: INTEGER, sourceID: STRING, former_name: STRING, tax_stat_description: STRING, company_type: STRING, note: STRING, dorm_date: STRING, type: STRING, closed_date: STRING, company_number: STRING, comments: STRING, entity_number: STRING},:Intermediary {lastEditTimestamp: STRING, country_codes: STRING, countries: STRING, status: STRING, address: STRING, valid_until: STRING, name: STRING, node_id: INTEGER, sourceID: STRING, internal_id: STRING, note: STRING, registered_office: STRING},:Officer {valid_until: STRING, sourceID: STRING, name: STRING, icij_id: STRING, node_id: INTEGER, lastEditTimestamp: STRING, country_codes: STRING, countries: STRING, note: STRING, status: STRING},:Address {original_address: STRING, lastEditTimestamp: STRING, countries: STRING, address: STRING, valid_until: STRING, icij_id: STRING, node_id: INTEGER, sourceID: STRING, country_codes: STRING, note: STRING, name: STRING, addressID: STRING, country_code: STRING, country: STRING},:Other {incorporation_date: STRING, valid_until: STRING, name: STRING, jurisdiction: STRING, closed_date: STRING, jurisdiction_description: STRING, node_id: INTEGER, sourceID: STRING, lastEditTimestamp: STRING, type: STRING, note: STRING, struck_off_date: STRING, countries: STRING, country_codes: STRING}" Relationship properties are the following: ":registered_address {link: STRING, sourceID: STRING, valid_until: STRING, lastEditTimestamp: STRING},:intermediary_of {valid_until: STRING, sourceID: STRING, link: STRING, end_date: STRING, start_date: STRING, lastEditTimestamp: STRING},:officer_of {link: STRING, valid_until: STRING, sourceID: STRING, start_date: STRING, end_date: STRING, status: STRING, lastEditTimestamp: STRING},:underlying {link: STRING, valid_until: STRING, sourceID: STRING, lastEditTimestamp: STRING},:similar {link: STRING},:same_as {link: STRING},:same_name_as {sourceID: STRING, link: STRING, valid_until: STRING, lastEditTimestamp: STRING},:same_company_as {valid_until: STRING, sourceID: STRING, link: STRING},:same_intermediary_as {link: STRING, valid_until: STRING, sourceID: STRING},:similar_company_as {valid_until: STRING, sourceID: STRING, link: STRING},:probably_same_officer_as {link: STRING, valid_until: STRING, sourceID: STRING},:same_id_as {sourceID: STRING, link: STRING, valid_until: STRING},:connected_to {valid_until: STRING, link: STRING, sourceID: STRING}" Relationship point from source to target nodes "(:Entity)-[:registered_address]->(:Address),(:Entity)-[:same_as]->(:Entity),(:Entity)-[:same_company_as]->(:Entity),(:Entity)-[:similar_company_as]->(:Entity),(:Entity)-[:same_name_as]->(:Officer),(:Intermediary)-[:intermediary_of]->(:Entity),(:Intermediary)-[:similar]->(:Intermediary),(:Intermediary)-[:registered_address]->(:Address),(:Intermediary)-[:officer_of]->(:Entity),(:Intermediary)-[:underlying]->(:Officer),(:Intermediary)-[:same_intermediary_as]->(:Intermediary),(:Intermediary)-[:same_name_as]->(:Intermediary),(:Intermediary)-[:connected_to]->(:Entity),(:Intermediary)-[:same_as]->(:Officer),(:Officer)-[:officer_of]->(:Entity),(:Officer)-[:registered_address]->(:Address),(:Officer)-[:similar]->(:Officer),(:Officer)-[:intermediary_of]->(:Entity),(:Officer)-[:underlying]->(:Officer),(:Officer)-[:same_name_as]->(:Officer),(:Officer)-[:probably_same_officer_as]->(:Officer),(:Officer)-[:connected_to]->(:Entity),(:Officer)-[:same_id_as]->(:Officer),(:Address)-[:same_as]->(:Address),(:Other)-[:registered_address]->(:Address),(:Other)-[:connected_to]->(:Entity),(:Other)-[:same_name_as]->(:Entity),(:Other)-[:underlying]->(:Entity)"
MATCH (o1:Officer {name: 'given officer'})-[:same_name_as]->(o2:Officer) RETURN o1, o2
List all entities that have the same company as a given entity
Node properties are the following: ":Entity {countries: STRING, lastEditTimestamp: STRING, ibcRUC: STRING, valid_until: STRING, country_codes: STRING, service_provider: STRING, address: STRING, inactivation_date: STRING, struck_off_date: STRING, status: STRING, jurisdiction_description: STRING, incorporation_date: STRING, original_name: STRING, jurisdiction: STRING, internal_id: STRING, name: STRING, node_id: INTEGER, sourceID: STRING, former_name: STRING, tax_stat_description: STRING, company_type: STRING, note: STRING, dorm_date: STRING, type: STRING, closed_date: STRING, company_number: STRING, comments: STRING, entity_number: STRING},:Intermediary {lastEditTimestamp: STRING, country_codes: STRING, countries: STRING, status: STRING, address: STRING, valid_until: STRING, name: STRING, node_id: INTEGER, sourceID: STRING, internal_id: STRING, note: STRING, registered_office: STRING},:Officer {valid_until: STRING, sourceID: STRING, name: STRING, icij_id: STRING, node_id: INTEGER, lastEditTimestamp: STRING, country_codes: STRING, countries: STRING, note: STRING, status: STRING},:Address {original_address: STRING, lastEditTimestamp: STRING, countries: STRING, address: STRING, valid_until: STRING, icij_id: STRING, node_id: INTEGER, sourceID: STRING, country_codes: STRING, note: STRING, name: STRING, addressID: STRING, country_code: STRING, country: STRING},:Other {incorporation_date: STRING, valid_until: STRING, name: STRING, jurisdiction: STRING, closed_date: STRING, jurisdiction_description: STRING, node_id: INTEGER, sourceID: STRING, lastEditTimestamp: STRING, type: STRING, note: STRING, struck_off_date: STRING, countries: STRING, country_codes: STRING}" Relationship properties are the following: ":registered_address {link: STRING, sourceID: STRING, valid_until: STRING, lastEditTimestamp: STRING},:intermediary_of {valid_until: STRING, sourceID: STRING, link: STRING, end_date: STRING, start_date: STRING, lastEditTimestamp: STRING},:officer_of {link: STRING, valid_until: STRING, sourceID: STRING, start_date: STRING, end_date: STRING, status: STRING, lastEditTimestamp: STRING},:underlying {link: STRING, valid_until: STRING, sourceID: STRING, lastEditTimestamp: STRING},:similar {link: STRING},:same_as {link: STRING},:same_name_as {sourceID: STRING, link: STRING, valid_until: STRING, lastEditTimestamp: STRING},:same_company_as {valid_until: STRING, sourceID: STRING, link: STRING},:same_intermediary_as {link: STRING, valid_until: STRING, sourceID: STRING},:similar_company_as {valid_until: STRING, sourceID: STRING, link: STRING},:probably_same_officer_as {link: STRING, valid_until: STRING, sourceID: STRING},:same_id_as {sourceID: STRING, link: STRING, valid_until: STRING},:connected_to {valid_until: STRING, link: STRING, sourceID: STRING}" Relationship point from source to target nodes "(:Entity)-[:registered_address]->(:Address),(:Entity)-[:same_as]->(:Entity),(:Entity)-[:same_company_as]->(:Entity),(:Entity)-[:similar_company_as]->(:Entity),(:Entity)-[:same_name_as]->(:Officer),(:Intermediary)-[:intermediary_of]->(:Entity),(:Intermediary)-[:similar]->(:Intermediary),(:Intermediary)-[:registered_address]->(:Address),(:Intermediary)-[:officer_of]->(:Entity),(:Intermediary)-[:underlying]->(:Officer),(:Intermediary)-[:same_intermediary_as]->(:Intermediary),(:Intermediary)-[:same_name_as]->(:Intermediary),(:Intermediary)-[:connected_to]->(:Entity),(:Intermediary)-[:same_as]->(:Officer),(:Officer)-[:officer_of]->(:Entity),(:Officer)-[:registered_address]->(:Address),(:Officer)-[:similar]->(:Officer),(:Officer)-[:intermediary_of]->(:Entity),(:Officer)-[:underlying]->(:Officer),(:Officer)-[:same_name_as]->(:Officer),(:Officer)-[:probably_same_officer_as]->(:Officer),(:Officer)-[:connected_to]->(:Entity),(:Officer)-[:same_id_as]->(:Officer),(:Address)-[:same_as]->(:Address),(:Other)-[:registered_address]->(:Address),(:Other)-[:connected_to]->(:Entity),(:Other)-[:same_name_as]->(:Entity),(:Other)-[:underlying]->(:Entity)"
MATCH (e1:Entity {name: 'given entity'})-[:same_company_as]->(e2:Entity) RETURN e1, e2
Retrieve all addresses that are marked as the same as a given address
Node properties are the following: ":Entity {countries: STRING, lastEditTimestamp: STRING, ibcRUC: STRING, valid_until: STRING, country_codes: STRING, service_provider: STRING, address: STRING, inactivation_date: STRING, struck_off_date: STRING, status: STRING, jurisdiction_description: STRING, incorporation_date: STRING, original_name: STRING, jurisdiction: STRING, internal_id: STRING, name: STRING, node_id: INTEGER, sourceID: STRING, former_name: STRING, tax_stat_description: STRING, company_type: STRING, note: STRING, dorm_date: STRING, type: STRING, closed_date: STRING, company_number: STRING, comments: STRING, entity_number: STRING},:Intermediary {lastEditTimestamp: STRING, country_codes: STRING, countries: STRING, status: STRING, address: STRING, valid_until: STRING, name: STRING, node_id: INTEGER, sourceID: STRING, internal_id: STRING, note: STRING, registered_office: STRING},:Officer {valid_until: STRING, sourceID: STRING, name: STRING, icij_id: STRING, node_id: INTEGER, lastEditTimestamp: STRING, country_codes: STRING, countries: STRING, note: STRING, status: STRING},:Address {original_address: STRING, lastEditTimestamp: STRING, countries: STRING, address: STRING, valid_until: STRING, icij_id: STRING, node_id: INTEGER, sourceID: STRING, country_codes: STRING, note: STRING, name: STRING, addressID: STRING, country_code: STRING, country: STRING},:Other {incorporation_date: STRING, valid_until: STRING, name: STRING, jurisdiction: STRING, closed_date: STRING, jurisdiction_description: STRING, node_id: INTEGER, sourceID: STRING, lastEditTimestamp: STRING, type: STRING, note: STRING, struck_off_date: STRING, countries: STRING, country_codes: STRING}" Relationship properties are the following: ":registered_address {link: STRING, sourceID: STRING, valid_until: STRING, lastEditTimestamp: STRING},:intermediary_of {valid_until: STRING, sourceID: STRING, link: STRING, end_date: STRING, start_date: STRING, lastEditTimestamp: STRING},:officer_of {link: STRING, valid_until: STRING, sourceID: STRING, start_date: STRING, end_date: STRING, status: STRING, lastEditTimestamp: STRING},:underlying {link: STRING, valid_until: STRING, sourceID: STRING, lastEditTimestamp: STRING},:similar {link: STRING},:same_as {link: STRING},:same_name_as {sourceID: STRING, link: STRING, valid_until: STRING, lastEditTimestamp: STRING},:same_company_as {valid_until: STRING, sourceID: STRING, link: STRING},:same_intermediary_as {link: STRING, valid_until: STRING, sourceID: STRING},:similar_company_as {valid_until: STRING, sourceID: STRING, link: STRING},:probably_same_officer_as {link: STRING, valid_until: STRING, sourceID: STRING},:same_id_as {sourceID: STRING, link: STRING, valid_until: STRING},:connected_to {valid_until: STRING, link: STRING, sourceID: STRING}" Relationship point from source to target nodes "(:Entity)-[:registered_address]->(:Address),(:Entity)-[:same_as]->(:Entity),(:Entity)-[:same_company_as]->(:Entity),(:Entity)-[:similar_company_as]->(:Entity),(:Entity)-[:same_name_as]->(:Officer),(:Intermediary)-[:intermediary_of]->(:Entity),(:Intermediary)-[:similar]->(:Intermediary),(:Intermediary)-[:registered_address]->(:Address),(:Intermediary)-[:officer_of]->(:Entity),(:Intermediary)-[:underlying]->(:Officer),(:Intermediary)-[:same_intermediary_as]->(:Intermediary),(:Intermediary)-[:same_name_as]->(:Intermediary),(:Intermediary)-[:connected_to]->(:Entity),(:Intermediary)-[:same_as]->(:Officer),(:Officer)-[:officer_of]->(:Entity),(:Officer)-[:registered_address]->(:Address),(:Officer)-[:similar]->(:Officer),(:Officer)-[:intermediary_of]->(:Entity),(:Officer)-[:underlying]->(:Officer),(:Officer)-[:same_name_as]->(:Officer),(:Officer)-[:probably_same_officer_as]->(:Officer),(:Officer)-[:connected_to]->(:Entity),(:Officer)-[:same_id_as]->(:Officer),(:Address)-[:same_as]->(:Address),(:Other)-[:registered_address]->(:Address),(:Other)-[:connected_to]->(:Entity),(:Other)-[:same_name_as]->(:Entity),(:Other)-[:underlying]->(:Entity)"
MATCH (a1:Address {address: 'given address'})-[:same_as]->(a2:Address) RETURN a1, a2
Find entities connected to a specific intermediary
Node properties are the following: ":Entity {countries: STRING, lastEditTimestamp: STRING, ibcRUC: STRING, valid_until: STRING, country_codes: STRING, service_provider: STRING, address: STRING, inactivation_date: STRING, struck_off_date: STRING, status: STRING, jurisdiction_description: STRING, incorporation_date: STRING, original_name: STRING, jurisdiction: STRING, internal_id: STRING, name: STRING, node_id: INTEGER, sourceID: STRING, former_name: STRING, tax_stat_description: STRING, company_type: STRING, note: STRING, dorm_date: STRING, type: STRING, closed_date: STRING, company_number: STRING, comments: STRING, entity_number: STRING},:Intermediary {lastEditTimestamp: STRING, country_codes: STRING, countries: STRING, status: STRING, address: STRING, valid_until: STRING, name: STRING, node_id: INTEGER, sourceID: STRING, internal_id: STRING, note: STRING, registered_office: STRING},:Officer {valid_until: STRING, sourceID: STRING, name: STRING, icij_id: STRING, node_id: INTEGER, lastEditTimestamp: STRING, country_codes: STRING, countries: STRING, note: STRING, status: STRING},:Address {original_address: STRING, lastEditTimestamp: STRING, countries: STRING, address: STRING, valid_until: STRING, icij_id: STRING, node_id: INTEGER, sourceID: STRING, country_codes: STRING, note: STRING, name: STRING, addressID: STRING, country_code: STRING, country: STRING},:Other {incorporation_date: STRING, valid_until: STRING, name: STRING, jurisdiction: STRING, closed_date: STRING, jurisdiction_description: STRING, node_id: INTEGER, sourceID: STRING, lastEditTimestamp: STRING, type: STRING, note: STRING, struck_off_date: STRING, countries: STRING, country_codes: STRING}" Relationship properties are the following: ":registered_address {link: STRING, sourceID: STRING, valid_until: STRING, lastEditTimestamp: STRING},:intermediary_of {valid_until: STRING, sourceID: STRING, link: STRING, end_date: STRING, start_date: STRING, lastEditTimestamp: STRING},:officer_of {link: STRING, valid_until: STRING, sourceID: STRING, start_date: STRING, end_date: STRING, status: STRING, lastEditTimestamp: STRING},:underlying {link: STRING, valid_until: STRING, sourceID: STRING, lastEditTimestamp: STRING},:similar {link: STRING},:same_as {link: STRING},:same_name_as {sourceID: STRING, link: STRING, valid_until: STRING, lastEditTimestamp: STRING},:same_company_as {valid_until: STRING, sourceID: STRING, link: STRING},:same_intermediary_as {link: STRING, valid_until: STRING, sourceID: STRING},:similar_company_as {valid_until: STRING, sourceID: STRING, link: STRING},:probably_same_officer_as {link: STRING, valid_until: STRING, sourceID: STRING},:same_id_as {sourceID: STRING, link: STRING, valid_until: STRING},:connected_to {valid_until: STRING, link: STRING, sourceID: STRING}" Relationship point from source to target nodes "(:Entity)-[:registered_address]->(:Address),(:Entity)-[:same_as]->(:Entity),(:Entity)-[:same_company_as]->(:Entity),(:Entity)-[:similar_company_as]->(:Entity),(:Entity)-[:same_name_as]->(:Officer),(:Intermediary)-[:intermediary_of]->(:Entity),(:Intermediary)-[:similar]->(:Intermediary),(:Intermediary)-[:registered_address]->(:Address),(:Intermediary)-[:officer_of]->(:Entity),(:Intermediary)-[:underlying]->(:Officer),(:Intermediary)-[:same_intermediary_as]->(:Intermediary),(:Intermediary)-[:same_name_as]->(:Intermediary),(:Intermediary)-[:connected_to]->(:Entity),(:Intermediary)-[:same_as]->(:Officer),(:Officer)-[:officer_of]->(:Entity),(:Officer)-[:registered_address]->(:Address),(:Officer)-[:similar]->(:Officer),(:Officer)-[:intermediary_of]->(:Entity),(:Officer)-[:underlying]->(:Officer),(:Officer)-[:same_name_as]->(:Officer),(:Officer)-[:probably_same_officer_as]->(:Officer),(:Officer)-[:connected_to]->(:Entity),(:Officer)-[:same_id_as]->(:Officer),(:Address)-[:same_as]->(:Address),(:Other)-[:registered_address]->(:Address),(:Other)-[:connected_to]->(:Entity),(:Other)-[:same_name_as]->(:Entity),(:Other)-[:underlying]->(:Entity)"
MATCH (i:Intermediary {name: 'specific intermediary'})-[:connected_to]->(e:Entity) RETURN i, e
Get all entities that are similar to a specific company
Node properties are the following: ":Entity {countries: STRING, lastEditTimestamp: STRING, ibcRUC: STRING, valid_until: STRING, country_codes: STRING, service_provider: STRING, address: STRING, inactivation_date: STRING, struck_off_date: STRING, status: STRING, jurisdiction_description: STRING, incorporation_date: STRING, original_name: STRING, jurisdiction: STRING, internal_id: STRING, name: STRING, node_id: INTEGER, sourceID: STRING, former_name: STRING, tax_stat_description: STRING, company_type: STRING, note: STRING, dorm_date: STRING, type: STRING, closed_date: STRING, company_number: STRING, comments: STRING, entity_number: STRING},:Intermediary {lastEditTimestamp: STRING, country_codes: STRING, countries: STRING, status: STRING, address: STRING, valid_until: STRING, name: STRING, node_id: INTEGER, sourceID: STRING, internal_id: STRING, note: STRING, registered_office: STRING},:Officer {valid_until: STRING, sourceID: STRING, name: STRING, icij_id: STRING, node_id: INTEGER, lastEditTimestamp: STRING, country_codes: STRING, countries: STRING, note: STRING, status: STRING},:Address {original_address: STRING, lastEditTimestamp: STRING, countries: STRING, address: STRING, valid_until: STRING, icij_id: STRING, node_id: INTEGER, sourceID: STRING, country_codes: STRING, note: STRING, name: STRING, addressID: STRING, country_code: STRING, country: STRING},:Other {incorporation_date: STRING, valid_until: STRING, name: STRING, jurisdiction: STRING, closed_date: STRING, jurisdiction_description: STRING, node_id: INTEGER, sourceID: STRING, lastEditTimestamp: STRING, type: STRING, note: STRING, struck_off_date: STRING, countries: STRING, country_codes: STRING}" Relationship properties are the following: ":registered_address {link: STRING, sourceID: STRING, valid_until: STRING, lastEditTimestamp: STRING},:intermediary_of {valid_until: STRING, sourceID: STRING, link: STRING, end_date: STRING, start_date: STRING, lastEditTimestamp: STRING},:officer_of {link: STRING, valid_until: STRING, sourceID: STRING, start_date: STRING, end_date: STRING, status: STRING, lastEditTimestamp: STRING},:underlying {link: STRING, valid_until: STRING, sourceID: STRING, lastEditTimestamp: STRING},:similar {link: STRING},:same_as {link: STRING},:same_name_as {sourceID: STRING, link: STRING, valid_until: STRING, lastEditTimestamp: STRING},:same_company_as {valid_until: STRING, sourceID: STRING, link: STRING},:same_intermediary_as {link: STRING, valid_until: STRING, sourceID: STRING},:similar_company_as {valid_until: STRING, sourceID: STRING, link: STRING},:probably_same_officer_as {link: STRING, valid_until: STRING, sourceID: STRING},:same_id_as {sourceID: STRING, link: STRING, valid_until: STRING},:connected_to {valid_until: STRING, link: STRING, sourceID: STRING}" Relationship point from source to target nodes "(:Entity)-[:registered_address]->(:Address),(:Entity)-[:same_as]->(:Entity),(:Entity)-[:same_company_as]->(:Entity),(:Entity)-[:similar_company_as]->(:Entity),(:Entity)-[:same_name_as]->(:Officer),(:Intermediary)-[:intermediary_of]->(:Entity),(:Intermediary)-[:similar]->(:Intermediary),(:Intermediary)-[:registered_address]->(:Address),(:Intermediary)-[:officer_of]->(:Entity),(:Intermediary)-[:underlying]->(:Officer),(:Intermediary)-[:same_intermediary_as]->(:Intermediary),(:Intermediary)-[:same_name_as]->(:Intermediary),(:Intermediary)-[:connected_to]->(:Entity),(:Intermediary)-[:same_as]->(:Officer),(:Officer)-[:officer_of]->(:Entity),(:Officer)-[:registered_address]->(:Address),(:Officer)-[:similar]->(:Officer),(:Officer)-[:intermediary_of]->(:Entity),(:Officer)-[:underlying]->(:Officer),(:Officer)-[:same_name_as]->(:Officer),(:Officer)-[:probably_same_officer_as]->(:Officer),(:Officer)-[:connected_to]->(:Entity),(:Officer)-[:same_id_as]->(:Officer),(:Address)-[:same_as]->(:Address),(:Other)-[:registered_address]->(:Address),(:Other)-[:connected_to]->(:Entity),(:Other)-[:same_name_as]->(:Entity),(:Other)-[:underlying]->(:Entity)"
MATCH (e1:Entity {name: 'specific company'})-[:similar_company_as]->(e2:Entity) RETURN e1, e2
Find all officers that probably have the same identity as a given officer
Node properties are the following: ":Entity {countries: STRING, lastEditTimestamp: STRING, ibcRUC: STRING, valid_until: STRING, country_codes: STRING, service_provider: STRING, address: STRING, inactivation_date: STRING, struck_off_date: STRING, status: STRING, jurisdiction_description: STRING, incorporation_date: STRING, original_name: STRING, jurisdiction: STRING, internal_id: STRING, name: STRING, node_id: INTEGER, sourceID: STRING, former_name: STRING, tax_stat_description: STRING, company_type: STRING, note: STRING, dorm_date: STRING, type: STRING, closed_date: STRING, company_number: STRING, comments: STRING, entity_number: STRING},:Intermediary {lastEditTimestamp: STRING, country_codes: STRING, countries: STRING, status: STRING, address: STRING, valid_until: STRING, name: STRING, node_id: INTEGER, sourceID: STRING, internal_id: STRING, note: STRING, registered_office: STRING},:Officer {valid_until: STRING, sourceID: STRING, name: STRING, icij_id: STRING, node_id: INTEGER, lastEditTimestamp: STRING, country_codes: STRING, countries: STRING, note: STRING, status: STRING},:Address {original_address: STRING, lastEditTimestamp: STRING, countries: STRING, address: STRING, valid_until: STRING, icij_id: STRING, node_id: INTEGER, sourceID: STRING, country_codes: STRING, note: STRING, name: STRING, addressID: STRING, country_code: STRING, country: STRING},:Other {incorporation_date: STRING, valid_until: STRING, name: STRING, jurisdiction: STRING, closed_date: STRING, jurisdiction_description: STRING, node_id: INTEGER, sourceID: STRING, lastEditTimestamp: STRING, type: STRING, note: STRING, struck_off_date: STRING, countries: STRING, country_codes: STRING}" Relationship properties are the following: ":registered_address {link: STRING, sourceID: STRING, valid_until: STRING, lastEditTimestamp: STRING},:intermediary_of {valid_until: STRING, sourceID: STRING, link: STRING, end_date: STRING, start_date: STRING, lastEditTimestamp: STRING},:officer_of {link: STRING, valid_until: STRING, sourceID: STRING, start_date: STRING, end_date: STRING, status: STRING, lastEditTimestamp: STRING},:underlying {link: STRING, valid_until: STRING, sourceID: STRING, lastEditTimestamp: STRING},:similar {link: STRING},:same_as {link: STRING},:same_name_as {sourceID: STRING, link: STRING, valid_until: STRING, lastEditTimestamp: STRING},:same_company_as {valid_until: STRING, sourceID: STRING, link: STRING},:same_intermediary_as {link: STRING, valid_until: STRING, sourceID: STRING},:similar_company_as {valid_until: STRING, sourceID: STRING, link: STRING},:probably_same_officer_as {link: STRING, valid_until: STRING, sourceID: STRING},:same_id_as {sourceID: STRING, link: STRING, valid_until: STRING},:connected_to {valid_until: STRING, link: STRING, sourceID: STRING}" Relationship point from source to target nodes "(:Entity)-[:registered_address]->(:Address),(:Entity)-[:same_as]->(:Entity),(:Entity)-[:same_company_as]->(:Entity),(:Entity)-[:similar_company_as]->(:Entity),(:Entity)-[:same_name_as]->(:Officer),(:Intermediary)-[:intermediary_of]->(:Entity),(:Intermediary)-[:similar]->(:Intermediary),(:Intermediary)-[:registered_address]->(:Address),(:Intermediary)-[:officer_of]->(:Entity),(:Intermediary)-[:underlying]->(:Officer),(:Intermediary)-[:same_intermediary_as]->(:Intermediary),(:Intermediary)-[:same_name_as]->(:Intermediary),(:Intermediary)-[:connected_to]->(:Entity),(:Intermediary)-[:same_as]->(:Officer),(:Officer)-[:officer_of]->(:Entity),(:Officer)-[:registered_address]->(:Address),(:Officer)-[:similar]->(:Officer),(:Officer)-[:intermediary_of]->(:Entity),(:Officer)-[:underlying]->(:Officer),(:Officer)-[:same_name_as]->(:Officer),(:Officer)-[:probably_same_officer_as]->(:Officer),(:Officer)-[:connected_to]->(:Entity),(:Officer)-[:same_id_as]->(:Officer),(:Address)-[:same_as]->(:Address),(:Other)-[:registered_address]->(:Address),(:Other)-[:connected_to]->(:Entity),(:Other)-[:same_name_as]->(:Entity),(:Other)-[:underlying]->(:Entity)"
MATCH (o1:Officer {name: 'given officer'})-[:probably_same_officer_as]->(o2:Officer) RETURN o1, o2
Get all officers underlying a specific officer
Node properties are the following: ":Entity {countries: STRING, lastEditTimestamp: STRING, ibcRUC: STRING, valid_until: STRING, country_codes: STRING, service_provider: STRING, address: STRING, inactivation_date: STRING, struck_off_date: STRING, status: STRING, jurisdiction_description: STRING, incorporation_date: STRING, original_name: STRING, jurisdiction: STRING, internal_id: STRING, name: STRING, node_id: INTEGER, sourceID: STRING, former_name: STRING, tax_stat_description: STRING, company_type: STRING, note: STRING, dorm_date: STRING, type: STRING, closed_date: STRING, company_number: STRING, comments: STRING, entity_number: STRING},:Intermediary {lastEditTimestamp: STRING, country_codes: STRING, countries: STRING, status: STRING, address: STRING, valid_until: STRING, name: STRING, node_id: INTEGER, sourceID: STRING, internal_id: STRING, note: STRING, registered_office: STRING},:Officer {valid_until: STRING, sourceID: STRING, name: STRING, icij_id: STRING, node_id: INTEGER, lastEditTimestamp: STRING, country_codes: STRING, countries: STRING, note: STRING, status: STRING},:Address {original_address: STRING, lastEditTimestamp: STRING, countries: STRING, address: STRING, valid_until: STRING, icij_id: STRING, node_id: INTEGER, sourceID: STRING, country_codes: STRING, note: STRING, name: STRING, addressID: STRING, country_code: STRING, country: STRING},:Other {incorporation_date: STRING, valid_until: STRING, name: STRING, jurisdiction: STRING, closed_date: STRING, jurisdiction_description: STRING, node_id: INTEGER, sourceID: STRING, lastEditTimestamp: STRING, type: STRING, note: STRING, struck_off_date: STRING, countries: STRING, country_codes: STRING}" Relationship properties are the following: ":registered_address {link: STRING, sourceID: STRING, valid_until: STRING, lastEditTimestamp: STRING},:intermediary_of {valid_until: STRING, sourceID: STRING, link: STRING, end_date: STRING, start_date: STRING, lastEditTimestamp: STRING},:officer_of {link: STRING, valid_until: STRING, sourceID: STRING, start_date: STRING, end_date: STRING, status: STRING, lastEditTimestamp: STRING},:underlying {link: STRING, valid_until: STRING, sourceID: STRING, lastEditTimestamp: STRING},:similar {link: STRING},:same_as {link: STRING},:same_name_as {sourceID: STRING, link: STRING, valid_until: STRING, lastEditTimestamp: STRING},:same_company_as {valid_until: STRING, sourceID: STRING, link: STRING},:same_intermediary_as {link: STRING, valid_until: STRING, sourceID: STRING},:similar_company_as {valid_until: STRING, sourceID: STRING, link: STRING},:probably_same_officer_as {link: STRING, valid_until: STRING, sourceID: STRING},:same_id_as {sourceID: STRING, link: STRING, valid_until: STRING},:connected_to {valid_until: STRING, link: STRING, sourceID: STRING}" Relationship point from source to target nodes "(:Entity)-[:registered_address]->(:Address),(:Entity)-[:same_as]->(:Entity),(:Entity)-[:same_company_as]->(:Entity),(:Entity)-[:similar_company_as]->(:Entity),(:Entity)-[:same_name_as]->(:Officer),(:Intermediary)-[:intermediary_of]->(:Entity),(:Intermediary)-[:similar]->(:Intermediary),(:Intermediary)-[:registered_address]->(:Address),(:Intermediary)-[:officer_of]->(:Entity),(:Intermediary)-[:underlying]->(:Officer),(:Intermediary)-[:same_intermediary_as]->(:Intermediary),(:Intermediary)-[:same_name_as]->(:Intermediary),(:Intermediary)-[:connected_to]->(:Entity),(:Intermediary)-[:same_as]->(:Officer),(:Officer)-[:officer_of]->(:Entity),(:Officer)-[:registered_address]->(:Address),(:Officer)-[:similar]->(:Officer),(:Officer)-[:intermediary_of]->(:Entity),(:Officer)-[:underlying]->(:Officer),(:Officer)-[:same_name_as]->(:Officer),(:Officer)-[:probably_same_officer_as]->(:Officer),(:Officer)-[:connected_to]->(:Entity),(:Officer)-[:same_id_as]->(:Officer),(:Address)-[:same_as]->(:Address),(:Other)-[:registered_address]->(:Address),(:Other)-[:connected_to]->(:Entity),(:Other)-[:same_name_as]->(:Entity),(:Other)-[:underlying]->(:Entity)"
MATCH (o1:Officer {name: 'specific officer'})-[:underlying]->(o2:Officer) RETURN o1, o2
Find all entities with the same name as a given officer
Node properties are the following: ":Entity {countries: STRING, lastEditTimestamp: STRING, ibcRUC: STRING, valid_until: STRING, country_codes: STRING, service_provider: STRING, address: STRING, inactivation_date: STRING, struck_off_date: STRING, status: STRING, jurisdiction_description: STRING, incorporation_date: STRING, original_name: STRING, jurisdiction: STRING, internal_id: STRING, name: STRING, node_id: INTEGER, sourceID: STRING, former_name: STRING, tax_stat_description: STRING, company_type: STRING, note: STRING, dorm_date: STRING, type: STRING, closed_date: STRING, company_number: STRING, comments: STRING, entity_number: STRING},:Intermediary {lastEditTimestamp: STRING, country_codes: STRING, countries: STRING, status: STRING, address: STRING, valid_until: STRING, name: STRING, node_id: INTEGER, sourceID: STRING, internal_id: STRING, note: STRING, registered_office: STRING},:Officer {valid_until: STRING, sourceID: STRING, name: STRING, icij_id: STRING, node_id: INTEGER, lastEditTimestamp: STRING, country_codes: STRING, countries: STRING, note: STRING, status: STRING},:Address {original_address: STRING, lastEditTimestamp: STRING, countries: STRING, address: STRING, valid_until: STRING, icij_id: STRING, node_id: INTEGER, sourceID: STRING, country_codes: STRING, note: STRING, name: STRING, addressID: STRING, country_code: STRING, country: STRING},:Other {incorporation_date: STRING, valid_until: STRING, name: STRING, jurisdiction: STRING, closed_date: STRING, jurisdiction_description: STRING, node_id: INTEGER, sourceID: STRING, lastEditTimestamp: STRING, type: STRING, note: STRING, struck_off_date: STRING, countries: STRING, country_codes: STRING}" Relationship properties are the following: ":registered_address {link: STRING, sourceID: STRING, valid_until: STRING, lastEditTimestamp: STRING},:intermediary_of {valid_until: STRING, sourceID: STRING, link: STRING, end_date: STRING, start_date: STRING, lastEditTimestamp: STRING},:officer_of {link: STRING, valid_until: STRING, sourceID: STRING, start_date: STRING, end_date: STRING, status: STRING, lastEditTimestamp: STRING},:underlying {link: STRING, valid_until: STRING, sourceID: STRING, lastEditTimestamp: STRING},:similar {link: STRING},:same_as {link: STRING},:same_name_as {sourceID: STRING, link: STRING, valid_until: STRING, lastEditTimestamp: STRING},:same_company_as {valid_until: STRING, sourceID: STRING, link: STRING},:same_intermediary_as {link: STRING, valid_until: STRING, sourceID: STRING},:similar_company_as {valid_until: STRING, sourceID: STRING, link: STRING},:probably_same_officer_as {link: STRING, valid_until: STRING, sourceID: STRING},:same_id_as {sourceID: STRING, link: STRING, valid_until: STRING},:connected_to {valid_until: STRING, link: STRING, sourceID: STRING}" Relationship point from source to target nodes "(:Entity)-[:registered_address]->(:Address),(:Entity)-[:same_as]->(:Entity),(:Entity)-[:same_company_as]->(:Entity),(:Entity)-[:similar_company_as]->(:Entity),(:Entity)-[:same_name_as]->(:Officer),(:Intermediary)-[:intermediary_of]->(:Entity),(:Intermediary)-[:similar]->(:Intermediary),(:Intermediary)-[:registered_address]->(:Address),(:Intermediary)-[:officer_of]->(:Entity),(:Intermediary)-[:underlying]->(:Officer),(:Intermediary)-[:same_intermediary_as]->(:Intermediary),(:Intermediary)-[:same_name_as]->(:Intermediary),(:Intermediary)-[:connected_to]->(:Entity),(:Intermediary)-[:same_as]->(:Officer),(:Officer)-[:officer_of]->(:Entity),(:Officer)-[:registered_address]->(:Address),(:Officer)-[:similar]->(:Officer),(:Officer)-[:intermediary_of]->(:Entity),(:Officer)-[:underlying]->(:Officer),(:Officer)-[:same_name_as]->(:Officer),(:Officer)-[:probably_same_officer_as]->(:Officer),(:Officer)-[:connected_to]->(:Entity),(:Officer)-[:same_id_as]->(:Officer),(:Address)-[:same_as]->(:Address),(:Other)-[:registered_address]->(:Address),(:Other)-[:connected_to]->(:Entity),(:Other)-[:same_name_as]->(:Entity),(:Other)-[:underlying]->(:Entity)"
MATCH (o:Officer {name: 'given officer'})-[:same_name_as]->(e:Entity) RETURN o, e