This is a nice update as far as simplified documentation and install goes.
One thing I'm not sure about, though, is that one of my toy examples that worked with previous versions of FuXi and works with the rdflib-4+ port on GitHub no longer produces any output with v1.4.1. Has anything changed that would prevent the following invocation from working as expected? I don't see anything in --help that suggests I'd now need an additional parameter to capture my output by perhaps I'm overlooking something.
FuXi --rules=chuck-norris.n3 --ruleFacts
My sample file, chuck-norris.n3
####################################################
#Assign a namespace for logic predicates
@prefix log: <
http://www.w3.org/2000/10/swap/log#> .
#Assign a namespace for the vocabulary defined in this document
@prefix : <MiningTheSocialWeb#> .
#Socrates is a man
:Socrates a :Man.
@forAll :x .
#All men are mortal: Man(x) => Mortal(x)
{ :x a :Man } log:implies { :x a :Mortal } .
#Only gods live at Mt Olympus: Lives(x, MtOlympus) <=> God(x)
{ :x :lives :MtOlympus } log:implies { :x a :god } .
{ :x a :god } log:implies { :x :lives :MtOlympus } .
#All mortals drink whisky: Mortal(x) => Drinks(x, whisky)
{ :x a :Man } log:implies { :x :drinks :whisky } .
#Chuck Norris lives at Mt Olympus: Lives(ChuckNorris, MtOlympus)
:ChuckNorris :lives :MtOlympus .
####################################################
Previously, I'd get output similar to the following:
'Parsing RDF facts from ', 'chuck-norris.n3')
('Time to calculate closure on working memory: ', '1.70803070068 milli seconds')
<Network: 3 rules, 6 nodes, 3 tokens in working memory, 3 inferred tokens>
@prefix : <file:///Users/matthew/business-and-consulting/Mining-the-Social-Web/git/mtsw2e-github/ipynb/resources/ch08-semanticweb/MiningTheSocialWeb#> .
@prefix iw: <
http://inferenceweb.stanford.edu/2004/07/iw.owl#> .
@prefix log: <
http://www.w3.org/2000/10/swap/log#> .
@prefix rdf: <
http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <
http://www.w3.org/2000/01/rdf-schema#> .
@prefix skolem: <
http://code.google.com/p/python-dlp/wiki/SkolemTerm#> .
@prefix xml: <
http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <
http://www.w3.org/2001/XMLSchema#> .
:ChuckNorris a :god .
:Socrates a :Mortal ;
:drinks :whisky .
With v1.4.1, I only get "Parsing RDF facts from chuck-norris.n3" with no additional output. This is all installed into a clean virtualenv using Python 2.7 and pip 1.2.1 in case that's helpful.
> --
> You received this message because you are subscribed to the Google Groups "fuxi-discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
fuxi-discussi...@googlegroups.com.
> To post to this group, send email to
fuxi-di...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/fuxi-discussion?hl=en.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>