using queryNode for import and query_km