如何在BigQuery中按申请号查找专利的公开号

时间:2018-11-29 08:57:52

标签: google-bigquery google-patent-search

我有很多专利申请号,但是没有公开号。出版物编号对于计算正向引用次数至关重要。谁能帮我一个忙?

SELECT 
  c.publication_number AS Pub, 
  COUNT(DISTINCT REGEXP_EXTRACT(p.publication_number, r'(.+-.+)-')) AS CitedByCount
FROM `patents-public-data.patents.publications` AS p, 
UNNEST(citation) AS c 
WHERE c.publication_number IN (
  SELECT publication_number 
  FROM `patents-public-data.patents.publications`
  WHERE application_number IN ('CN-201510747352-A') 
)
GROUP BY c.publication_number

我可以使用申请号获取CitedBy,但是结果是Pub和CitedBy。如何实现结果包含申请号和CitedBy的目的。

0 个答案:

没有答案