Skip to main content

Table 3 Queries for the concept search of ‘president’

From: Comprehensive structured knowledge base system construction with natural language presentation

No

Query

1

select ?superclass where nsf:politician rdfs:subClassOf ?superclass.

2

SELECT ?entity ? type WHERE { ?entity rdf:type ?type. ?type rdfs:subClassOf* nsf:president.}