Skip to content

Converts MathML query expressions to equivalent XQuery statements.

License

Notifications You must be signed in to change notification settings

javaUsers/MathMLQueryGenerator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MathML Query Generator

Build Status MavenCentral Coverage Status

Converts individual content MathML elements to equivalent XQuery statements in DB2 dialect.

The content MathML elements may be given as

  1. MathWebSearch expressions,
  2. annotation-xml elements with the attribute encoding="MathML-Content",
  3. semantic elements, or
  4. MathML tags that contain content MathML only

Details

If a document contains multiple elements, only the first MathWebSearch expression is processed.

If no MathWebSearch element is available, the first annotation-xml element will be used.

If no annotation-xml Math element is available, the first semantic element will be used.

...

qvar

Both qvar formats <qvar xmlns="http://search.mathweb.org/ns" />x</qvar> and <qvar xmlns="http://search.mathweb.org/ns" name="x" /> are supported.

Ntcir Topics

The NtcirTopicReader class supports parsing of queries specified in the NTCIR topic format http://ntcir-math.nii.ac.jp/wp-content/blogs.dir/13/files/2014/05/NTCIR11-Math-topics.pdf . The expected input is a DOMDocuement and the result is a List of NtcirPattern instances that include the XQuery expressions.

About

Converts MathML query expressions to equivalent XQuery statements.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 80.4%
  • XQuery 19.6%