import sys
sys.path.append(r'D:\jython2.7.0\Lib\site-packages')
from requests import get
sss_url = "http://swoogle.umbc.edu/SimService/GetSimilarity"
def sss(s1, s2, type='relation', corpus='webbase'):
try:
response = get(sss_url, params={'operation':'api','phrase1':s1,'phrase2':s2,'type':type,'corpus':corpus})
return float(response.text.strip())
except:
print 'Error in getting similarity for %s: %s' % ((s1,s2), response)
return 0.0
return sss(value, cells['description']['value'], type='relation', corpus='webbase')
--
You received this message because you are subscribed to a topic in the Google Groups "OpenRefine" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openrefine/8_Hck3trZbQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openrefine+unsubscribe@googlegroups.com.
"none"
"matched"
To unsubscribe from this group and all its topics, send an email to openrefine+...@googlegroups.com.
You received this message because you are subscribed to the Google Groups "OpenRefine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openrefine+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to openr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "OpenRefine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to openrefine+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Monday, 1 April 2019 20:56:30 UTC+2, Ettore Rizza wrote:+1 for reconcile-csv, which is a very good application. Regarding the integration of PIC in Wikidata, it seems very feasible since this database seems open source. Once the "PIC id" property is requested and created, it should not be very difficult to import some of these CSVs in Mix n' Match to check whether the artist names already have a Wikidata page.