We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我在扩展schema时,有遇到propertyRange为多个值的情况,从 https://docs.google.com/spreadsheets/d/1wAM3zoyjFmo0O92-okLHLMXwKNvx_GCWV2eu_AeX3VY/edit#gid=1085464633 这里我发现多个值可以用逗号分隔: Product,Specialty 我也用同样的方式进行: ObservableProcedure,Procedure 但是报错了,完整报错信息: 请问应该怎么解决呢?
Traceback (most recent call last): File "cns/cns_io.py", line 262, in main_subtask(name, optional_params=optional_params) File "C:\Users\hellojet\Documents\GitHub\kgtool\kgtool\core.py", line 67, in main_subtask the_method(args=vars(args)) File "cns/cns_io.py", line 222, in task_excel2jsonld output_json = excel2schema(schema_excel_filename, None, options, args.get('schema_dir')) File "cns/cns_io.py", line 73, in excel2schema return table2schema(schema_excel_json, schema_urlprefix, options, schema_dir) File "cns/cns_io.py", line 98, in table2schema temp = mem4export(converter.schema, options) File "cns/cns_io.py", line 170, in mem4export dot_file_map = run_graphviz(the_schema, graph_name) File "C:\Users\hellojet\Documents\GitHub\kgtool\kgtool\cns_graphviz.py", line 376, in run_graphviz _graph_update(loaded_schema, loaded_schema, graph) File "C:\Users\hellojet\Documents\GitHub\kgtool\kgtool\cns_graphviz.py", line 344, in _graph_update _add_template_domain_range(loaded_schema, template, graph, map_link_in_out) File "C:\Users\hellojet\Documents\GitHub\kgtool\kgtool\cns_graphviz.py", line 155, in _add_template_domain_range assert range_class, template AssertionError: {'@id': 'http://meta.cnschema.org/template/Disorder_RelevantExamination', '@type': ['CnsTemplate', 'CnsMeta'], 'name': 'Disorder_RelevantExamination', 'version': 'v0.1', 'minCardinality': 0, 'refClass': 'Disorder', 'refProperty': 'RelevantExamination', 'propertyRange': 'ObservableProcedure,Procedure', 'propertyNameZh': '相关检查'}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
我在扩展schema时,有遇到propertyRange为多个值的情况,从
https://docs.google.com/spreadsheets/d/1wAM3zoyjFmo0O92-okLHLMXwKNvx_GCWV2eu_AeX3VY/edit#gid=1085464633
这里我发现多个值可以用逗号分隔:
Product,Specialty
我也用同样的方式进行:
ObservableProcedure,Procedure
但是报错了,完整报错信息:
请问应该怎么解决呢?
The text was updated successfully, but these errors were encountered: