Code Monkey home page Code Monkey logo

cowl's People

Contributors

ivanobilenchi avatar piercelbrooks avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cowl's Issues

compilation problem

I get the following compilation error:

Scanning dependencies of target cowl-shared
[ 0%] Building C object CMakeFiles/cowl-shared.dir/src/io/parser/cowl_parser.c.o
In file included from /home/xxx/workspace/cowl/src/io/parser/cowl_parser.c:13:0:
/home/xxx/workspace/cowl/src/io/parser/cowl_parser.c: In function β€˜cowl_parser_parse_ontology’:
/home/xxx/workspace/cowl/build/flex_bison/cowl_functional_lexer.h:114:17: error: expected β€˜=’, β€˜,’, β€˜;’, β€˜asm’ or β€˜attribute’ before β€˜->’ token
#define yyin yyg->yyin_r

Create List of Projects Using Cowl

Hello Ivano,

I hope this message reaches you well, my friend! :-)

As previously promised, we are very pleased to announce the release of the Perl Cowl API v1.0.0, codename "Plain Cheese" pizza!

https://metacpan.org/pod/RDF::Cowl

In addition, we have also released the Alien::Cowl helper library, which allows Perl to build and/or load Cowl's C code:

https://metacpan.org/pod/Alien::Cowl

Our basic website for Perl Cowl is now online:

https://perlcommunity.org/ai/#cowl

Will you please create an official list of projects using Cowl, including our new Perl Cowl API, to be included somewhere prominent on the Cowl website?

https://swot.sisinflab.poliba.it/cowl/

Thank you sir!
~ Will

RDF/XML parser

As indicated in the OWL 2 conformance document, RDF/XML support is mandatory, so this needs to be addressed eventually.

The obvious solution would be integrating the raptor parser from Redland, though serd also looks very promising and is probably more aligned with Cowl's focus on embedded devices.

Either way, RDF/XML support would:

  • Introduce an external dependency.
  • Make the library bigger.

Both of which are not particularly appealing. A solution would be letting users select the parser(s) they want at compile time, which would solve the second issue and partially mitigate the first one.

Need Documentation, cowl_ontology_add_axiom() & cowl_manager_write_path()

In the new code example file, I found two new C functions used for editing and writing ontologies.
https://github.com/sisinflab-swot/cowl/blob/master/examples/04_editing.c

On the Cowl website, I have used the "Search docs" feature to look up these two new functions, but both return empty results:
Your search did not match any documents. Please make sure that all words are spelled correctly and that you've selected enough categories.

http://swot.sisinflab.poliba.it/cowl/search.html?q=cowl_ontology_add_axiom

http://swot.sisinflab.poliba.it/cowl/search.html?q=cowl_manager_write_path

Are these two new functions documented anywhere, or do we need to add documentation to cover them?

Compile Warning

Hello, When I Compile COWL used in my project

Warning Information Flowing:

In file included from src/cowl/src/cowl_axiom_private.h:17:0,
from src/cowl/src/cowl_annot_assert_axiom_private.h:15,
from src/cowl/src/include/cowl_private.h:15,
from build/release64/src/cowl/src/cowl_logger.c:12:
build/release64/src/cowl/src/cowl_logger.c: In function 'cowl_logger_release':
src/cowl/src/cowl_object_private.h:40:60: warning: right-hand operand of comma expression has no effect [-Wunused-value]
(cowl_object_flags_decr_ref(((CowlObject *)(o))->flags), cowl_object_get_ref(o))
^
build/release64/src/cowl/src/cowl_logger.c:201:9: note: in expansion of macro 'cowl_object_decr_ref'
cowl_object_decr_ref(logger);
^

Serialization to OWL File(s)

@IvanoBilenchi Thanks for your work on Cowl so far! :-)

On the Cowl website, your documentation states:
"Furthermore, it does not yet provide ontology editing and serialization capabilities. We plan to address these shortcomings soon."
http://swot.sisinflab.poliba.it/cowl/about/index.html#limitations

I am interested in using Cowl, however I do need serialization (and eventually ontology editing) capabilities. What is the plan for adding the ability to serialize and write the output to an OWL file?

MacOS M1 (ARM64): Cannot properly consume and link precompiled static COWL library in downstream CMake build system pipeline

If on an ARM64 MacOS machine I compile the COWL library with CMake using either the "Xcode" or "Unix Makefiles" generators and then attempt to link another project against it, then certain symbol references cannot be resolved for the build to complete successfully.

Here is a log sample:

remark: can't link or copy from cached entry '' to '/Users/pbrooks/Development/Personal/ldj54/Project/build/targets/ldj54/debug/build/build/ldj54.build/Debug/Objects-normal/arm64/ldj54_lto.o/10.arm64.thinlto.o'
remark: can't link or copy from cached entry '' to '/Users/pbrooks/Development/Personal/ldj54/Project/build/targets/ldj54/debug/build/build/ldj54.build/Debug/Objects-normal/arm64/ldj54_lto.o/32.arm64.thinlto.o'
remark: can't link or copy from cached entry '' to '/Users/pbrooks/Development/Personal/ldj54/Project/build/targets/ldj54/debug/build/build/ldj54.build/Debug/Objects-normal/arm64/ldj54_lto.o/13.arm64.thinlto.o'
remark: can't link or copy from cached entry '' to '/Users/pbrooks/Development/Personal/ldj54/Project/build/targets/ldj54/debug/build/build/ldj54.build/Debug/Objects-normal/arm64/ldj54_lto.o/30.arm64.thinlto.o'
remark: can't link or copy from cached entry '' to '/Users/pbrooks/Development/Personal/ldj54/Project/build/targets/ldj54/debug/build/build/ldj54.build/Debug/Objects-normal/arm64/ldj54_lto.o/29.arm64.thinlto.o'
remark: can't link or copy from cached entry '' to '/Users/pbrooks/Development/Personal/ldj54/Project/build/targets/ldj54/debug/build/build/ldj54.build/Debug/Objects-normal/arm64/ldj54_lto.o/27.arm64.thinlto.o'
remark: can't link or copy from cached entry '' to '/Users/pbrooks/Development/Personal/ldj54/Project/build/targets/ldj54/debug/build/build/ldj54.build/Debug/Objects-normal/arm64/ldj54_lto.o/16.arm64.thinlto.o'
remark: can't link or copy from cached entry '' to '/Users/pbrooks/Development/Personal/ldj54/Project/build/targets/ldj54/debug/build/build/ldj54.build/Debug/Objects-normal/arm64/ldj54_lto.o/0.arm64.thinlto.o'
remark: can't link or copy from cached entry '' to '/Users/pbrooks/Development/Personal/ldj54/Project/build/targets/ldj54/debug/build/build/ldj54.build/Debug/Objects-normal/arm64/ldj54_lto.o/19.arm64.thinlto.o'
remark: can't link or copy from cached entry '' to '/Users/pbrooks/Development/Personal/ldj54/Project/build/targets/ldj54/debug/build/build/ldj54.build/Debug/Objects-normal/arm64/ldj54_lto.o/17.arm64.thinlto.o'
remark: can't link or copy from cached entry '' to '/Users/pbrooks/Development/Personal/ldj54/Project/build/targets/ldj54/debug/build/build/ldj54.build/Debug/Objects-normal/arm64/ldj54_lto.o/28.arm64.thinlto.o'
remark: can't link or copy from cached entry '' to '/Users/pbrooks/Development/Personal/ldj54/Project/build/targets/ldj54/debug/build/build/ldj54.build/Debug/Objects-normal/arm64/ldj54_lto.o/20.arm64.thinlto.o'
remark: can't link or copy from cached entry '' to '/Users/pbrooks/Development/Personal/ldj54/Project/build/targets/ldj54/debug/build/build/ldj54.build/Debug/Objects-normal/arm64/ldj54_lto.o/12.arm64.thinlto.o'
remark: can't link or copy from cached entry '' to '/Users/pbrooks/Development/Personal/ldj54/Project/build/targets/ldj54/debug/build/build/ldj54.build/Debug/Objects-normal/arm64/ldj54_lto.o/25.arm64.thinlto.o'
remark: can't link or copy from cached entry '' to '/Users/pbrooks/Development/Personal/ldj54/Project/build/targets/ldj54/debug/build/build/ldj54.build/Debug/Objects-normal/arm64/ldj54_lto.o/8.arm64.thinlto.o'
remark: can't link or copy from cached entry '' to '/Users/pbrooks/Development/Personal/ldj54/Project/build/targets/ldj54/debug/build/build/ldj54.build/Debug/Objects-normal/arm64/ldj54_lto.o/9.arm64.thinlto.o'
remark: can't link or copy from cached entry '' to '/Users/pbrooks/Development/Personal/ldj54/Project/build/targets/ldj54/debug/build/build/ldj54.build/Debug/Objects-normal/arm64/ldj54_lto.o/2.arm64.thinlto.o'
remark: can't link or copy from cached entry '' to '/Users/pbrooks/Development/Personal/ldj54/Project/build/targets/ldj54/debug/build/build/ldj54.build/Debug/Objects-normal/arm64/ldj54_lto.o/14.arm64.thinlto.o'
remark: can't link or copy from cached entry '' to '/Users/pbrooks/Development/Personal/ldj54/Project/build/targets/ldj54/debug/build/build/ldj54.build/Debug/Objects-normal/arm64/ldj54_lto.o/5.arm64.thinlto.o'
remark: can't link or copy from cached entry '' to '/Users/pbrooks/Development/Personal/ldj54/Project/build/targets/ldj54/debug/build/build/ldj54.build/Debug/Objects-normal/arm64/ldj54_lto.o/34.arm64.thinlto.o'
remark: can't link or copy from cached entry '' to '/Users/pbrooks/Development/Personal/ldj54/Project/build/targets/ldj54/debug/build/build/ldj54.build/Debug/Objects-normal/arm64/ldj54_lto.o/3.arm64.thinlto.o'
remark: can't link or copy from cached entry '' to '/Users/pbrooks/Development/Personal/ldj54/Project/build/targets/ldj54/debug/build/build/ldj54.build/Debug/Objects-normal/arm64/ldj54_lto.o/22.arm64.thinlto.o'
remark: can't link or copy from cached entry '' to '/Users/pbrooks/Development/Personal/ldj54/Project/build/targets/ldj54/debug/build/build/ldj54.build/Debug/Objects-normal/arm64/ldj54_lto.o/23.arm64.thinlto.o'
remark: can't link or copy from cached entry '' to '/Users/pbrooks/Development/Personal/ldj54/Project/build/targets/ldj54/debug/build/build/ldj54.build/Debug/Objects-normal/arm64/ldj54_lto.o/15.arm64.thinlto.o'
remark: can't link or copy from cached entry '' to '/Users/pbrooks/Development/Personal/ldj54/Project/build/targets/ldj54/debug/build/build/ldj54.build/Debug/Objects-normal/arm64/ldj54_lto.o/6.arm64.thinlto.o'
remark: can't link or copy from cached entry '' to '/Users/pbrooks/Development/Personal/ldj54/Project/build/targets/ldj54/debug/build/build/ldj54.build/Debug/Objects-normal/arm64/ldj54_lto.o/26.arm64.thinlto.o'
remark: can't link or copy from cached entry '' to '/Users/pbrooks/Development/Personal/ldj54/Project/build/targets/ldj54/debug/build/build/ldj54.build/Debug/Objects-normal/arm64/ldj54_lto.o/33.arm64.thinlto.o'
remark: can't link or copy from cached entry '' to '/Users/pbrooks/Development/Personal/ldj54/Project/build/targets/ldj54/debug/build/build/ldj54.build/Debug/Objects-normal/arm64/ldj54_lto.o/11.arm64.thinlto.o'
remark: can't link or copy from cached entry '' to '/Users/pbrooks/Development/Personal/ldj54/Project/build/targets/ldj54/debug/build/build/ldj54.build/Debug/Objects-normal/arm64/ldj54_lto.o/7.arm64.thinlto.o'
remark: can't link or copy from cached entry '' to '/Users/pbrooks/Development/Personal/ldj54/Project/build/targets/ldj54/debug/build/build/ldj54.build/Debug/Objects-normal/arm64/ldj54_lto.o/24.arm64.thinlto.o'
remark: can't link or copy from cached entry '' to '/Users/pbrooks/Development/Personal/ldj54/Project/build/targets/ldj54/debug/build/build/ldj54.build/Debug/Objects-normal/arm64/ldj54_lto.o/4.arm64.thinlto.o'
remark: can't link or copy from cached entry '' to '/Users/pbrooks/Development/Personal/ldj54/Project/build/targets/ldj54/debug/build/build/ldj54.build/Debug/Objects-normal/arm64/ldj54_lto.o/18.arm64.thinlto.o'
remark: can't link or copy from cached entry '' to '/Users/pbrooks/Development/Personal/ldj54/Project/build/targets/ldj54/debug/build/build/ldj54.build/Debug/Objects-normal/arm64/ldj54_lto.o/31.arm64.thinlto.o'
remark: can't link or copy from cached entry '' to '/Users/pbrooks/Development/Personal/ldj54/Project/build/targets/ldj54/debug/build/build/ldj54.build/Debug/Objects-normal/arm64/ldj54_lto.o/21.arm64.thinlto.o'
remark: can't link or copy from cached entry '' to '/Users/pbrooks/Development/Personal/ldj54/Project/build/targets/ldj54/debug/build/build/ldj54.build/Debug/Objects-normal/arm64/ldj54_lto.o/1.arm64.thinlto.o'
undef: _uistream_deinit
undef: _uistream_from_path
undef: _uistream_read
undef: _uostream_deinit
undef: _uostream_std
undef: _uostream_to_strbuf
undef: _uostream_write
undef: _uostream_write_string
undef: _uostream_writef
undef: _urand_set_seed
undef: _ustrbuf_to_ustring
undef: _ustring
undef: _ustring_concat
undef: _ustring_deinit
undef: _ustring_dup
undef: _ustring_empty
undef: _ustring_equals
undef: _ustring_hash
undef: _ustring_index_of
undef: _ustring_index_of_last
undef: _ustring_to_lower
undef: _ustring_wrap
undef: _utime_get_ns
undef: _uvec_set_range_char
Undefined symbols for architecture arm64:
"_uistream_deinit", referenced from:
_cowl_manager_read_stream_deinit in 13.arm64.thinlto.o
"_uistream_from_path", referenced from:
_cowl_manager_read_path in 13.arm64.thinlto.o
"_uistream_read", referenced from:
_yy_get_next_buffer in 0.arm64.thinlto.o
"_uostream_deinit", referenced from:
_cowl_to_string_impl in 16.arm64.thinlto.o
"_uostream_std", referenced from:
_main in main.o
"_uostream_to_strbuf", referenced from:
_cowl_to_string_impl in 16.arm64.thinlto.o
"_uostream_write", referenced from:
forEachClass(void*, void*) in main.o
_cowl_write_debug in 30.arm64.thinlto.o
_cowl_write_object_type in 30.arm64.thinlto.o
_cowl_write_uint in 30.arm64.thinlto.o
_cowl_func_write_axiom in 34.arm64.thinlto.o
_cowl_func_write_onto_header in 34.arm64.thinlto.o
_axiom_writer in 34.arm64.thinlto.o
...
"_uostream_write_string", referenced from:
_cowl_write_string in 30.arm64.thinlto.o
"_uostream_writef", referenced from:
_cowl_write_debug in 30.arm64.thinlto.o
"_urand_set_seed", referenced from:
_cowl_config_init in 3.arm64.thinlto.o
"_ustrbuf_to_ustring", referenced from:
_cowl_iri in 9.arm64.thinlto.o
_cowl_to_string_impl in 16.arm64.thinlto.o
"_ustring", referenced from:
_parse_lang in 12.arm64.thinlto.o
(maybe you meant: _cowl_ret_to_ustring)
"_ustring_concat", referenced from:
_cowl_handle_path_error in 8.arm64.thinlto.o
_cowl_func_yyparse in 1.arm64.thinlto.o
"_ustring_deinit", referenced from:
_cowl_handle_path_error in 8.arm64.thinlto.o
_cowl_string_opt in 25.arm64.thinlto.o
_cowl_string_free in 25.arm64.thinlto.o
_cowl_func_yyparse in 1.arm64.thinlto.o
_cowl_string_get in 25.arm64.thinlto.o
_cowl_string_get_intern in 25.arm64.thinlto.o
"_ustring_dup", referenced from:
_cowl_string_copy in 25.arm64.thinlto.o
_cowl_string_get in 25.arm64.thinlto.o
"_ustring_empty", referenced from:
_cowl_handle_error_code in 8.arm64.thinlto.o
"_ustring_equals", referenced from:
_cowl_string_equals in 25.arm64.thinlto.o
"_ustring_hash", referenced from:
_cowl_string_init in 25.arm64.thinlto.o
"_ustring_index_of", referenced from:
_cowl_sym_table_parse_full_iri in 27.arm64.thinlto.o
"_ustring_index_of_last", referenced from:
_parse_lang in 12.arm64.thinlto.o
"_ustring_to_lower", referenced from:
_internalize_lang in 12.arm64.thinlto.o
"_ustring_wrap", referenced from:
_main in main.o
_cowl_iri in 9.arm64.thinlto.o
_cowl_manager_read_path in 13.arm64.thinlto.o
_cowl_handle_path_error in 8.arm64.thinlto.o
_cowl_owl_vocab_init in 20.arm64.thinlto.o
_cowl_rdf_vocab_init in 22.arm64.thinlto.o
_cowl_rdfs_vocab_init in 23.arm64.thinlto.o
...
"_utime_get_ns", referenced from:
_cowl_config_init in 3.arm64.thinlto.o
"_uvec_set_range_char", referenced from:
_uvec_append_array_char in 9.arm64.thinlto.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.