Module talk:PropertyPath/testcases

There are no discussions on this page.

2 tests failed.

test_parser
Text Expected Actual
YesY Parser Property by Pid (elem) Parser «P31» operator {property="P31"} {property="P31"}
YesY Parser Property by Pid (full) Parser «P31» operator {property="P31"} {property="P31"}
YesY Parser Property by Pid with trailing spaces Parser «P31 » operator {property="P31"} {property="P31"}
YesY Parser Property by name (pathElt) Parser «instance of» operator {property="P31"} {property="P31"}
YesY Parser Property qualif (pathElt) Parser «P31>P279» operator {qualifier={pseudopnode={property="P279"}},property={property="P31"}} {qualifier={pseudopnode={property="P279"}},property={property="P31"}}
YesY Parser Property qualif Parser «P31>P279» operator {qualifier={pseudopnode={property="P279"}},property={property="P31"}} {qualifier={pseudopnode={property="P279"}},property={property="P31"}}
YesY Parser alternative qualifier (Elt) Parser «P31>(P279!P31)» operator nil {qualifier={pseudopnode={nodes={{node={property="P279"}},{node={property="P31"}}}}},property={property="P31"}}
YesY Parser « a » operator with leading and trailing spaces Parser «  a » operator {nodes={{property="P31"},{node={property="P279"}}}} nil
YesY Parser « a » operator with trailing space Parser «a » operator {nodes={{property="P31"},{node={property="P279"}}}} {nodes={{property="P31"},{node={property="P279"}}}}
YesY Parser «P31/(P279*)» operator {nodes={{property="P31"},{node={property="P279"}}}} {nodes={{property="P31"},{node={property="P279"}}}}
YesY Parser «P31/P279*» operator {nodes={{property="P31"},{node={property="P279"}}}} {nodes={{property="P31"},{node={property="P279"}}}}
YesY iterated part of Parser «part of*» operator {node={property="P361"}} {node={property="P361"}}
YesY 4 part of Parser «part of/part of/part of/part of» operator {nodes={{property="P361"},{property="P361"},{property="P361"},{property="P361"}}} {nodes={{property="P361"},{property="P361"},{property="P361"},{property="P361"}}}
test_query
Text Expected Actual
YesY Alberich of Reims (Q4328) instance of person«P31» {"Q5"} {"Q5"}
YesY person replaced by Alberich of Reims (Q4328)«P39>P1365» {"Q58684914","Q58685920"} {"Q58684914","Q58685920"}


2 tests failed.

test_parser
Text Expected Actual
YesY Parser Property by Pid (elem) Parser «P31» operator {property="P31"} {property="P31"}
YesY Parser Property by Pid (full) Parser «P31» operator {property="P31"} {property="P31"}
YesY Parser Property by Pid with trailing spaces Parser «P31 » operator {property="P31"} {property="P31"}
YesY Parser Property by name (pathElt) Parser «instance of» operator {property="P31"} {property="P31"}
YesY Parser Property qualif (pathElt) Parser «P31>P279» operator {qualifier={pseudopnode={property="P279"}},property={property="P31"}} {qualifier={pseudopnode={property="P279"}},property={property="P31"}}
YesY Parser Property qualif Parser «P31>P279» operator {qualifier={pseudopnode={property="P279"}},property={property="P31"}} {qualifier={pseudopnode={property="P279"}},property={property="P31"}}
YesY Parser alternative qualifier (Elt) Parser «P31>(P279!P31)» operator nil {qualifier={pseudopnode={nodes={{node={property="P279"}},{node={property="P31"}}}}},property={property="P31"}}
YesY Parser « a » operator with leading and trailing spaces Parser «  a » operator {nodes={{property="P31"},{node={property="P279"}}}} nil
YesY Parser « a » operator with trailing space Parser «a » operator {nodes={{property="P31"},{node={property="P279"}}}} {nodes={{property="P31"},{node={property="P279"}}}}
YesY Parser «P31/(P279*)» operator {nodes={{property="P31"},{node={property="P279"}}}} {nodes={{property="P31"},{node={property="P279"}}}}
YesY Parser «P31/P279*» operator {nodes={{property="P31"},{node={property="P279"}}}} {nodes={{property="P31"},{node={property="P279"}}}}
YesY iterated part of Parser «part of*» operator {node={property="P361"}} {node={property="P361"}}
YesY 4 part of Parser «part of/part of/part of/part of» operator {nodes={{property="P361"},{property="P361"},{property="P361"},{property="P361"}}} {nodes={{property="P361"},{property="P361"},{property="P361"},{property="P361"}}}
test_query
Text Expected Actual
YesY Alberich of Reims (Q4328) instance of person«P31» {"Q5"} {"Q5"}
YesY person replaced by Alberich of Reims (Q4328)«P39>P1365» {"Q58684914","Q58685920"} {"Q58684914","Q58685920"}

2 tests failed.

test_parser
Text Expected Actual
YesY Parser Property by Pid (elem) Parser «P31» operator {property="P31"} {property="P31"}
YesY Parser Property by Pid (full) Parser «P31» operator {property="P31"} {property="P31"}
YesY Parser Property by Pid with trailing spaces Parser «P31 » operator {property="P31"} {property="P31"}
YesY Parser Property by name (pathElt) Parser «instance of» operator {property="P31"} {property="P31"}
YesY Parser Property qualif (pathElt) Parser «P31>P279» operator {qualifier={pseudopnode={property="P279"}},property={property="P31"}} {qualifier={pseudopnode={property="P279"}},property={property="P31"}}
YesY Parser Property qualif Parser «P31>P279» operator {qualifier={pseudopnode={property="P279"}},property={property="P31"}} {qualifier={pseudopnode={property="P279"}},property={property="P31"}}
YesY Parser alternative qualifier (Elt) Parser «P31>(P279!P31)» operator nil {qualifier={pseudopnode={nodes={{node={property="P279"}},{node={property="P31"}}}}},property={property="P31"}}
YesY Parser « a » operator with leading and trailing spaces Parser «  a » operator {nodes={{property="P31"},{node={property="P279"}}}} nil
YesY Parser « a » operator with trailing space Parser «a » operator {nodes={{property="P31"},{node={property="P279"}}}} {nodes={{property="P31"},{node={property="P279"}}}}
YesY Parser «P31/(P279*)» operator {nodes={{property="P31"},{node={property="P279"}}}} {nodes={{property="P31"},{node={property="P279"}}}}
YesY Parser «P31/P279*» operator {nodes={{property="P31"},{node={property="P279"}}}} {nodes={{property="P31"},{node={property="P279"}}}}
YesY iterated part of Parser «part of*» operator {node={property="P361"}} {node={property="P361"}}
YesY 4 part of Parser «part of/part of/part of/part of» operator {nodes={{property="P361"},{property="P361"},{property="P361"},{property="P361"}}} {nodes={{property="P361"},{property="P361"},{property="P361"},{property="P361"}}}
test_query
Text Expected Actual
YesY Alberich of Reims (Q4328) instance of person«P31» {"Q5"} {"Q5"}
YesY person replaced by Alberich of Reims (Q4328)«P39>P1365» {"Q58684914","Q58685920"} {"Q58684914","Q58685920"}
Return to "PropertyPath/testcases" page.