The Knowledge Graph is used by Google Search to help users discover information more quickly and easily. The Knowledge Graph has millions of entries that describe real-world entities like people, places, and things. These entities form the nodes of the graph, and are called Knowledge Graph Entities.
Programmable Search Engine supports using Knowledge Graph Entities to restrict which pages the search engine searches.
Restrict a search engine with Knowledge Graph Entities
- From the list of search engines, select the search engine you want to edit.
- Under Overview, scroll down to Search features. Click on "All search features settings"
- Under Search Features, scroll down to Page restricts, you will find Restrict pages using Knowledge Graph entities.
Under "Restrict pages using Knowledge Graph entities", you can configure your search engine to restrict search to only those web pages that are about specific Knowledge Graph Entities.
For example, to define a search engine that searches the entire web for pages about Alphabet companies, first set "Search the entire web" to "ON" in one of your search engines, then use the "Restrict Pages using Knowledge Graph Entities" selector to add the "Alphabet" Knowledge Graph Entity to your search engine configuration.
You can also combine "Sites to search" and Knowledge Graph Entities to define your search engine. For example, to create a search engine that searches every page about the Entity "Pittsburgh" in Wikipedia, add en.wikipedia.org to the "Sites to search" and select the "Pittsburgh" Knowledge Graph Entity.