107.json-error.mql 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. match (company:/dsq_stock/public_company where id='public_company:920819')
  2. -[:public_company_to_a_stock_price*1..1]->
  3. (price:/dsq_stock/a_stock_price)
  4. with timeout=5m
  5. /**
  6. output()
  7. **/
  8. ;
  9. MATCH (researcher:/dsq_stock/financial_researcher WHERE name = '钟奕昕')
  10. -[:financial_researcher_to_doc_research_report_core*1..1]->
  11. (report:/dsq_stock/doc_research_report_core)
  12. -[:doc_research_report_core_to_public_company*1..1]->
  13. (company:/dsq_stock/public_company)
  14. -[:public_company_to_a_stock_financial_indicator*1..1]->
  15. (financial:/dsq_stock/a_stock_financial_indicator)
  16. RETURN company.name AS "company_name", financial.net_profit_margin AS "net_profit_margin", company.symbol AS "symbol"
  17. with timeout=10m
  18. /**
  19. output()
  20. **/
  21. ;
  22. MATCH (researcher:/dsq_stock/financial_researcher WHERE name = '钟奕昕')
  23. -[:financial_researcher_to_doc_research_report_core*1..1]->
  24. (report:/dsq_stock/doc_research_report_core)
  25. -[:doc_research_report_core_to_public_company*1..1]->
  26. (company:/dsq_stock/public_company)
  27. -[:public_company_to_a_stock_financial_indicator*1..1]->
  28. (financial:/dsq_stock/a_stock_financial_indicator)
  29. RETURN company.name AS "company_name", financial.net_profit_margin AS "net_profit_margin", company.symbol AS "symbol"
  30. INTO /t0_198345
  31. with timeout=10m
  32. ;
  33. {"sql":"SELECT t0.company_name AS \"公司名称\", t0.net_profit_margin AS \"利润率\", t0.symbol AS \"股票代码\" FROM /t0_198345 t0 ORDER BY \"利润率\" DESC LIMIT 0, 5"}
  34. /**
  35. output()
  36. **/;