选择查询的模板,在编辑框中输入SPARQL查询语句,点击右上角查询按钮执行查询。
查询首选标签中含有"菩萨"的主题词。select * where{?concept skos:prefLabel ?label. Filter(contains(?label,'菩萨'))}
查询"菩萨"主题词。select * where{?concept skos:prefLabel '菩萨'@zh. ?concept ?predicate ?object}
查询"菩萨"主题词的下位词。select ?concept ?label where{dunhuang:tema239 skos:narrower ?concept. ?concept skos:prefLabel ?label}
查询"菩萨"主题词的上位词。select ?concept ?label where{dunhuang:tema239 skos:broader ?concept. ?concept skos:prefLabel ?label}
查询主题词表包含哪些分面?select ?facet ?label where{?facet rdf:type gvp:Facet. ?facet skos:prefLabel ?label}
查询"菩萨"主题词。select count(?concept) as ?number where{?concept rdf:type skos:Concept.}
即"敦煌壁画"主题词包含的实例。SELECT ?murals ?title WHERE {
dunhuang:tema2616 skos:narrower ?murals.
?murals skos:prefLabel ?title.}
即"神话动物"主题词包含的实例。
SELECT ?animals ?name WHERE {
dunhuang:tema607 skos:narrower ?animals.
?animals skos:prefLabel ?name.}