Simple Question (Direct)
Simple Question
Q6140249
P21
Q290
USER
Which sex does Ricky Ledée belong to ?
(Q6140249,P21,c(Q290))
action filter_type
action find
entity Q6140249
relation P21
type Q290
['Q6140249', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q6140249 property:P21 ?v . ?v rdf:type ontology:Q290 }
Ricky Ledée
action filter_type
action find
entity Ricky Ledée
relation gender
type sex
['Ricky Ledée', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Ricky_Ledée property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6140249,P21,c(Q290))
action filter_type
action find
entity Q6140249
relation P21
type Q290
Ricky Ledée belongs to [ANSWER]
['Q6140249', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q6140249 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
Ricky Ledée belongs to male
male
action filter_type
action find
entity Ricky Ledée
relation gender
type sex
['Ricky Ledée', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Ricky_Ledée property:gender ?v . ?v rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6140249
P106
Q151885
USER
Which concept is the profession of Ricky Ledée ?
(Q6140249,P106,c(Q151885))
action filter_type
action find
entity Q6140249
relation P106
type Q151885
['Q6140249', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q151885 . resource:Q6140249 property:P106 ?f }
Ricky Ledée
action filter_type
action find
entity Ricky Ledée
relation occupation
type concept
['Ricky Ledée', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:concept . resource:Ricky_Ledée property:occupation ?f }
[]
concept
Q10871364
SYSTEM
baseball player
Q10871364
(Q6140249,P106,c(Q151885))
action filter_type
action find
entity Q6140249
relation P106
type Q151885
[ANSWER] is the profession of Ricky Ledée
['Q6140249', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q151885 . resource:Q6140249 property:P106 ?f }
baseball player
Baseball player is the profession of Ricky Ledée
baseball player
action filter_type
action find
entity Ricky Ledée
relation occupation
type concept
['Ricky Ledée', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:concept . resource:Ricky_Ledée property:occupation ?f }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6270537
Q151885
USER
And what about Jon Coutlangus?
(Q6270537,P106,c(Q151885))
action filter_type
action find
entity Q6270537
relation P106
type Q151885
['Q6270537', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?g WHERE { resource:Q6270537 property:P106 ?g . ?g rdf:type ontology:Q151885 }
Jon Coutlangus
action filter_type
action find
entity Jon Coutlangus
relation occupation
type concept
['Jon Coutlangus', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?g WHERE { resource:Jon_Coutlangus property:occupation ?g . ?g rdf:type ontology:concept }
[]
concept
Q10871364
SYSTEM
baseball player
Q10871364
(Q6270537,P106,c(Q151885))
action filter_type
action find
entity Q6270537
relation P106
type Q151885
[ANSWER]
['Q6270537', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?g WHERE { resource:Q6270537 property:P106 ?g . ?g rdf:type ontology:Q151885 }
baseball player
baseball player
action filter_type
action find
entity Jon Coutlangus
relation occupation
type concept
['Jon Coutlangus', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?g WHERE { resource:Jon_Coutlangus property:occupation ?g . ?g rdf:type ontology:concept }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q10871364 Q6199364
P106
Q502895
USER
Does Jimmie Keenan have the profession of that concept ?
(Q6199364,P106,Q10871364)
action is_in
entity Q10871364
action find
entity Q6199364
relation P106
['Q6199364', 'P106', 'Q10871364']
ASK WHERE { resource:Q6199364 property:P106 resource:Q10871364 }
baseball player Jimmie Keenan
action is_in
entity baseball player
action find
entity Jimmie Keenan
relation occupation
['Jimmie Keenan', 'occupation', 'baseball player']
ASK WHERE { resource:Jimmie_Keenan property:occupation resource:baseball_player }
[]
common name
SYSTEM
YES
(Q6199364,P106,Q10871364)
action is_in
entity Q10871364
action find
entity Q6199364
relation P106
[ANSWER]
['Q6199364', 'P106', 'Q10871364']
ASK WHERE { resource:Q6199364 property:P106 resource:Q10871364 }
Yes
action is_in
entity baseball player
action find
entity Jimmie Keenan
relation occupation
['Jimmie Keenan', 'occupation', 'baseball player']
ASK WHERE { resource:Jimmie_Keenan property:occupation resource:baseball_player }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q402743
P706
Q2221906 Q1048835 Q151885
USER
Which concepts are located in more number of geographic locations or political territories than Ahrensburg culture ?
(c(Q151885),P706,c(Q2221906)|c(Q1048835))
action greater
action union
action find_tuple_counts
relation P706
type Q151885
type Q2221906
action find_tuple_counts
relation P706
type Q151885
type Q1048835
action count
action filter_multi_types
action find
entity Q402743
relation P706
type Q2221906
type Q1048835
[{'concept': 'Q151885'}, 'P706', [{'concept': 'Q2221906'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?r ) WHERE { { ?u property:P706 ?n . ?u rdf:type ontology:Q151885 . ?n rdf:type ontology:Q2221906 } UNION { ?u property:P706 ?n . ?u rdf:type ontology:Q151885 . ?n rdf:type ontology:Q1048835 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Q402743 property:P706 ?i . { ?i rdf:type ?o . VALUES ( ?o ) { ( ontology:Q2221906 ) ( ontology:Q1048835 ) } } } } . FILTER ( ?r > ?j ) }
Ahrensburg culture
action greater
action union
action find_tuple_counts
relation located on terrain feature
type concept
type geographic location
action find_tuple_counts
relation located on terrain feature
type concept
type political territorial entity
action count
action filter_multi_types
action find
entity Ahrensburg culture
relation located on terrain feature
type geographic location
type political territorial entity
[{'concept': 'concept'}, 'located on terrain feature', [{'concept': 'geographic location'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?r ) WHERE { { ?u property:located_on_terrain_feature ?n . ?u rdf:type ontology:concept . ?n rdf:type ontology:geographic_location } UNION { ?u property:located_on_terrain_feature ?n . ?u rdf:type ontology:concept . ?n rdf:type ontology:political_territorial_entity } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Ahrensburg_culture property:located_on_terrain_feature ?i . { ?i rdf:type ?o . VALUES ( ?o ) { ( ontology:geographic_location ) ( ontology:political_territorial_entity ) } } } } . FILTER ( ?r > ?j ) }
[]
geographic location political territorial entity concept
Q470867 Q746287 Q693549
SYSTEM
Beaker culture, Oldowan, Magdalenian
Q2560070 Q893119 Q693549 Q756905 Q2603061 Q3485378 Q459376 Q1781546 Q746287 Q221901 Q470867
(c(Q151885),P706,c(Q2221906)|c(Q1048835))
action greater
action union
action find_tuple_counts
relation P706
type Q151885
type Q2221906
action find_tuple_counts
relation P706
type Q151885
type Q1048835
action count
action filter_multi_types
action find
entity Q402743
relation P706
type Q2221906
type Q1048835
[ANSWERS] are located in more number of geographic locations or political territories than Ahrensburg culture
[{'concept': 'Q151885'}, 'P706', [{'concept': 'Q2221906'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?r ) WHERE { { ?u property:P706 ?n . ?u rdf:type ontology:Q151885 . ?n rdf:type ontology:Q2221906 } UNION { ?u property:P706 ?n . ?u rdf:type ontology:Q151885 . ?n rdf:type ontology:Q1048835 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Q402743 property:P706 ?i . { ?i rdf:type ?o . VALUES ( ?o ) { ( ontology:Q2221906 ) ( ontology:Q1048835 ) } } } } . FILTER ( ?r > ?j ) }
Magosian Boat Axe culture Magdalenian Gravettian Coțofeni culture Clovis culture Andronovo culture Kongemose culture Oldowan Aurignacian Beaker culture
Beaker culture, Oldowan and Magdalenian are located in more number of geographic locations or political territories than Ahrensburg culture
Beaker culture Oldowan Magdalenian
action greater
action union
action find_tuple_counts
relation located on terrain feature
type concept
type geographic location
action find_tuple_counts
relation located on terrain feature
type concept
type political territorial entity
action count
action filter_multi_types
action find
entity Ahrensburg culture
relation located on terrain feature
type geographic location
type political territorial entity
[{'concept': 'concept'}, 'located on terrain feature', [{'concept': 'geographic location'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?r ) WHERE { { ?u property:located_on_terrain_feature ?n . ?u rdf:type ontology:concept . ?n rdf:type ontology:geographic_location } UNION { ?u property:located_on_terrain_feature ?n . ?u rdf:type ontology:concept . ?n rdf:type ontology:political_territorial_entity } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Ahrensburg_culture property:located_on_terrain_feature ?i . { ?i rdf:type ?o . VALUES ( ?o ) { ( ontology:geographic_location ) ( ontology:political_territorial_entity ) } } } } . FILTER ( ?r > ?j ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q470867 Q746287 Q693549
P706
Q2221906
USER
Where are those concepts located on ?
(Q470867,P706,c(Q2221906)) (Q746287,P706,c(Q2221906)) (Q693549,P706,c(Q2221906))
action filter_type
action find
entity prev_answer
relation P706
type Q2221906
['Q470867', 'P706', {'concept': 'Q2221906'}] ['Q746287', 'P706', {'concept': 'Q2221906'}] ['Q693549', 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?b WHERE { ?x property:P706 ?b . ?b rdf:type ontology:Q2221906 . VALUES ( ?x ) { ( resource:Q2560070 ) ( resource:Q893119 ) ( resource:Q693549 ) } }
Beaker culture Oldowan Magdalenian
action filter_type
action find
entity prev_answer
relation located on terrain feature
type geographic location
['Beaker culture', 'located on terrain feature', {'concept': 'geographic location'}] ['Oldowan', 'located on terrain feature', {'concept': 'geographic location'}] ['Magdalenian', 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?b WHERE { ?x property:located_on_terrain_feature ?b . ?b rdf:type ontology:geographic_location . VALUES ( ?x ) { ( resource:Magosian ) ( resource:Boat_Axe_culture ) ( resource:Magdalenian ) } }
[]
geographic location
Q15 Q46 Q27496
SYSTEM
Africa, Europe, Western Europe
Q27496 Q27449 Q27509 Q15 Q46 Q5401 Q48214 Q27496 Q27509
(Q470867,P706,c(Q2221906)) (Q746287,P706,c(Q2221906)) (Q693549,P706,c(Q2221906))
action filter_type
action find
entity prev_answer
relation P706
type Q2221906
Those concepts are located in [ANSWERS] on
['Q470867', 'P706', {'concept': 'Q2221906'}] ['Q746287', 'P706', {'concept': 'Q2221906'}] ['Q693549', 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?b WHERE { ?x property:P706 ?b . ?b rdf:type ontology:Q2221906 . VALUES ( ?x ) { ( resource:Q2560070 ) ( resource:Q893119 ) ( resource:Q693549 ) } }
Western Europe Southern Europe Central Europe Africa Europe Eurasia Near East Western Europe Central Europe
Those concepts are located in Africa, Europe and Western Europe on
Africa Europe Western Europe
action filter_type
action find
entity prev_answer
relation located on terrain feature
type geographic location
['Beaker culture', 'located on terrain feature', {'concept': 'geographic location'}] ['Oldowan', 'located on terrain feature', {'concept': 'geographic location'}] ['Magdalenian', 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?b WHERE { ?x property:located_on_terrain_feature ?b . ?b rdf:type ontology:geographic_location . VALUES ( ?x ) { ( resource:Magosian ) ( resource:Boat_Axe_culture ) ( resource:Magdalenian ) } }
[]