Unverified Commit fcb4f0ba authored by jlowryduda's avatar jlowryduda Committed by GitHub
Browse files

Merge pull request #252 from commonsense/data-updates-5.7

Minor updates for version 5.7
parents fe3fbf99 8d317377
......@@ -24,14 +24,10 @@ UPLOAD = False
# from Morfessor.
USE_MORPHOLOGY = False
# How many pieces to split edge files into. (Works best when it's a power of
# 2 that's 64 or less.)
N_PIECES = 16
# The versions of Wiktionary data to download. Updating these requires
# uploading new Wiktionary dumps to ConceptNet's S3.
WIKTIONARY_VERSIONS = {
'en': '20171201',
'en': '20190101',
'fr': '20160305',
'de': '20160407'
}
......@@ -43,15 +39,18 @@ ATOMIC_SPACE_LANGUAGES = {'vi'}
# Languages that the CLDR emoji data is available in. These match the original
# filenames, not ConceptNet language codes; they are turned into ConceptNet
# language codes by the reader.
#
# This list is the list of languages with emoji names in CLDR v34.
EMOJI_LANGUAGES = [
'af', 'am', 'ar', 'as', 'ast', 'az', 'be', 'bg', 'bn', 'bs', 'ca', 'chr', 'cs', 'cy', 'da',
'de', 'de_CH', 'el', 'en', 'en_001', 'en_AU', 'en_CA', 'en_GB', 'es', 'es_419', 'es_MX',
'es_US', 'et', 'eu', 'fa', 'fi', 'fil', 'fo', 'fr', 'fr_CA', 'ga', 'gd', 'gl', 'gu', 'he',
'hi', 'hr', 'hu', 'hy', 'id', 'is', 'it', 'ja', 'ka', 'kab', 'kk', 'km', 'kn', 'ko', 'ky',
'lo', 'lt', 'lv', 'mk', 'ml', 'mn', 'mr', 'ms', 'my', 'nb', 'ne', 'nl', 'nn', 'or', 'pa',
'pl', 'ps', 'pt', 'pt_PT', 'ro', 'ru', 'sd', 'si', 'sk', 'sl', 'sq', 'sr', 'sr_Latn', 'sv',
'sw', 'ta', 'te', 'th', 'tk', 'to', 'tr', 'uk', 'ur', 'uz', 'vi', 'yue', 'yue_Hans', 'zh',
'zh_Hant', 'zh_Hant_HK', 'zu'
'af', 'am', 'ar', 'ar_SA', 'as', 'ast', 'az', 'be', 'bg', 'bn', 'br', 'bs', 'ca', 'ccp',
'chr', 'cs', 'cy', 'da', 'de', 'de_CH', 'el', 'en', 'en_001', 'en_AU', 'en_CA', 'en_GB',
'es', 'es_419', 'es_MX', 'es_US', 'et', 'eu', 'fa', 'fi', 'fil', 'fo', 'fr', 'fr_CA', 'ga',
'gd', 'gl', 'gu', 'he', 'hi', 'hr', 'hu', 'hy', 'ia', 'id', 'is', 'it', 'ja', 'ka', 'kab',
'kk', 'km', 'kn', 'ko', 'ku', 'ky', 'lo', 'lt', 'lv', 'mk', 'ml', 'mn', 'mr', 'ms', 'my',
'nb', 'ne', 'nl', 'nn', 'or', 'pa', 'pl', 'ps', 'pt', 'pt_PT', 'ro', 'ru', 'sd', 'si', 'sk',
'sl', 'sq', 'sr', 'sr_Cyrl', 'sr_Cyrl_BA', 'sr_Latn', 'sr_Latn_BA', 'sv', 'sw', 'ta', 'te',
'th', 'tk', 'to', 'tr', 'uk', 'ur', 'uz', 'vi', 'yue', 'yue_Hans', 'zh', 'zh_Hant',
'zh_Hant_HK', 'zu'
]
# Increment this number when we incompatibly change the parser
......@@ -70,7 +69,7 @@ PROPAGATE_SHARDS = 6
# that will mainly be used to find more information about those terms.
RAW_DATA_URL = "https://zenodo.org/record/1165009/files/conceptnet-raw-data-5.6.zip"
RAW_DATA_URL = "https://zenodo.org/record/1165009/files/conceptnet-raw-data-5.7.zip"
PRECOMPUTED_DATA_PATH = "/precomputed-data/2016"
PRECOMPUTED_DATA_URL = "https://conceptnet.s3.amazonaws.com" + PRECOMPUTED_DATA_PATH
PRECOMPUTED_S3_UPLOAD = "s3://conceptnet" + PRECOMPUTED_DATA_PATH
......@@ -171,20 +170,20 @@ rule test:
# ===========
rule download_raw_package:
output:
DATA + "/raw/conceptnet-raw-data-5.6.zip"
DATA + "/raw/conceptnet-raw-data-5.7.zip"
shell:
"wget -nv {RAW_DATA_URL} -O {output}"
# Get emoji data directly from Unicode CLDR
rule download_unicode_data:
output:
DATA + "/raw/cldr-common-32.0.1.zip"
DATA + "/raw/cldr-common-34.0.zip"
shell:
"wget -nv http://unicode.org/Public/cldr/32.0.1/cldr-common-32.0.1.zip -O {output}"
"wget -nv http://unicode.org/Public/cldr/34/cldr-common-34.0.zip -O {output}"
rule extract_raw:
input:
DATA + "/raw/conceptnet-raw-data-5.6.zip"
DATA + "/raw/conceptnet-raw-data-5.7.zip"
output:
DATA + "/raw/{dirname}/{filename}"
shell:
......@@ -192,9 +191,11 @@ rule extract_raw:
# This rule takes precedence over extract_raw, extracting the emoji data from
# the Unicode CLDR zip file.
#
# TODO: integrate this with the rest of the raw data
rule extract_emoji_data:
input:
DATA + "/raw/cldr-common-32.0.1.zip"
DATA + "/raw/cldr-common-34.0.zip"
output:
DATA + "/raw/emoji/{filename}"
shell:
......
__version__ = '5.6.2'
__version__ = '5.7.0'
......@@ -11,11 +11,17 @@ from conceptnet5.languages import ALL_LANGUAGES
from conceptnet5.readers.wiktionary import valid_language
from conceptnet5.uri import conjunction_uri,get_uri_language, is_absolute_url, Licenses, \
split_uri, uri_prefix
from conceptnet5.util import get_support_data_filename
N = 100
CURRENT_DIR = os.getcwd()
def get_blacklist():
filename = get_support_data_filename('blacklist.txt')
return set(open(filename).readlines())
def weight_scale(weight):
"""
This scale starts out linear, then switches to a square-root scale at x=2.
......@@ -119,15 +125,19 @@ def combine_assertions(input_filename, output_filename):
out = MsgpackStreamWriter(output_filename)
out_bad = MsgpackStreamWriter(output_filename + '.reject')
blacklist = get_blacklist()
with open(input_filename, encoding='utf-8') as stream:
for key, line_group in itertools.groupby(stream, group_func):
assertion = make_assertion(line_group)
destination = out
if assertion is None:
continue
if assertion['weight'] > 0:
destination = out
else:
if assertion['weight'] <= 0:
destination = out_bad
for value in assertion.values():
if isinstance(value, str) and value in blacklist:
destination = out_bad
destination.write(assertion)
out.close()
......
......@@ -27,10 +27,15 @@ def handle_file(input_file, output_file):
out = MsgpackStreamWriter(output_file)
root = tree.getroot()
lang = root[0][1].attrib['type'] # language is at position [1] within the child node [0]
for annotation in root[1]:
for word in strip_words(annotation.text):
start = standardized_concept_uri('mul', annotation.attrib['cp'])
end = standardized_concept_uri(lang, word)
edge = make_edge(REL, start, end, DATASET, LICENSE, SOURCE)
out.write(edge)
if len(root) >= 2:
for annotation in root[1]:
for word in strip_words(annotation.text):
start = standardized_concept_uri('mul', annotation.attrib['cp'])
end = standardized_concept_uri(lang, word)
edge = make_edge(REL, start, end, DATASET, LICENSE, SOURCE)
out.write(edge)
else:
print("No emoji data in {!r}".format(input_file))
out.close()
# We should be able to address particular bad assertions by removing them.
# Here's one to start with.
/a/[/r/HasSubevent/,/c/en/get_drunk/,/c/en/drive_carefully/]
......@@ -5,7 +5,7 @@ from setuptools.command.develop import develop
import sys
packages = find_packages()
version_str = '5.6.4'
version_str = '5.7.0'
if sys.version_info.major < 3:
print("The ConceptNet 5 code can only run in Python 3.")
......
......@@ -95,9 +95,9 @@
/c/ja/バイト/n /c/ja/バイト 1.0 /d/jmdict /r/SenseOf
/c/ja/バイト/n /c/en/computer_terminology 2.0 /d/jmdict /r/HasContext
/c/ja/バイト/n /c/en/mathematics 2.0 /d/jmdict /r/HasContext
/c/ja/テスト /c/ja/勉強 0.20000000000000018 /d/conceptnet/4/ja /r/HasPrerequisite
/c/ja/テスト /c/ja/勉強 0.10000000000000009 /d/conceptnet/4/ja /r/HasPrerequisite
/c/en/education_in_united_states /c/en/certainly_thing 1.0 /d/conceptnet/4/en /r/HasProperty
/c/ja/テスト /c/ja/名前を書くこと 0.3999999999999999 /d/conceptnet/4/ja /r/HasSubevent
/c/ja/テスト /c/ja/名前を書くこと 0.20000000000000018 /d/conceptnet/4/ja /r/HasSubevent
/c/pt/estão_com_sono /c/pt/dormem 2.82842712474619 /d/conceptnet/4/pt /r/HasSubevent
/c/zh/檢查 /c/zh/經理來訪 1.0 /d/conceptnet/4/zh /r/HasSubevent
/c/en/adjudging/n /c/en/adjudging 1.0 /d/opencyc /r/SenseOf
......@@ -117,57 +117,57 @@
/c/en/test/n /c/en/test 1.0 /d/dbpedia/en /r/SenseOf
/c/en/example_concept/n /c/en/example_concept 1.0 /d/dbpedia/en /r/SenseOf
/c/en/test/n /c/en/example_concept/n 0.5 /d/dbpedia/en /r/IsA
/c/ja/α_テスト /c/ja/テスト 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/α_テスト /c/ja/試験 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/α_テスト /c/ja/テスト 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/α_テスト /c/ja/試験 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/β_テスト /c/ja/テスト 1.0 /d/conceptnet/5/ja /r/IsA
/c/ja/β_テスト /c/ja/トライアル 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/β_テスト /c/ja/試すこと 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/β_テスト /c/ja/試用 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/アナバプテスト /c/ja/プロテスタント 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/アルファテスト /c/ja/テスト 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/コンテスト /c/ja/コンペティション 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/β_テスト /c/ja/トライアル 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/β_テスト /c/ja/試すこと 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/β_テスト /c/ja/試用 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/アナバプテスト /c/ja/プロテスタント 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/アルファテスト /c/ja/テスト 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/コンテスト /c/ja/コンペティション 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/コンテスト /c/ja/催し 1.0 /d/conceptnet/5/ja /r/IsA
/c/ja/コンテスト /c/ja/催し物 1.0 /d/conceptnet/5/ja /r/IsA
/c/ja/スペリングコンテスト /c/ja/コンテスト 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/スペリングコンテスト /c/ja/コンテスト 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/テスト /c/ja/実験 1.0 /d/conceptnet/5/ja /r/IsA
/c/ja/テスト /c/ja/本番 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/テスト /c/ja/試み 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/テスト /c/ja/試験 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/テスト /c/ja/調査 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/バプテスト /c/ja/プロテスタント 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/フィッティング /c/ja/テスト 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/フィールド_テスト /c/ja/テスト 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/テスト /c/ja/本番 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/テスト /c/ja/試み 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/テスト /c/ja/試験 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/テスト /c/ja/調査 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/バプテスト /c/ja/プロテスタント 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/フィッティング /c/ja/テスト 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/フィールド_テスト /c/ja/テスト 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/フィールド_テスト /c/ja/実験 1.0 /d/conceptnet/5/ja /r/IsA
/c/ja/フィールド_テスト /c/ja/試験 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/フローティング /c/ja/テスト 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/フィールド_テスト /c/ja/試験 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/フローティング /c/ja/テスト 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/ベータテスト /c/ja/テスト 1.0 /d/conceptnet/5/ja /r/IsA
/c/ja/ベータテスト /c/ja/試用 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/ベータテスト /c/ja/試験 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/ベータテスト /c/ja/試用 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/ベータテスト /c/ja/試験 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/メンタルテスト /c/ja/テスト 1.0 /d/conceptnet/5/ja /r/IsA
/c/ja/ロードテスト /c/ja/テスト 1.25 /d/conceptnet/5/ja /r/IsA
/c/ja/ロールシャッハテスト /c/ja/投影法 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/中間試験 /c/ja/テスト 1.25 /d/conceptnet/5/ja /r/IsA
/c/ja/人気投票 /c/ja/コンテスト 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/入学試験 /c/ja/テスト 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/入試 /c/ja/テスト 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/口述試験 /c/ja/テスト 1.25 /d/conceptnet/5/ja /r/IsA
/c/ja/ロードテスト /c/ja/テスト 2.0 /d/conceptnet/5/ja /r/IsA
/c/ja/ロールシャッハテスト /c/ja/投影法 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/中間試験 /c/ja/テスト 2.0 /d/conceptnet/5/ja /r/IsA
/c/ja/人気投票 /c/ja/コンテスト 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/入学試験 /c/ja/テスト 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/入試 /c/ja/テスト 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/口述試験 /c/ja/テスト 2.0 /d/conceptnet/5/ja /r/IsA
/c/ja/司法試験 /c/ja/テスト 1.0 /d/conceptnet/5/ja /r/IsA
/c/ja/大会 /c/ja/コンテスト 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/大会 /c/ja/コンテスト 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/小_テスト /c/ja/テスト 1.0 /d/conceptnet/5/ja /r/IsA
/c/ja/性格検査 /c/ja/テスト 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/抜き打ち_テスト /c/ja/小_テスト 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/期末試験 /c/ja/テスト 1.25 /d/conceptnet/5/ja /r/IsA
/c/ja/本試験 /c/ja/テスト 1.25 /d/conceptnet/5/ja /r/IsA
/c/ja/性格検査 /c/ja/テスト 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/抜き打ち_テスト /c/ja/小_テスト 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/期末試験 /c/ja/テスト 2.0 /d/conceptnet/5/ja /r/IsA
/c/ja/本試験 /c/ja/テスト 2.0 /d/conceptnet/5/ja /r/IsA
/c/ja/検定 /c/ja/テスト 1.0 /d/conceptnet/5/ja /r/IsA
/c/ja/検査 /c/ja/テスト 1.25 /d/conceptnet/5/ja /r/IsA
/c/ja/比較 /c/ja/テスト 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/検査 /c/ja/テスト 2.0 /d/conceptnet/5/ja /r/IsA
/c/ja/比較 /c/ja/テスト 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/治験 /c/ja/テスト 1.0 /d/conceptnet/5/ja /r/IsA
/c/ja/眼底検査 /c/ja/テスト 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/眼底検査 /c/ja/テスト 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/知能_テスト /c/ja/テスト 1.0 /d/conceptnet/5/ja /r/IsA
/c/ja/知能_テスト /c/ja/検査 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/考査 /c/ja/テスト 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/知能_テスト /c/ja/検査 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/考査 /c/ja/テスト 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/試験 /c/ja/テスト 1.0 /d/conceptnet/5/ja /r/IsA
/c/ja/部分試験 /c/ja/テスト 1.25 /d/conceptnet/5/ja /r/IsA
/c/ja/部分試験 /c/ja/テスト 2.0 /d/conceptnet/5/ja /r/IsA
/c/cs/test/n /c/en/test 1.0 /d/wiktionary/en /r/RelatedTo
/c/cs/test/n /c/cs/test 1.0 /d/wiktionary/fr /r/SenseOf
/c/cs/test/n /c/fr/test 1.0 /d/wiktionary/fr /r/RelatedTo
......@@ -753,6 +753,6 @@
/c/zh/高抬 /c/zh/高抬 1.0 /d/cc_cedict /r/Synonym
/c/en/balalaika /c/en/make_music 2.82842712474619 /d/conceptnet/4/en /r/UsedFor
/c/en/balalaika /c/en/making_music 1.0 /d/conceptnet/4/en /r/UsedFor
/c/ja/クラスルーム /c/ja/テスト 0.75 /d/conceptnet/5/ja /r/UsedFor
/c/ja/教室 /c/ja/テスト 1.25 /d/conceptnet/5/ja /r/UsedFor
/c/ja/クラスルーム /c/ja/テスト 0.5 /d/conceptnet/5/ja /r/UsedFor
/c/ja/教室 /c/ja/テスト 2.0 /d/conceptnet/5/ja /r/UsedFor
/c/zh/檢查 /c/zh/走到飲水機 1.0 /d/conceptnet/4/zh /r/UsedFor
......@@ -347,27 +347,27 @@
/c/it/test/n /c/it/test 1.0 /d/wiktionary/de /r/SenseOf
/c/it/test/n /c/it/test 1.0 /d/wiktionary/en /r/SenseOf
/c/it/test/n /c/it/test 1.0 /d/wordnet/3.1 /r/SenseOf
/c/ja/α_テスト /c/ja/テスト 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/α_テスト /c/ja/試験 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/α_テスト /c/ja/テスト 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/α_テスト /c/ja/試験 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/β_テスト /c/ja/テスト 1.0 /d/conceptnet/5/ja /r/IsA
/c/ja/β_テスト /c/ja/トライアル 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/β_テスト /c/ja/試すこと 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/β_テスト /c/ja/試用 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/アナバプテスト /c/ja/プロテスタント 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/β_テスト /c/ja/トライアル 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/β_テスト /c/ja/試すこと 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/β_テスト /c/ja/試用 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/アナバプテスト /c/ja/プロテスタント 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/アメリカ合衆国の教育 /c/en/education_in_united_states 0.5 /d/dbpedia/en /r/Synonym
/c/ja/アルファテスト /c/ja/テスト 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/クラスルーム /c/ja/テスト 0.75 /d/conceptnet/5/ja /r/UsedFor
/c/ja/コンテスト /c/ja/コンペティション 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/アルファテスト /c/ja/テスト 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/クラスルーム /c/ja/テスト 0.5 /d/conceptnet/5/ja /r/UsedFor
/c/ja/コンテスト /c/ja/コンペティション 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/コンテスト /c/ja/催し 1.0 /d/conceptnet/5/ja /r/IsA
/c/ja/コンテスト /c/ja/催し物 1.0 /d/conceptnet/5/ja /r/IsA
/c/ja/スペリングコンテスト /c/ja/コンテスト 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/テスト /c/ja/勉強 0.20000000000000018 /d/conceptnet/4/ja /r/HasPrerequisite
/c/ja/テスト /c/ja/名前を書くこと 0.3999999999999999 /d/conceptnet/4/ja /r/HasSubevent
/c/ja/スペリングコンテスト /c/ja/コンテスト 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/テスト /c/ja/勉強 0.10000000000000009 /d/conceptnet/4/ja /r/HasPrerequisite
/c/ja/テスト /c/ja/名前を書くこと 0.20000000000000018 /d/conceptnet/4/ja /r/HasSubevent
/c/ja/テスト /c/ja/実験 1.0 /d/conceptnet/5/ja /r/IsA
/c/ja/テスト /c/ja/本番 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/テスト /c/ja/試み 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/テスト /c/ja/試験 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/テスト /c/ja/調査 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/テスト /c/ja/本番 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/テスト /c/ja/試み 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/テスト /c/ja/試験 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/テスト /c/ja/調査 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/テスト/n /c/de/probe 2.0 /d/jmdict /r/Synonym
/c/ja/テスト/n /c/de/prüfung 2.0 /d/jmdict /r/Synonym
/c/ja/テスト/n /c/de/quiz 2.0 /d/jmdict /r/Synonym
......@@ -414,21 +414,21 @@
/c/ja/バイト/n /c/fr/octet 2.0 /d/jmdict /r/Synonym
/c/ja/バイト/n /c/fr/travail 2.0 /d/jmdict /r/Synonym
/c/ja/バイト/n /c/ja/バイト 1.0 /d/jmdict /r/SenseOf
/c/ja/バプテスト /c/ja/プロテスタント 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/バプテスト /c/ja/プロテスタント 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/ビアホール /c/ja/揚げ物 1.0 /d/conceptnet/4/ja /r/RelatedTo
/c/ja/フィッティング /c/ja/テスト 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/フィールド_テスト /c/ja/テスト 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/フィッティング /c/ja/テスト 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/フィールド_テスト /c/ja/テスト 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/フィールド_テスト /c/ja/実験 1.0 /d/conceptnet/5/ja /r/IsA
/c/ja/フィールド_テスト /c/ja/試験 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/フローティング /c/ja/テスト 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/フィールド_テスト /c/ja/試験 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/フローティング /c/ja/テスト 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/ベータテスト /c/ja/テスト 1.0 /d/conceptnet/5/ja /r/IsA
/c/ja/ベータテスト /c/ja/試用 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/ベータテスト /c/ja/試験 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/ベータテスト /c/ja/試用 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/ベータテスト /c/ja/試験 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/メンタルテスト /c/ja/テスト 1.0 /d/conceptnet/5/ja /r/IsA
/c/ja/ロードテスト /c/ja/テスト 1.25 /d/conceptnet/5/ja /r/IsA
/c/ja/ロールシャッハテスト /c/ja/投影法 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/中間試験 /c/ja/テスト 1.25 /d/conceptnet/5/ja /r/IsA
/c/ja/人気投票 /c/ja/コンテスト 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/ロードテスト /c/ja/テスト 2.0 /d/conceptnet/5/ja /r/IsA
/c/ja/ロールシャッハテスト /c/ja/投影法 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/中間試験 /c/ja/テスト 2.0 /d/conceptnet/5/ja /r/IsA
/c/ja/人気投票 /c/ja/コンテスト 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/偸閑/a /c/de/aufrichtig 2.0 /d/jmdict /r/Synonym
/c/ja/偸閑/a /c/de/ausdrücklich 2.0 /d/jmdict /r/Synonym
/c/ja/偸閑/a /c/de/deutlich 2.0 /d/jmdict /r/Synonym
......@@ -468,15 +468,15 @@
/c/ja/偸閑/a /c/nl/tijdelijk 2.0 /d/jmdict /r/Synonym
/c/ja/偸閑/a /c/nl/vluchtig 2.0 /d/jmdict /r/Synonym
/c/ja/偸閑/a /c/nl/voorlopig 2.0 /d/jmdict /r/Synonym
/c/ja/入学試験 /c/ja/テスト 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/入試 /c/ja/テスト 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/口述試験 /c/ja/テスト 1.25 /d/conceptnet/5/ja /r/IsA
/c/ja/入学試験 /c/ja/テスト 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/入試 /c/ja/テスト 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/口述試験 /c/ja/テスト 2.0 /d/conceptnet/5/ja /r/IsA
/c/ja/司法試験 /c/ja/テスト 1.0 /d/conceptnet/5/ja /r/IsA
/c/ja/大会 /c/ja/コンテスト 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/大会 /c/ja/コンテスト 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/小_テスト /c/ja/テスト 1.0 /d/conceptnet/5/ja /r/IsA
/c/ja/性格検査 /c/ja/テスト 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/抜き打ち_テスト /c/ja/小_テスト 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/教室 /c/ja/テスト 1.25 /d/conceptnet/5/ja /r/UsedFor
/c/ja/性格検査 /c/ja/テスト 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/抜き打ち_テスト /c/ja/小_テスト 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/教室 /c/ja/テスト 2.0 /d/conceptnet/5/ja /r/UsedFor
/c/ja/明かん/n /c/de/blöd_zwecklos 2.0 /d/jmdict /r/Synonym
/c/ja/明かん/n /c/de/mies 2.0 /d/jmdict /r/Synonym
/c/ja/明かん/n /c/de/schlecht 2.0 /d/jmdict /r/Synonym
......@@ -538,11 +538,11 @@
/c/ja/明白/a /c/nl/vluchtig 2.0 /d/jmdict /r/Synonym
/c/ja/明白/a /c/nl/voorlopig 2.0 /d/jmdict /r/Synonym
/c/ja/明白/a /c/ru/очеви́дный 2.0 /d/jmdict /r/Synonym
/c/ja/期末試験 /c/ja/テスト 1.25 /d/conceptnet/5/ja /r/IsA
/c/ja/本試験 /c/ja/テスト 1.25 /d/conceptnet/5/ja /r/IsA
/c/ja/期末試験 /c/ja/テスト 2.0 /d/conceptnet/5/ja /r/IsA
/c/ja/本試験 /c/ja/テスト 2.0 /d/conceptnet/5/ja /r/IsA
/c/ja/検定 /c/ja/テスト 1.0 /d/conceptnet/5/ja /r/IsA
/c/ja/検査 /c/ja/テスト 1.25 /d/conceptnet/5/ja /r/IsA
/c/ja/比較 /c/ja/テスト 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/検査 /c/ja/テスト 2.0 /d/conceptnet/5/ja /r/IsA
/c/ja/比較 /c/ja/テスト 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/治験 /c/ja/テスト 1.0 /d/conceptnet/5/ja /r/IsA
/c/ja/白地/a /c/de/aufrichtig 2.0 /d/jmdict /r/Synonym
/c/ja/白地/a /c/de/ausdrücklich 2.0 /d/jmdict /r/Synonym
......@@ -583,11 +583,11 @@
/c/ja/白地/a /c/nl/tijdelijk 2.0 /d/jmdict /r/Synonym
/c/ja/白地/a /c/nl/vluchtig 2.0 /d/jmdict /r/Synonym
/c/ja/白地/a /c/nl/voorlopig 2.0 /d/jmdict /r/Synonym
/c/ja/眼底検査 /c/ja/テスト 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/眼底検査 /c/ja/テスト 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/知能_テスト /c/ja/テスト 1.0 /d/conceptnet/5/ja /r/IsA
/c/ja/知能_テスト /c/ja/検査 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/知能_テスト /c/ja/検査 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/科学者 /c/ja/テスト 1.0 /d/conceptnet/5/ja /r/CapableOf
/c/ja/考査 /c/ja/テスト 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/考査 /c/ja/テスト 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/試/n /c/en/test/n 2.0 /d/wordnet/3.1 /r/Synonym
/c/ja/試/n /c/ja/試 1.0 /d/wordnet/3.1 /r/SenseOf
/c/ja/試し/n /c/en/test/n 2.0 /d/wordnet/3.1 /r/Synonym
......@@ -597,7 +597,7 @@
/c/ja/試験 /c/ja/テスト 1.0 /d/conceptnet/5/ja /r/IsA
/c/ja/試験/n /c/en/test/n 2.0 /d/wordnet/3.1 /r/Synonym
/c/ja/試験/n /c/ja/試験 1.0 /d/wordnet/3.1 /r/SenseOf
/c/ja/部分試験 /c/ja/テスト 1.25 /d/conceptnet/5/ja /r/IsA
/c/ja/部分試験 /c/ja/テスト 2.0 /d/conceptnet/5/ja /r/IsA
/c/ja/験し/n /c/en/test/n 2.0 /d/wordnet/3.1 /r/Synonym
/c/ja/験し/n /c/ja/験し 1.0 /d/wordnet/3.1 /r/SenseOf
/c/ko/미국의_교육 /c/en/education_in_united_states 0.5 /d/dbpedia/en /r/Synonym
......
......@@ -67,7 +67,7 @@
/c/it/test /c/it/prova 1.0 /d/wiktionary/de /r/Synonym
/c/ja/β_テスト /c/ja/テスト 1.0 /d/conceptnet/5/ja /r/IsA
/c/ja/テスト /c/ja/実験 1.0 /d/conceptnet/5/ja /r/IsA
/c/ja/テスト /c/ja/試験 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/テスト /c/ja/試験 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/テスト /c/de/probe 2.0 /d/jmdict /r/Synonym
/c/ja/テスト /c/de/test 2.0 /d/jmdict /r/Synonym
/c/ja/テスト /c/en/test 2.0 /d/jmdict /r/Synonym
......@@ -79,11 +79,11 @@
/c/ja/テスト /c/nl/proef 2.0 /d/jmdict /r/Synonym
/c/ja/テスト /c/nl/test 2.0 /d/jmdict /r/Synonym
/c/ja/テスト /c/ru/тест 2.0 /d/jmdict /r/Synonym
/c/ja/フィールド_テスト /c/ja/テスト 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/フィールド_テスト /c/ja/テスト 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/フィールド_テスト /c/ja/実験 1.0 /d/conceptnet/5/ja /r/IsA
/c/ja/フィールド_テスト /c/ja/試験 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/フィールド_テスト /c/ja/試験 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/ベータテスト /c/ja/テスト 1.0 /d/conceptnet/5/ja /r/IsA
/c/ja/ベータテスト /c/ja/試験 0.75 /d/conceptnet/5/ja /r/IsA
/c/ja/ベータテスト /c/ja/試験 0.5 /d/conceptnet/5/ja /r/IsA
/c/ja/偸閑 /c/de/aufrichtig 2.0 /d/jmdict /r/Synonym
/c/ja/偸閑 /c/de/ausdrücklich 2.0 /d/jmdict /r/Synonym
/c/ja/偸閑 /c/de/deutlich 2.0 /d/jmdict /r/Synonym
......
/a/[/r/HasSubevent/,/c/ja/テスト/,/c/ja/名前を書くこと/] /r/HasSubevent /c/ja/テスト /c/ja/名前を書くこと {"dataset": "/d/conceptnet/4/ja", "license": "cc:by/4.0", "sources": [{"activity": "/s/activity/omcs/nadya.jp", "contributor": "/s/contributor/omcs/nadyajp_guest_58"}], "surfaceEnd": "名前を書くこと", "surfaceStart": "テスト", "surfaceText": "あなたが[[テスト]]の際にすることの一つは[[名前を書くこと]]である.", "weight": 0.1}
/a/[/r/HasSubevent/,/c/ja/テスト/,/c/ja/名前を書くこと/] /r/HasSubevent /c/ja/テスト /c/ja/名前を書くこと {"dataset": "/d/conceptnet/4/ja", "license": "cc:by/4.0", "sources": [{"activity": "/s/activity/omcs/nadya.jp", "contributor": "/s/contributor/omcs/nadyajp_guest_21"}], "surfaceEnd": "名前を書くこと", "surfaceStart": "テスト", "surfaceText": "あなたが[[テスト]]の際にすることの一つは[[名前を書くこと]]である.", "weight": 0.1}
/a/[/r/HasSubevent/,/c/ja/テスト/,/c/ja/名前を書くこと/] /r/HasSubevent /c/ja/テスト /c/ja/名前を書くこと {"dataset": "/d/conceptnet/4/ja", "license": "cc:by/4.0", "sources": [{"activity": "/s/activity/omcs/nadya.jp", "contributor": "/s/contributor/omcs/nadyajp_guest_20"}], "surfaceEnd": "名前を書くこと", "surfaceStart": "テスト", "surfaceText": "あなたが[[テスト]]の際にすることの一つは[[名前を書くこと]]である.", "weight": 0.1}
/a/[/r/HasSubevent/,/c/ja/テスト/,/c/ja/名前を書くこと/] /r/HasSubevent /c/ja/テスト /c/ja/名前を書くこと {"dataset": "/d/conceptnet/4/ja", "license": "cc:by/4.0", "sources": [{"activity": "/s/activity/omcs/nadya.jp", "contributor": "/s/contributor/omcs/nadyajp_twitter_175685560"}], "surfaceEnd": "名前を書くこと", "surfaceStart": "テスト", "surfaceText": "あなたが[[テスト]]の際にすることの一つは[[名前を書くこと]]である.", "weight": 0.1}
/a/[/r/HasSubevent/,/c/ja/テスト/,/c/ja/名前を書くこと/] /r/HasSubevent /c/ja/テスト /c/ja/名前を書くこと {"dataset": "/d/conceptnet/4/ja", "license": "cc:by/4.0", "sources": [{"activity": "/s/activity/omcs/nadya.jp", "contributor": "/s/contributor/omcs/nadyajp_guest_58"}], "surfaceEnd": "名前を書くこと", "surfaceStart": "テスト", "surfaceText": "あなたが[[テスト]]の際にすることの一つは[[名前を書くこと]]である.", "weight": 0.1}
/a/[/r/HasSubevent/,/c/ja/テスト/,/c/ja/名前を書くこと/] /r/HasSubevent /c/ja/テスト /c/ja/名前を書くこと {"dataset": "/d/conceptnet/4/ja", "license": "cc:by/4.0", "sources": [{"activity": "/s/activity/omcs/nadya.jp", "contributor": "/s/contributor/omcs/nadyajp_guest_21"}], "surfaceEnd": "名前を書くこと", "surfaceStart": "テスト", "surfaceText": "あなたが[[テスト]]の際にすることの一つは[[名前を書くこと]]である.", "weight": 0.1}
/a/[/r/HasSubevent/,/c/ja/テスト/,/c/ja/名前を書くこと/] /r/HasSubevent /c/ja/テスト /c/ja/名前を書くこと {"dataset": "/d/conceptnet/4/ja", "license": "cc:by/4.0", "sources": [{"activity": "/s/activity/omcs/nadya.jp", "contributor": "/s/contributor/omcs/nadyajp_guest_20"}], "surfaceEnd": "名前を書くこと", "surfaceStart": "テスト", "surfaceText": "あなたが[[テスト]]の際にすることの一つは[[名前を書くこと]]である.", "weight": 0.1}
/a/[/r/HasSubevent/,/c/ja/テスト/,/c/ja/名前を書くこと/] /r/HasSubevent /c/ja/テスト /c/ja/名前を書くこと {"dataset": "/d/conceptnet/4/ja", "license": "cc:by/4.0", "sources": [{"activity": "/s/activity/omcs/nadya.jp", "contributor": "/s/contributor/omcs/nadyajp_twitter_175685560"}], "surfaceEnd": "名前を書くこと", "surfaceStart": "テスト", "surfaceText": "あなたが[[テスト]]の際にすることの一つは[[名前を書くこと]]である.", "weight": 0.1}
/a/[/r/HasPrerequisite/,/c/ja/テスト/,/c/ja/勉強/] /r/HasPrerequisite /c/ja/テスト /c/ja/勉強 {"dataset": "/d/conceptnet/4/ja", "license": "cc:by/4.0", "sources": [{"activity": "/s/activity/omcs/nadya.jp", "contributor": "/s/contributor/omcs/nadyajp_twitter_235086139"}], "surfaceEnd": "勉強", "surfaceStart": "テスト", "surfaceText": "あなたが[[テスト]]のときに,それより先にすることは[[勉強]]である.", "weight": 0.1}
/a/[/r/HasPrerequisite/,/c/ja/テスト/,/c/ja/勉強/] /r/HasPrerequisite /c/ja/テスト /c/ja/勉強 {"dataset": "/d/conceptnet/4/ja", "license": "cc:by/4.0", "sources": [{"activity": "/s/activity/omcs/nadya.jp", "contributor": "/s/contributor/omcs/nadyajp_twitter_50251265"}], "surfaceEnd": "勉強", "surfaceStart": "テスト", "surfaceText": "あなたが[[テスト]]のときに,それより先にすることは[[勉強]]である.", "weight": 0.1}
/a/[/r/HasPrerequisite/,/c/ja/テスト/,/c/ja/勉強/] /r/HasPrerequisite /c/ja/テスト /c/ja/勉強 {"dataset": "/d/conceptnet/4/ja", "license": "cc:by/4.0", "sources": [{"activity": "/s/activity/omcs/nadya.jp", "contributor": "/s/contributor/omcs/nadyajp_twitter_235086139"}], "surfaceEnd": "勉強", "surfaceStart": "テスト", "surfaceText": "あなたが[[テスト]]のときに,それより先にすることは[[勉強]]である.", "weight": 0.1}
/a/[/r/HasPrerequisite/,/c/ja/テスト/,/c/ja/勉強/] /r/HasPrerequisite /c/ja/テスト /c/ja/勉強 {"dataset": "/d/conceptnet/4/ja", "license": "cc:by/4.0", "sources": [{"activity": "/s/activity/omcs/nadya.jp", "contributor": "/s/contributor/omcs/nadyajp_twitter_50251265"}], "surfaceEnd": "勉強", "surfaceStart": "テスト", "surfaceText": "あなたが[[テスト]]のときに,それより先にすることは[[勉強]]である.", "weight": 0.1}
/a/[/r/HasPrerequisite/,/c/ja/テスト/,/c/ja/勉強/] /r/HasPrerequisite /c/ja/テスト /c/ja/勉強 {"dataset": "/d/conceptnet/4/ja", "license": "cc:by/4.0", "sources": [{"activity": "/s/activity/omcs/nadya.jp", "contributor": "/s/contributor/omcs/nadyajp_twitter_235086139"}], "surfaceEnd": "勉強", "surfaceStart": "テスト", "surfaceText": "あなたが[[テスト]]のときに,それより先にすることは[[勉強]]である.", "weight": 0.1}
/a/[/r/HasPrerequisite/,/c/ja/テスト/,/c/ja/勉強/] /r/HasPrerequisite /c/ja/テスト /c/ja/勉強 {"dataset": "/d/conceptnet/4/ja", "license": "cc:by/4.0", "sources": [{"activity": "/s/activity/omcs/nadya.jp", "contributor": "/s/contributor/omcs/nadyajp_twitter_50251265"}], "surfaceEnd": "勉強", "surfaceStart": "テスト", "surfaceText": "あなたが[[テスト]]のときに,それより先にすることは[[勉強]]である.", "weight": 0.1}
/a/[/r/HasSubevent/,/c/ja/テスト/,/c/ja/名前を書くこと/] /r/HasSubevent /c/ja/テスト /c/ja/名前を書くこと {"dataset": "/d/conceptnet/4/ja", "license": "cc:by/4.0", "sources": [{"activity": "/s/activity/omcs/nadya.jp", "contributor": "/s/contributor/omcs/nadyajp_guest_58"}], "surfaceEnd": "名前を書くこと", "surfaceStart": "テスト", "surfaceText": "あなたが[[テスト]]の際にすることの一つは[[名前を書くこと]]である.", "weight": 0.05}
/a/[/r/HasSubevent/,/c/ja/テスト/,/c/ja/名前を書くこと/] /r/HasSubevent /c/ja/テスト /c/ja/名前を書くこと {"dataset": "/d/conceptnet/4/ja", "license": "cc:by/4.0", "sources": [{"activity": "/s/activity/omcs/nadya.jp", "contributor": "/s/contributor/omcs/nadyajp_guest_21"}], "surfaceEnd": "名前を書くこと", "surfaceStart": "テスト", "surfaceText": "あなたが[[テスト]]の際にすることの一つは[[名前を書くこと]]である.", "weight": 0.05}
/a/[/r/HasSubevent/,/c/ja/テスト/,/c/ja/名前を書くこと/] /r/HasSubevent /c/ja/テスト /c/ja/名前を書くこと {"dataset": "/d/conceptnet/4/ja", "license": "cc:by/4.0", "sources": [{"activity": "/s/activity/omcs/nadya.jp", "contributor": "/s/contributor/omcs/nadyajp_guest_20"}], "surfaceEnd": "名前を書くこと", "surfaceStart": "テスト", "surfaceText": "あなたが[[テスト]]の際にすることの一つは[[名前を書くこと]]である.", "weight": 0.05}
/a/[/r/HasSubevent/,/c/ja/テスト/,/c/ja/名前を書くこと/] /r/HasSubevent /c/ja/テスト /c/ja/名前を書くこと {"dataset": "/d/conceptnet/4/ja", "license": "cc:by/4.0", "sources": [{"activity": "/s/activity/omcs/nadya.jp", "contributor": "/s/contributor/omcs/nadyajp_twitter_175685560"}], "surfaceEnd": "名前を書くこと", "surfaceStart": "テスト", "surfaceText": "あなたが[[テスト]]の際にすることの一つは[[名前を書くこと]]である.", "weight": 0.05}
/a/[/r/HasSubevent/,/c/ja/テスト/,/c/ja/名前を書くこと/] /r/HasSubevent /c/ja/テスト /c/ja/名前を書くこと {"dataset": "/d/conceptnet/4/ja", "license": "cc:by/4.0", "sources": [{"activity": "/s/activity/omcs/nadya.jp", "contributor": "/s/contributor/omcs/nadyajp_guest_58"}], "surfaceEnd": "名前を書くこと", "surfaceStart": "テスト", "surfaceText": "あなたが[[テスト]]の際にすることの一つは[[名前を書くこと]]である.", "weight": 0.05}
/a/[/r/HasSubevent/,/c/ja/テスト/,/c/ja/名前を書くこと/] /r/HasSubevent /c/ja/テスト /c/ja/名前を書くこと {"dataset": "/d/conceptnet/4/ja", "license": "cc:by/4.0", "sources": [{"activity": "/s/activity/omcs/nadya.jp", "contributor": "/s/contributor/omcs/nadyajp_guest_21"}], "surfaceEnd": "名前を書くこと", "surfaceStart": "テスト", "surfaceText": "あなたが[[テスト]]の際にすることの一つは[[名前を書くこと]]である.", "weight": 0.05}
/a/[/r/HasSubevent/,/c/ja/テスト/,/c/ja/名前を書くこと/] /r/HasSubevent /c/ja/テスト /c/ja/名前を書くこと {"dataset": "/d/conceptnet/4/ja", "license": "cc:by/4.0", "sources": [{"activity": "/s/activity/omcs/nadya.jp", "contributor": "/s/contributor/omcs/nadyajp_guest_20"}], "surfaceEnd": "名前を書くこと", "surfaceStart": "テスト", "surfaceText": "あなたが[[テスト]]の際にすることの一つは[[名前を書くこと]]である.", "weight": 0.05}
/a/[/r/HasSubevent/,/c/ja/テスト/,/c/ja/名前を書くこと/] /r/HasSubevent /c/ja/テスト /c/ja/名前を書くこと {"dataset": "/d/conceptnet/4/ja", "license": "cc:by/4.0", "sources": [{"activity": "/s/activity/omcs/nadya.jp", "contributor": "/s/contributor/omcs/nadyajp_twitter_175685560"}], "surfaceEnd": "名前を書くこと", "surfaceStart": "テスト", "surfaceText": "あなたが[[テスト]]の際にすることの一つは[[名前を書くこと]]である.", "weight": 0.05}
/a/[/r/HasPrerequisite/,/c/ja/テスト/,/c/ja/勉強/] /r/HasPrerequisite /c/ja/テスト /c/ja/勉強 {"dataset": "/d/conceptnet/4/ja", "license": "cc:by/4.0", "sources": [{"activity": "/s/activity/omcs/nadya.jp", "contributor": "/s/contributor/omcs/nadyajp_twitter_235086139"}], "surfaceEnd": "勉強", "surfaceStart": "テスト", "surfaceText": "あなたが[[テスト]]のときに,それより先にすることは[[勉強]]である.", "weight": 0.05}
/a/[/r/HasPrerequisite/,/c/ja/テスト/,/c/ja/勉強/] /r/HasPrerequisite /c/ja/テスト /c/ja/勉強 {"dataset": "/d/conceptnet/4/ja", "license": "cc:by/4.0", "sources": [{"activity": "/s/activity/omcs/nadya.jp", "contributor": "/s/contributor/omcs/nadyajp_twitter_50251265"}], "surfaceEnd": "勉強", "surfaceStart": "テスト", "surfaceText": "あなたが[[テスト]]のときに,それより先にすることは[[勉強]]である.", "weight": 0.05}
/a/[/r/HasPrerequisite/,/c/ja/テスト/,/c/ja/勉強/] /r/HasPrerequisite /c/ja/テスト /c/ja/勉強 {"dataset": "/d/conceptnet/4/ja", "license": "cc:by/4.0", "sources": [{"activity": "/s/activity/omcs/nadya.jp", "contributor": "/s/contributor/omcs/nadyajp_twitter_235086139"}], "surfaceEnd": "勉強", "surfaceStart": "テスト", "surfaceText": "あなたが[[テスト]]のときに,それより先にすることは[[勉強]]である.", "weight": 0.05}
/a/[/r/HasPrerequisite/,/c/ja/テスト/,/c/ja/勉強/] /r/HasPrerequisite /c/ja/テスト /c/ja/勉強 {"dataset": "/d/conceptnet/4/ja", "license": "cc:by/4.0", "sources": [{"activity": "/s/activity/omcs/nadya.jp", "contributor": "/s/contributor/omcs/nadyajp_twitter_50251265"}], "surfaceEnd": "勉強", "surfaceStart": "テスト", "surfaceText": "あなたが[[テスト]]のときに,それより先にすることは[[勉強]]である.", "weight": 0.05}
/a/[/r/HasPrerequisite/,/c/ja/テスト/,/c/ja/勉強/] /r/HasPrerequisite /c/ja/テスト /c/ja/勉強 {"dataset": "/d/conceptnet/4/ja", "license": "cc:by/4.0", "sources": [{"activity": "/s/activity/omcs/nadya.jp", "contributor": "/s/contributor/omcs/nadyajp_twitter_235086139"}], "surfaceEnd": "勉強", "surfaceStart": "テスト", "surfaceText": "あなたが[[テスト]]のときに,それより先にすることは[[勉強]]である.", "weight": 0.05}
/a/[/r/HasPrerequisite/,/c/ja/テスト/,/c/ja/勉強/] /r/HasPrerequisite /c/ja/テスト /c/ja/勉強 {"dataset": "/d/conceptnet/4/ja", "license": "cc:by/4.0", "sources": [{"activity": "/s/activity/omcs/nadya.jp", "contributor": "/s/contributor/omcs/nadyajp_twitter_50251265"}], "surfaceEnd": "勉強", "surfaceStart": "テスト", "surfaceText": "あなたが[[テスト]]のときに,それより先にすることは[[勉強]]である.", "weight": 0.05}
......@@ -94,6 +94,7 @@ def test_lookup_neighbors():
weight=1.0)
expected_neighbors = [('/c/en/ski_jumping', 0.02),
('http://pl.dbpedia.org/resource/Skoki_narciarskie', 0.01),
('/c/de/skispringen', 0.01),
('/c/en/ski_jumping', 0.01),
('/c/en/ski_jumping', 0.005)]
eq_(expected_neighbors, neighbors)
......
{
"comment": "Hey, you've found the JSON-LD context for ConceptNet. This file defines everything that appears in ConceptNet API responses, mostly for the benefit of software that understands JSON-LD, but it may be reasonably human-readable too. See http://www.conceptnet.io for more information about ConceptNet, http://api.conceptnet.io/docs for the API documentation, or http://json-ld.org/ for an introduction to JSON-LD.",
"definitions": [
{
"comment": "This section defines the types and properties used in the ConceptNet API in terms of other things in RDF. A JSON-LD processor won't actually use this section; it only cares about the more specific things defined below in the '@context' section. But I hope it's a good formal description of what's going on in the ConceptNet API, and if you interpret _this_ part with JSON-LD, you'll get out a bunch of RDF facts that could be useful if there's some sort of big Semantic Web revival."
},
{
"@id": "#Node",
"@type": "rdfs:Datatype",
"subClassOf": "#Query",
"comment": "A node in ConceptNet typically represents a word or phrase of natural language. A node can be tagged with a word sense to narrow down its meaning, or it can be left ambiguous and represent all meanings of the word or phrase."
},
{
"@id": "#Relation",
"@type": "rdfs:Datatype",
"subClassOf": "#Query",
"comment": "One of a fixed vocabulary of relations, indicating how two nodes are related. Examples include '/r/UsedFor' and '/r/Synonym'."
},
{
"@id": "#Edge",
"@type": "rdfs:Datatype",
"subClassOf": "rdf:Statement",
"comment": "Each edge in ConceptNet represents a fact of general knowledge. The edge can also be interpreted as an RDF statement, with a subject, predicate, and object."
},
{
"@id": "#Feature",
"@type": "rdfs:Datatype",
"subClassOf": "rdf:Resource",
"comment": "A Feature is a pattern that edges can match, specifying the relation and _one_ node. That node can be the 'start', 'end', or simply the 'node' of a symmetric relation."
},
{
"@id": "#Query",
"@type": "rdfs:Datatype",
"subClassOf": "rdf:Resource",
"comment": "A Query is a set of results that you can look up in the API. Each Node represents a Query for what edges are connected to that node, but other queries are possible, such as all edges with a particular start node and relation."
},
{
"@id": "#Source",
"@type": "rdfs:Datatype",
"subClassOf": "rdf:Resource",
"comment": "A Source is a reason to believe an Edge. It helps us track the provenance of where the edge came from, and judge whether it should be considered reliable."
},
{
"@id": "#RelatedNode",
"@type": "rdfs:Datatype",
"comment": "A node that is related to a query. Contains the '@id' of the related node, and the 'weight' for how related it is."
},
{
"@id": "#edges",
"@type": "rdf:Property",
"domain": "#Edge",
"range": "#Relation",
"comment": "When you look up a node, its 'edges' property is a list of (some of) its incoming and outgoing edges. NOTE: Edge lists are paginated! By default you only get 20 edges, so you should follow the links in the 'pages:view' to get more."
},
{
"@id": "#rel",
"@type": "rdf:Property",
"subPropertyOf": "rdf:predicate",
"domain": ["#Edge", "#Feature"],
"range": "#Relation",
"comment": "Links to the kind of relationship that holds between two terms. In this API, the 'rel' will always be a ConceptNet URI beginning with /r/. In RDF, this would be called the 'predicate'."
},
{
"@id": "#start",
"@type": "rdf:Property",
"subPropertyOf": "rdf:subject",
"domain": ["#Edge", "#Feature"],
"range": "#Node",
"comment": "Links to the node that this edge points from. In RDF, this would be called the 'subject'."
},
{
"@id": "#end",
"@type": "rdf:Property",
"subPropertyOf": "rdf:object",
"domain": ["#Edge", "#Feature"],
"range": "#Node",
"comment": "Links to the node that this edge points to. In RDF, this would be called the 'object'."
},
{
"@id": "#symmetric",
"@type": "rdf:Property",
"domain": ["#Edge", "#Relation"],
"range": "xsd:boolean",
"comment": "A relation or edge can be 'symmetric'. When this boolean value is true, it indicates that it doesn't matter which node is the 'start' or 'end'."
},
{
"@id": "#weight",
"@type": "rdf:Property",
"domain": ["#Edge", "#RelatedNode"],
"range": "xsd:float",
"comment": "A numerical value indicating how strongly one should believe the statement this edge makes. Weights are set in an ad-hoc way by the modules that import data into ConceptNet. Weights also appear on RelatedNodes, indicating how related that node is to the query, on a scale from -1 to 1."
},
{
"@id": "#value",
"@type": "rdf:Property",
"domain": "#Query",
"range": "xsd:float",
"comment": "A value indicating the result of a numerical query, such as the /relatedness query for how related two nodes are."
},
{
"@id": "#node",
"@type": "rdf:Property",
"domain": ["#Edge", "#Feature"],
"range": "#Node",
"comment": "Sometimes we want to specify that a ConceptNet edge either starts or ends at a certain node, but it doesn't matter which. This is the case for symmetric relations, such as /r/Synonym. In those cases, we can refer to either node with the 'node' property. Not to be confused with 'cn:Node', which is a data type."
},