Simple Question (Direct)
Simple Question
Q4220383
P512
Q3412758
USER
What is the degree held by Igor Kiyko ?
(Q4220383,P512,c(Q3412758))
action filter_type
action find
entity Q4220383
relation P512
type Q3412758
['Q4220383', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?s WHERE { resource:Q4220383 property:P512 ?s . ?s rdf:type ontology:Q3412758 }
Igor Kiyko
action filter_type
action find
entity Igor Kiyko
relation academic degree
type qualification
['Igor Kiyko', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?s WHERE { resource:Igor_Kiyko property:academic_degree ?s . ?s rdf:type ontology:qualification }
[]
qualification
Q17281097
SYSTEM
Doktor Nauk in Physics and Mathematics
Q17281097
(Q4220383,P512,c(Q3412758))
action filter_type
action find
entity Q4220383
relation P512
type Q3412758
The degree held by Igor Kiyko is a [ANSWER]
['Q4220383', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?s WHERE { resource:Q4220383 property:P512 ?s . ?s rdf:type ontology:Q3412758 }
Doktor Nauk in Physics and Mathematics
The degree held by Igor Kiyko is a Doktor Nauk in Physics and Mathematics
Doktor Nauk in Physics and Mathematics
action filter_type
action find
entity Igor Kiyko
relation academic degree
type qualification
['Igor Kiyko', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?s WHERE { resource:Igor_Kiyko property:academic_degree ?s . ?s rdf:type ontology:qualification }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17281097
P17
Q15617994
USER
Which administrative territories are that qualification located in ?
(Q17281097,P17,c(Q15617994))
action filter_type
action find
entity Q17281097
relation P17
type Q15617994
['Q17281097', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q17281097 property:P17 ?o }
Doktor Nauk in Physics and Mathematics
action filter_type
action find
entity Doktor Nauk in Physics and Mathematics
relation country
type designation for an administrative territorial entity
['Doktor Nauk in Physics and Mathematics', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Doktor_Nauk_in_Physics_and_Mathematics property:country ?o }
[]
designation for an administrative territorial entity
Q212 Q159
SYSTEM
Ukraine, Russia
Q212 Q159
(Q17281097,P17,c(Q15617994))
action filter_type
action find
entity Q17281097
relation P17
type Q15617994
That qualification are located in [ANSWERS]
['Q17281097', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q17281097 property:P17 ?o }
Ukraine Russia
That qualification are located in Ukraine and Russia
Ukraine Russia
action filter_type
action find
entity Doktor Nauk in Physics and Mathematics
relation country
type designation for an administrative territorial entity
['Doktor Nauk in Physics and Mathematics', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Doktor_Nauk_in_Physics_and_Mathematics property:country ?o }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q17281097
Q7275
USER
And which state?
(Q17281097,P17,c(Q7275))
action filter_type
action find
entity Q17281097
relation P17
type Q7275
['Q17281097', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?g WHERE { resource:Q17281097 property:P17 ?g . ?g rdf:type ontology:Q7275 }
Doktor Nauk in Physics and Mathematics
action filter_type
action find
entity Doktor Nauk in Physics and Mathematics
relation country
type state
['Doktor Nauk in Physics and Mathematics', 'country', {'concept': 'state'}]
SELECT DISTINCT ?g WHERE { resource:Doktor_Nauk_in_Physics_and_Mathematics property:country ?g . ?g rdf:type ontology:state }
[]
state
Q15180
SYSTEM
Soviet Union
Q15180
(Q17281097,P17,c(Q7275))
action filter_type
action find
entity Q17281097
relation P17
type Q7275
[ANSWER]
['Q17281097', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?g WHERE { resource:Q17281097 property:P17 ?g . ?g rdf:type ontology:Q7275 }
Soviet Union
Soviet Union
action filter_type
action find
entity Doktor Nauk in Physics and Mathematics
relation country
type state
['Doktor Nauk in Physics and Mathematics', 'country', {'concept': 'state'}]
SELECT DISTINCT ?g WHERE { resource:Doktor_Nauk_in_Physics_and_Mathematics property:country ?g . ?g rdf:type ontology:state }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P941
Q7275 Q3895768
USER
How many states inspired less number of fictional locations than that state ?
(c(Q3895768),P941,c(Q7275))
action count
action less
action find_tuple_counts
relation P941
type Q7275
type Q3895768
action count
action filter_type
action find
entity Q15180
relation P941
type Q7275
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?d ) WHERE { ?m property:P941 ?a . ?m rdf:type ontology:Q7275 . ?a rdf:type ontology:Q3895768 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { resource:Q15180 property:P941 ?g . ?g rdf:type ontology:Q7275 } } . FILTER ( ?d < ?k ) }
action count
action less
action find_tuple_counts
relation inspired by
type state
type fictional location
action count
action filter_type
action find
entity Soviet Union
relation inspired by
type state
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?d ) WHERE { ?m property:inspired_by ?a . ?m rdf:type ontology:state . ?a rdf:type ontology:fictional_location } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { resource:Soviet_Union property:inspired_by ?g . ?g rdf:type ontology:state } } . FILTER ( ?d < ?k ) }
[]
state fictional location
SYSTEM
0
(c(Q3895768),P941,c(Q7275))
action count
action less
action find_tuple_counts
relation P941
type Q7275
type Q3895768
action count
action filter_type
action find
entity Q15180
relation P941
type Q7275
[ANSWER]
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?d ) WHERE { ?m property:P941 ?a . ?m rdf:type ontology:Q7275 . ?a rdf:type ontology:Q3895768 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { resource:Q15180 property:P941 ?g . ?g rdf:type ontology:Q7275 } } . FILTER ( ?d < ?k ) }
0
action count
action less
action find_tuple_counts
relation inspired by
type state
type fictional location
action count
action filter_type
action find
entity Soviet Union
relation inspired by
type state
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?d ) WHERE { ?m property:inspired_by ?a . ?m rdf:type ontology:state . ?a rdf:type ontology:fictional_location } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { resource:Soviet_Union property:inspired_by ?g . ?g rdf:type ontology:state } } . FILTER ( ?d < ?k ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159
P35
Q502895
USER
Which people are the heads of state of Russia ?
(Q159,P35,c(Q502895))
action filter_type
action find
entity Q159
relation P35
type Q502895
['Q159', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q159 property:P35 ?d . ?d rdf:type ontology:Q502895 }
Russia
action filter_type
action find
entity Russia
relation head of state
type common name
['Russia', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Russia property:head_of_state ?d . ?d rdf:type ontology:common_name }
[]
common name
Q34453 Q23530 Q7747
SYSTEM
Boris Yeltsin, Dmitry Medvedev, Vladimir Putin
Q34453 Q23530 Q7747
(Q159,P35,c(Q502895))
action filter_type
action find
entity Q159
relation P35
type Q502895
The [ANSWERS] are the heads of state of Russia
['Q159', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q159 property:P35 ?d . ?d rdf:type ontology:Q502895 }
Boris Yeltsin Dmitry Medvedev Vladimir Putin
The Boris Yeltsin, Dmitry Medvedev and Vladimir Putin are the heads of state of Russia
Boris Yeltsin Dmitry Medvedev Vladimir Putin
action filter_type
action find
entity Russia
relation head of state
type common name
['Russia', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Russia property:head_of_state ?d . ?d rdf:type ontology:common_name }
[]