hylar/core/ParsingInterface.js
function(t, explicit, notUsingValid) {
        if(explicit === undefined) {
            explicit = true;
        }
        return new Fact(t.predicate.toString(), t.subject.toString(), t.object.toString()/*.format()*/, [], explicit, [], [], notUsingValid, t.toString())
    }
function(t, explicit, notUsingValid) {
        if(explicit === undefined) {
            explicit = true;
        }
        return new Fact(t.predicate.toString(), t.subject.toString(), t.object.toString()/*.format()*/, [], explicit, [], [], notUsingValid, t.toString())
    }
function ( t , explicit , notUsingValid ) { if ( explicit === undefined ) { explicit = true ; } return new Fact ( t . predicate . toString ( ) , t . subject . toString ( ) , t . object . toString ( ) /*.format()*/ , [ ] , explicit , [ ] , [ ] , notUsingValid , t . toString ( ) ) }
Transforms a triple into a fact.
@param t The triple
@param explicit True if the resulting fact is explicit, false otherwise (default: true)
@returns Object resulting fact
Transforms a triple into a fact .