我正在使用滑動窗口算法在DBpedia中搜索URI。輸入關鍵字字符串後,我將它們分成小羣集,然後在DBpedia上搜索。滑動窗口算法:使用SPARQL在DBpedia中搜索精確實體
實施例:
關鍵字:Actor of the film titanic
=>將它們分開成: Actor of the
,Actor of
,Actor
,of the film
,of the
,of
,the movie
,the
,film titanic
,movie
,titanic
問題:我如何搜索確切的使用SPARQL包含名爲關鍵字(以上分析過的短語)的實體?
非常感謝。
我注意到,你正在做的事情超過*分裂*原始的搜索詞 - 因爲你有'電影'和'泰坦尼克號'(大寫'T')在你的分離的集合中,但是這些不會出現在原版的。這使得你的問題比第一次出現更大 - 並重新發明了更多的車輪。 – TallTed