diff --git "a/fr/dataset-trng_100.jsonl" "b/fr/dataset-trng_100.jsonl" new file mode 100644--- /dev/null +++ "b/fr/dataset-trng_100.jsonl" @@ -0,0 +1,300 @@ +{ + "query": "Trouve tous les Officer qui ont le même intermédiaire et qui sont reliés à une entreprise et qui ont le même nom", + "schema":"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)\"", + "result": "MATCH (o1:Officer)-[r:intermediary_of]->(e:Entity)<-[r2:intermediary_of]-(o2:Officer)-[:officer_of]->(e2:Entity)-[r3:same_name_as]->(o3:Officer) RETURN o1, r, e, r2, o2, e2, r3, o3" +} +{ + "query": "Trouve tous les Officer qui ont le même intermédiaire et qui sont reliés à une entreprise et qui ont le même nom et qui sont reliés à une autre entreprise", + "schema":"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)\"", + "result": "MATCH (o1:Officer)-[r:intermediary_of]->(e:Entity)<-[r2:intermediary_of]-(o2:Officer)-[:officer_of]->(e2:Entity)-[r3:same_name_as]->(o3:Officer)-[:officer_of]->(e3:Entity) RETURN o1, r, e, r2, o2, e2, r3, o3, e3" +} +{ + "query": "Trouve les intermédiaires qui agissent pour 'ABC Company'", + "schema":"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)\"", + "result": "MATCH (i:Intermediary)-[:intermediary_of]->(e:Entity) WHERE toLower(e.name) = toLower('ABC Company') RETURN i, e" +} +{ + "query": "Trouve les intermédiaires qui agissent pour '%entity%'", + "schema":"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)\"", + "result": "MATCH (i:Intermediary)-[:intermediary_of]->(e:Entity) WHERE toLower(e.name) = toLower('%entity%') RETURN i, e" +} +{ + "query": "Trouve les intermédiaires qui agissent pour %entity%", + "schema":"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)\"", + "result": "MATCH (i:Intermediary)-[:intermediary_of]->(e:Entity) WHERE toLower(e.name) = toLower('%entity%') RETURN i, e" +} +{ + "query": "Trouve tous les officer et leur entreprise impliqués dans des entreprises similaire", + "schema":"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)\"", + "result": "MATCH (o:Officer)-[r1:similar]->(o2:Officer)-[r2:officer_of]->(e:Entity) RETURN o, r1, o2, r2, e" +} +{ + "query": "Trouve tous les officer qui sont des intermédiaires pour des entreprises en Panama", + "schema":"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)\"", + "result": "MATCH (o:Officer)-[r:intermediary_of]->(e:Entity)-[:registered_address]->(a:Address) WHERE toLower(a.countries) CONTAINS toLower('Panama') RETURN o, r, e" +} +{ + "query": "Trouve toutes les entreprises qui ont un intermédiaire en commun", + "schema":"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)\"", + "result": "MATCH (o1:Officer)-[r1:intermediary_of]->(e:Entity)<-[r2:intermediary_of]-(o2:Officer) RETURN o1, r1, e, r2, o2" +} +{ + "query": "Trouve tous les Officer dont le nom contient 'cahuzac' ainsi que tous les noeuds reliés à ces Officer", + "schema":"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)\"", + "result": "MATCH (o:Officer)-[r1]-(o2) WHERE toLower(o.name) CONTAINS toLower('cahuzac') RETURN o, r1, o2" +} +{ + "query": "Trouve toutes les entités dont la date d'incorporation est en 2009", + "schema":"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)\"", + "result": "MATCH (e:Entity) WHERE toLower(e.incorporation_date) CONTAINS toLower('2009') RETURN e" +} +{ + "query": "Trouve toutes les entités qui n'ont pas de date d'incorporation", + "schema":"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)\"", + "result": "MATCH (e:Entity) WHERE toLower(e.incorporation_date) = toLower('') RETURN e" +} +{ + "query": "Trouve toutes les entités qui n'ont pas de date d'inactivation", + "schema":"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)\"", + "result": "MATCH (e:Entity) WHERE toLower(e.inactivation_date) = toLower('') RETURN e" +} +{ + "query": "Trouve toutes les entités dont la date d'inactivation est en 2015", + "schema":"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)\"", + "result": "MATCH (e:Entity) WHERE toLower(e.inactivation_date) CONTAINS toLower('2015') RETURN e" +} +{ + "query": "Trouve toutes les entités dont la date d'inactivation est en 2020", + "schema":"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)\"", + "result": "MATCH (e:Entity) WHERE toLower(e.inactivation_date) CONTAINS toLower('2020') RETURN e" +} +{ + "query": "Trouve toutes les entités dont la date d'inactivation est en %date%", + "schema":"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)\"", + "result": "MATCH (e:Entity) WHERE toLower(e.inactivation_date) CONTAINS toLower('%date%') RETURN e" +} +{ + "query": "Trouve toutes les entités dont le fournisseur de service est 'Panama Papers'", + "schema":"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)\"", + "result": "MATCH (e:Entity) WHERE toLower(e.service_provider) CONTAINS toLower('Panama Papers') RETURN e" +} +{ + "query": "Trouve toutes les entités dont le fournisseur de service est 'Offshore Leaks'", + "schema":"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)\"", + "result": "MATCH (e:Entity) WHERE toLower(e.service_provider) CONTAINS toLower('Offshore Leaks') RETURN e" +} +{ + "query": "Trouve toutes les entités dont le fournisseur de service est %provider%", + "schema":"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)\"", + "result": "MATCH (e:Entity) WHERE toLower(e.service_provider) CONTAINS toLower('%provider%') RETURN e" +} +{ + "query": "Trouve toutes les entités dont le fournisseur de service est '%provider%'", + "schema":"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)\"", + "result": "MATCH (e:Entity) WHERE toLower(e.service_provider) CONTAINS toLower('%provider%') RETURN e" +} +{ + "query": "Trouve toutes les entités dont le statut est 'Active'", + "schema":"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)\"", + "result": "MATCH (e:Entity) WHERE toLower(e.status) CONTAINS toLower('Active') RETURN e" +} +{ + "query": "Trouve toutes les entités dont le statut est '%statut%'", + "schema":"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)\"", + "result": "MATCH (e:Entity) WHERE toLower(e.status) CONTAINS toLower('%statut%') RETURN e" +} +{ + "query": "Trouve toutes les entités dont le statut est %statut%", + "schema":"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)\"", + "result": "MATCH (e:Entity) WHERE toLower(e.status) CONTAINS toLower('%statut%') RETURN e" +} +{ + "query": "Trouve toutes les entités qui n'ont pas de statut", + "schema":"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)\"", + "result": "MATCH (e:Entity) WHERE toLower(e.status) = toLower('') RETURN e" +} +{ + "query": "Trouve l'officer ayant le plus d'entreprise", + "schema":"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)\"", + "result": "MATCH (o:Officer)-[:officer_of]->(e:Entity) WITH o, count(e) as count ORDER BY count DESC RETURN o LIMIT 1" +} +{ + "query": "Trouve les 5 entités ayant le plus d'officers", + "schema":"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)\"", + "result": "MATCH (e:Entity)<-[:officer_of]-(:Officer) WITH e, count(*) as count ORDER BY count DESC RETURN e LIMIT 5" +} +{ + "query": "Trouve l'intermédiaire ayant le plus d'entités", + "schema":"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)\"", + "result": "MATCH (i:Intermediary)-[:intermediary_of]->(e:Entity) WITH i, count(e) as count ORDER BY count DESC RETURN i LIMIT 1" +} +{ + "query": "Trouve l'officer ayant le plus d'entités du pays France", + "schema":"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)\"", + "result": "MATCH (o:Officer)-[:officer_of]->(e:Entity) WHERE toLower(e.countries) CONTAINS toLower('France') WITH o, count(e) as count ORDER BY count DESC RETURN o LIMIT 1" +} +{ + "query": "Trouve l'officer ayant le plus d'entités du pays '%country%'", + "schema":"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)\"", + "result": "MATCH (o:Officer)-[:officer_of]->(e:Entity) WHERE toLower(e.countries) CONTAINS toLower('%country%') WITH o, count(e) as count ORDER BY count DESC RETURN o LIMIT 1" +} +{ + "query": "Trouve l'officer ayant le plus d'entités du pays %country%", + "schema":"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)\"", + "result": "MATCH (o:Officer)-[:officer_of]->(e:Entity) WHERE toLower(e.countries) CONTAINS toLower('%country%') WITH o, count(e) as count ORDER BY count DESC RETURN o LIMIT 1" +} +{ + "query": "Trouve les 5 entités ayant le plus d'intermédiaires", + "schema":"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)\"", + "result": "MATCH (e:Entity)<-[:intermediary_of]-(:Intermediary) WITH e, count(*) as count ORDER BY count DESC RETURN e LIMIT 5" +} +{ + "query": "Trouve l'entité ayant le plus d'intermédiaires du pays France", + "schema":"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)\"", + "result": "MATCH (e:Entity)<-[:intermediary_of]-(:Intermediary) WHERE toLower(e.countries) CONTAINS toLower('France') WITH e, count(*) as count ORDER BY count DESC RETURN e LIMIT 1" +} +{ + "query": "Trouve l'entité ayant le plus d'intermédiaires du pays '%country%'", + "schema":"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)\"", + "result": "MATCH (e:Entity)<-[:intermediary_of]-(:Intermediary) WHERE toLower(e.countries) CONTAINS toLower('%country%') WITH e, count(*) as count ORDER BY count DESC RETURN e LIMIT 1" +} +{ + "query": "Trouve l'entité ayant le plus d'intermédiaires du pays %country%", + "schema":"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)\"", + "result": "MATCH (e:Entity)<-[:intermediary_of]-(:Intermediary) WHERE toLower(e.countries) CONTAINS toLower('%country%') WITH e, count(*) as count ORDER BY count DESC RETURN e LIMIT 1" +} +{ + "query": "Trouve l'entité ayant le plus d'intermédiaires avec tous ses intermédiaires", + "schema":"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)\"", + "result": "MATCH (e:Entity)<-[:intermediary_of]-(i:Intermediary) WITH e, count(i) as count ORDER BY count DESC LIMIT 1 MATCH (e)<-[r:intermediary_of]-(i:Intermediary) RETURN e, r, i" +} +{ + "query": "Trouve l'officer ayant le plus d'entités avec toutes ses entités", + "schema":"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)\"", + "result": "MATCH (o:Officer)-[:officer_of]->(e:Entity) WITH o, count(e) as count ORDER BY count DESC LIMIT 1 MATCH (o)-[r:officer_of]->(e:Entity) RETURN o, r, e" +} +{ + "query": "Trouve tous les noeuds liés à l'officer dont le nom contient 'Cahuzac'", + "schema":"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)\"", + "result": "MATCH (o:Officer) WHERE toLower(o.name) CONTAINS toLower('Cahuzac') MATCH (o)-[r]-(n) RETURN o, r, n" +} +{ + "query": "Trouve tous les noeuds liés à l'officer dont le nom contient 'Cahuzac' et les entités liées à ces noeuds", + "schema":"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)\"", + "result": "MATCH (o:Officer) WHERE toLower(o.name) CONTAINS toLower('Cahuzac') MATCH (o)-[r]-(n) MATCH (n)<-[r2]-(e:Entity) RETURN o, r, n, r2, e" +} +{ + "query": "Trouve le noeud ayant le plus de relations et retourne toutes ses relations", + "schema":"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)\"", + "result": "MATCH (n)-[r]-(m) WITH n, count(r) as count ORDER BY count DESC LIMIT 1 MATCH (n)-[r]-(m) RETURN n, r, m" +} +{ + "query": "Trouve tous les noeuds", + "schema":"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)\"", + "result": "MATCH (n) RETURN n" +} +{ + "query": "Trouve tous les noeuds et leurs relations", + "schema":"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)\"", + "result": "MATCH (n)-[r]-(m) RETURN n, r, m" +} +{ + "query": "Trouve tous les noeuds avec l'id 1", + "schema":"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)\"", + "result": "MATCH (n) WHERE n.node_id = 1 RETURN n" +} +{ + "query": "Trouve tous les noeuds avec l'id 2", + "schema":"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)\"", + "result": "MATCH (n) WHERE n.node_id = 2 RETURN n" +} +{ + "query": "Trouve tous les noeuds avec l'id 3", + "schema":"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)\"", + "result": "MATCH (n) WHERE n.node_id = 3 RETURN n" +} +{ + "query": "Trouve tous les noeuds avec l'id %id%", + "schema":"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)\"", + "result": "MATCH (n) WHERE n.node_id = %id% RETURN n" +} +{ + "query": "Trouve tous les Officer qui ont une entité en France", + "schema":"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)\"", + "result": "MATCH (n:Officer)-[r:officer_of]->(m:Entity) WHERE toLower(m.countries) CONTAINS toLower('France') RETURN n, r, m" +} +{ + "query": "Trouve tous les Officer qui ont une entité en %country%", + "schema":"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)\"", + "result": "MATCH (n:Officer)-[r:officer_of]->(m:Entity) WHERE toLower(m.countries) CONTAINS toLower('%country%') RETURN n, r, m" +} +{ + "query": "Trouve tous les Officer qui n'ont pas d'entité en France", + "schema":"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)\"", + "result": "MATCH (n:Officer)-[r:officer_of]->(m:Entity) WHERE NOT toLower(m.countries) CONTAINS toLower('France') RETURN n, r, m" +} +{ + "query": "Trouve tous les Officer qui n'ont pas d'entité en %country%", + "schema":"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)\"", + "result": "MATCH (n:Officer)-[r:officer_of]->(m:Entity) WHERE NOT toLower(m.countries) CONTAINS toLower('%country%') RETURN n, r, m" +} +{ + "query": "Trouve tous les Officer qui ont une entité en France et qui sont actifs", + "schema":"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)\"", + "result": "MATCH (n:Officer)-[r:officer_of]->(m:Entity) WHERE toLower(m.countries) CONTAINS toLower('France') AND toLower(n.status) CONTAINS toLower('active') RETURN n, r, m" +} +{ + "query": "Trouve tous les Officer qui ont une entité en %country% et qui sont actifs", + "schema":"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)\"", + "result": "MATCH (n:Officer)-[r:officer_of]->(m:Entity) WHERE toLower(m.countries) CONTAINS toLower('%country%') AND toLower(n.status) CONTAINS toLower('active') RETURN n, r, m" +} +{ + "query": "Trouve tous les Officer qui n'ont pas d'entité en France et qui sont actifs", + "schema":"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)\"", + "result": "MATCH (n:Officer)-[r:officer_of]->(m:Entity) WHERE NOT toLower(m.countries) CONTAINS toLower('France') AND toLower(n.status) CONTAINS toLower('active') RETURN n, r, m" +} +{ + "query": "Trouve tous les Officer qui n'ont pas d'entité en %country% et qui sont actifs", + "schema":"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)\"", + "result": "MATCH (n:Officer)-[r:officer_of]->(m:Entity) WHERE NOT toLower(m.countries) CONTAINS toLower('%country%') AND toLower(n.status) CONTAINS toLower('active') RETURN n, r, m" +} +{ + "query": "Trouve tous les noeuds qui n'ont pas l'id 1", + "schema":"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)\"", + "result": "MATCH (n) WHERE n.node_id <> 1 RETURN n" +} +{ + "query": "Trouve tous les noeuds qui n'ont pas l'id %id%", + "schema":"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)\"", + "result": "MATCH (n) WHERE n.node_id <> %id% RETURN n" +} +{ + "query": "Trouve tous les Officier qui ont une adresse en France", + "schema":"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)\"", + "result": "MATCH (n:Officer)-[r:registered_address]->(m:Address) WHERE toLower(m.countries) CONTAINS toLower('France') RETURN n, r, m" +} +{ + "query": "Trouve tous les Officier qui ont une adresse en %country%", + "schema":"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)\"", + "result": "MATCH (n:Officer)-[r:registered_address]->(m:Address) WHERE toLower(m.countries) CONTAINS toLower('%country%') RETURN n, r, m" +} +{ + "query": "Trouve tous les officier qui n'ont pas d'adresse en France", + "schema":"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)\"", + "result": "MATCH (n:Officer)-[r:registered_address]->(m:Address) WHERE NOT toLower(m.countries) CONTAINS toLower('France') RETURN n, r, m" +} +{ + "query": "Trouve tous les officier qui n'ont pas d'adresse en %country%", + "schema":"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)\"", + "result": "MATCH (n:Officer)-[r:registered_address]->(m:Address) WHERE NOT toLower(m.countries) CONTAINS toLower('%country%') RETURN n, r, m" +} +{ + "query": "Trouve tous les officier qui n'ont pas d'adresse en France et qui sont actifs", + "schema":"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)\"", + "result": "MATCH (n:Officer)-[r:registered_address]->(m:Address) WHERE NOT toLower(m.countries) CONTAINS toLower('France') AND n.status = 'Active' RETURN n, r, m" +} +{ + "query": "Trouve tous les officier qui n'ont pas d'adresse en %country% et qui sont actifs", + "schema":"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)\"", + "result": "MATCH (n:Officer)-[r:registered_address]->(m:Address) WHERE NOT toLower(m.countries) CONTAINS toLower('%country%') AND n.status = 'Active' RETURN n, r, m" +} \ No newline at end of file