Extract all patents except the ones that have specific words

Here you can post your opinions, ask questions and share experiences on the PATSTAT product line. Please always indicate the PATSTAT edition (e.g. 2015 Autumn Edition) and the database (e.g. PATSTAT Online, MySQL, MS SQL Server, ...) you are using.
Post Reply

JohnVoyore
Posts: 4
Joined: Fri May 20, 2022 5:40 pm

Extract all patents except the ones that have specific words

Post by JohnVoyore » Fri May 20, 2022 5:49 pm

HI, how can I access all the patents except the one that I specify in the title or abstract?
Example: I want all patents filed in WO (PCT) except those that have artificial intelligence in the title between 2015-2020. How can I find it?


EPO / PATSTAT Support
Posts: 433
Joined: Thu Feb 22, 2007 5:33 pm
Contact:

Re: Extract all patents except the ones that have specific words

Post by EPO / PATSTAT Support » Mon May 23, 2022 9:06 am

Hello Johnvoyore,

There are several ways of doing that. On PATSTAT Online, the easiest and quickest method is to use the full text search functionality.

Something like this:

Code: Select all

SELECT *
FROM tls201_appln 
JOIN  tls202_appln_title ON tls201_appln.appln_id = tls202_appln_title.appln_id
WHERE
NOT CONTAINS (appln_title, '"artificial intelligence" ')  
AND appln_filing_year between 2015 and 2020
AND appln_auth = 'WO'
This query will create nearly 1.4 million records.
Another method would me to use the "LIKE" operator.
Something like this:

Code: Select all

WHERE appln_title not like '%artificial intelligence%'
PATSTAT Support Team
EPO - Vienna
patstat @ epo.org


JohnVoyore
Posts: 4
Joined: Fri May 20, 2022 5:40 pm

Re: Extract all patents except the ones that have specific words

Post by JohnVoyore » Mon May 23, 2022 2:28 pm

Thank you for your answer. That's a lot. How to include the abstract?
is it correct like this or I have to do inner join?

Code: Select all

SELECT *
FROM tls201_appln 
JOIN  tls202_appln_title ON tls201_appln.appln_id = tls202_appln_title.appln_id
JOIN   TLS203_APPLN_ABSTR  ON (tls201_appln.appln_id = tls203_appln_abstr.appln_id) 
WHERE(appln_title not like '%artificial intelligence%' or appln_abstract  not like '%artificial intelligence%')
AND appln_filing_year between 2015 and 2020
AND appln_auth = 'WO'


Post Reply