query language
add query api