spotlight-dbpedia

How to use DBpedia properties to build a topic hierarchy?

佐手、 提交于 2021-02-07 08:19:59
问题 I am trying to build a topic hierarchy by following the below mentioned two DBpedia properties. skos:broader property dcterms:subject property My intention is to given the word identify the topic of it. For example, given the word; 'suport vector machine', I want to identify topics from it such as classification algorithm, machine learning etc. However, sometimes I am bit confused as how to build a topic hierarchy as I am getting more than 5 URIs for subject and many URIs for broader

how to query Dbpedia in Javascript

半城伤御伤魂 提交于 2020-01-23 09:54:53
问题 I want to get the Abtract of english article of civil engineering from Dbdepdia in Javascript. this is what I tried but it fail. <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> <style type="text/css"> </style> </head> <script type="text/javascript"> var url = "http://dbpedia.org/sparql"; var query = "\ PREFIX dbpedia2: <http://dbpedia.org/resource/>\ PREFIX Abs: <http://dbpedia.org/ontology/>\ SELECT ?abstract\ WHERE {\ ?s dbpedia2:Civil

dbpedia spotlight dataset

拜拜、爱过 提交于 2019-12-11 07:37:19
问题 I installed the DBpedia Spotlight from http://spotlight.dbpedia.org/download/release-0.5/dbpedia-spotlight-quickstart.zip and wanted to improve its dataset by downloading from https://github.com/dbpedia-spotlight/dbpedia-spotlight/wiki/Downloads. Can someone tell me how to use the data from spotter lexicon and disambiguation index with the jar files. 回答1: Assuming you have already downloaded and decompressed the files below: wget http://spotlight.dbpedia.org/download/release-0.5/context-index

how to query Dbpedia in Javascript

风流意气都作罢 提交于 2019-12-05 18:38:15
I want to get the Abtract of english article of civil engineering from Dbdepdia in Javascript. this is what I tried but it fail. <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> <style type="text/css"> </style> </head> <script type="text/javascript"> var url = "http://dbpedia.org/sparql"; var query = "\ PREFIX dbpedia2: <http://dbpedia.org/resource/>\ PREFIX Abs: <http://dbpedia.org/ontology/>\ SELECT ?abstract\ WHERE {\ ?s dbpedia2:Civil_engineeringe\"@en;\ Abs:abstract ?abstract\ }"; this how I encode the url to pass it to ajaxx var