Wikipedia, WordNet and GeoNames, representing
nearly 0.5 billion facts. Reification is achieved by tag-
ging each triple with an identifier. However, this is
hidden from the user who views the knowledge base
as a set of “SPOTL” quintuples, where T is for time
and L for location. The SPOTLX query language is
used to access YAGO2. SPOTLX can handle queries
with prepositional aspects involving time and loca-
tion. However, no mention is made of chained com-
plex PPs.
Alexandria (Wendt et al., 2012) is an event-based
triplestore, with 160 million triples (representing 13
million n-ary relationships), derived from FreeBase.
Alexandria uses a neo-Davidsonian (Parsons, 1990)
event-based semantics. In Alexandria, queries are
parsed to a syntactic dependency graph, mapped to
a semantic description, and translated to SPARQL
queries containing named graphs. Queries with sim-
ple PPs are accommodated. However, no mention is
made of negation, nested quantification, or chained
complex PPs.
The systems referred to above have made sub-
stantial progress in handling ambiguity and match-
ing NL query words to URIs. However, they ap-
pear to have hit a roadblock with respect to natural-
language coverage. Most can handle simple PPs such
as in “who was born in 1918” but none can handle
chained complex PPs, containing quantifiers, such as
“in us naval observatory in 1877 or 1860”.
Blackburn and Bos (Blackburn and Bos, 2005)
implemented lambda calculus with respect to natural
language, in Prolog, and (Van Eijck and Unger, 2010)
have extensively discussed such implementation in
Haskell. Implementation of the lambda calculus for
open-domain question answering has been investi-
gated by (Ahn et al., 2005). The SQUALL query lan-
guage (Ferre, 2012; Ferr
´
e, 2013) is a controlled natu-
ral language (CNL) for querying and updating triple-
stores represented as RDF graphs. SQUALL can re-
turn answers directly from remote triplestores, as we
do, using simple SPARQL-endpoint triple retrieval
commands. It can also be translated to SPARQL
queries which can be processed by SPARQL end-
points for faster computation of answers. SQUALL
can handle quantification, aggregation, some forms of
negation, and chained complex prepositional phrases.
It is also written in a functional language. However,
some queries in SQUALL require the use of variables
and low-level relational algebraic operators (see for
example, the queries on page 118 of (Ferr
´
e, 2013)).
10 CONCLUDING COMMENTS
We are confident that, after we accommodate nega-
tion, our compositional semantics is appropriate for
most queries that are likely to be asked of data stores
containing everyday knowledge. The FDBR datas-
tructure presented in this paper can be used to handle
many kinds of complex language features, including
chained prepositional phrases and superlatives. The
way quantification is handled within the semantics is
consistent with other work in this area, as discussed
in Section 6. The approach chosen is flexible enough
that it can accommodate queries to both relational and
non-relational types of databases, including Semantic
Web triplestores. It is also suitable for use on low
power devices, which may be useful for applications
on the Internet of Things (IoT).
In the future, we plan to scale up the capability of
our NLQI further to access massive data stores such
as DBpedia. To achieve this goal, we plan to accel-
erate the FDBR generation process using specialized
acceleration hardware, such as FPGAs and GPUs.
REFERENCES
Ahn, K., Bos, J., Kor, D., Nissim, M., Webber, B. L., and
Curran, J. R. (2005). Question answering with qed at
trec 2005. In TREC.
Blackburn, P. and Bos, J. (2005). Representation and infer-
ence for natural language. A first course in computa-
tional semantics. CSLI.
Champollion, L. (2015). The interaction of compositional
semantics and event semantics. Linguistics and Phi-
losophy, 38(1):31–66.
Cimiano, P., Haase, P., Heizmann, J., and Mantel, M.
(2007). Orakel: A portable natural language interface
to knowledge bases. Technical report, Technical re-
port, Institute AIFB, University of Karlsruhe.
Davidson, D. (1967). The logical form of action sentences.
Erling, O. and Mikhailov, I. (2010). Virtuoso: Rdf support
in a native rdbms. In Semantic Web Information Man-
agement, pages 501–519. Springer.
Ferre, S. (2012). Squall: A controlled natural language for
querying and updating rdf graphs. In proc. of CNL
2012, pages 11–25. LNCS 7427.
Ferr
´
e, S. (2013). Squall: a controlled natural language as
expressive as sparql 1.1. In International Conference
on Application of Natural Language to Information
Systems, pages 114–125. Springer.
Frost, R. and Launchbury, J. (1989). Constructing natu-
ral language interpreters in a lazy functional language.
The Computer Journal, 32(2):108–121.
Frost, R. A., Hafiz, R., and Callaghan, P. (2008). Parser
combinators for ambiguous left-recursive grammars.
In International Symposium on Practical Aspects
WEBIST 2019 - 15th International Conference on Web Information Systems and Technologies
86