DaniFdezAlvarez / shexer

Apache License 2.0
26 stars 2 forks source link

Triple frequencies in addition to ratios. #126

Closed yayamamo closed 1 year ago

yayamamo commented 1 year ago

sheXer reports the ratio of triples matching an extracted constraint as a ShEx comment as follows.

   rdf:type  [sbo:Organ]  ?;
            # 41.02564102564102 % obj: sbo:Organ. Cardinality: {1}

It would be nicer if it could report the real number of triples that match.

DaniFdezAlvarez commented 1 year ago

It seems perfectly feasible. I'll include this as soon as I can work on sheXer again