Simple Question (Direct)
Simple Question
Q6530670
P166
Q618779
USER
Which award was received by Leslie Brown ?
(Q6530670,P166,c(Q618779))
action filter_type
action find
entity Q6530670
relation P166
type Q618779
['Q6530670', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?n WHERE { resource:Q6530670 property:P166 ?n . ?n rdf:type ontology:Q618779 }
Leslie Brown
action filter_type
action find
entity Leslie Brown
relation award received
type award
['Leslie Brown', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?n WHERE { resource:Leslie_Brown property:award_received ?n . ?n rdf:type ontology:award }
[]
award
Q2427600
SYSTEM
Air Force Cross
Q2427600
(Q6530670,P166,c(Q618779))
action filter_type
action find
entity Q6530670
relation P166
type Q618779
Medal [ANSWER] was received by Leslie Brown
['Q6530670', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?n WHERE { resource:Q6530670 property:P166 ?n . ?n rdf:type ontology:Q618779 }
Air Force Cross
Medal Air Force Cross was received by Leslie Brown
Air Force Cross
action filter_type
action find
entity Leslie Brown
relation award received
type award
['Leslie Brown', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?n WHERE { resource:Leslie_Brown property:award_received ?n . ?n rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6530670
P734
Q82799
USER
Who is associated with Leslie Brown ?
(Q6530670,P734,c(Q82799))
action filter_type
action find
entity Q6530670
relation P734
type Q82799
['Q6530670', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { resource:Q6530670 property:P734 ?g . ?g rdf:type ontology:Q82799 }
Leslie Brown
action filter_type
action find
entity Leslie Brown
relation family name
type name
['Leslie Brown', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { resource:Leslie_Brown property:family_name ?g . ?g rdf:type ontology:name }
[]
name
Q13421990
SYSTEM
Brown
Q13421990
(Q6530670,P734,c(Q82799))
action filter_type
action find
entity Q6530670
relation P734
type Q82799
[ANSWER] is associated with Leslie [ANSWER]
['Q6530670', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { resource:Q6530670 property:P734 ?g . ?g rdf:type ontology:Q82799 }
Brown
Brown is associated with Leslie Brown
Brown
action filter_type
action find
entity Leslie Brown
relation family name
type name
['Leslie Brown', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { resource:Leslie_Brown property:family_name ?g . ?g rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7026865
Q82799
USER
And what about Nick Carter?
(Q7026865,P734,c(Q82799))
action filter_type
action find
entity Q7026865
relation P734
type Q82799
['Q7026865', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?e WHERE { resource:Q7026865 property:P734 ?e . ?e rdf:type ontology:Q82799 }
Nick Carter
action filter_type
action find
entity Nick Carter
relation family name
type name
['Nick Carter', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?e WHERE { resource:Nick_Carter property:family_name ?e . ?e rdf:type ontology:name }
[]
name
Q16101731
SYSTEM
Carter
Q16101731
(Q7026865,P734,c(Q82799))
action filter_type
action find
entity Q7026865
relation P734
type Q82799
[ANSWER]
['Q7026865', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?e WHERE { resource:Q7026865 property:P734 ?e . ?e rdf:type ontology:Q82799 }
Carter
Carter
action filter_type
action find
entity Nick Carter
relation family name
type name
['Nick Carter', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?e WHERE { resource:Nick_Carter property:family_name ?e . ?e rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q16101731 Q13406210
P407
Q34770
USER
Is Bargoens the language of work for that name ?
(Q16101731,P407,Q13406210)
action is_in
entity Q13406210
action find
entity Q16101731
relation P407
['Q16101731', 'P407', 'Q13406210']
ASK WHERE { resource:Q16101731 property:P407 resource:Q13406210 }
Carter Bargoens
action is_in
entity Bargoens
action find
entity Carter
relation language of work or name
['Carter', 'language of work or name', 'Bargoens']
ASK WHERE { resource:Carter property:language_of_work_or_name resource:Bargoens }
[]
language
SYSTEM
NO
(Q16101731,P407,Q13406210)
action is_in
entity Q13406210
action find
entity Q16101731
relation P407
[ANSWER]
['Q16101731', 'P407', 'Q13406210']
ASK WHERE { resource:Q16101731 property:P407 resource:Q13406210 }
No
action is_in
entity Bargoens
action find
entity Carter
relation language of work or name
['Carter', 'language of work or name', 'Bargoens']
ASK WHERE { resource:Carter property:language_of_work_or_name resource:Bargoens }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q13421990 Q20972034 Q7682454
P407
Q34770
USER
Was Brown done in Classic Greek and Tandia language language ?
(Q13421990,P407,Q20972034) (Q13421990,P407,Q7682454)
action is_in
entity Q13421990
action intersection
action find_reverse
entity Q20972034
relation P407
action find_reverse
entity Q7682454
relation P407
['Q13421990', 'P407', 'Q20972034'] ['Q13421990', 'P407', 'Q7682454']
ASK WHERE { resource:Q13421990 property:P407 resource:Q20972034 . resource:Q13421990 property:P407 resource:Q7682454 }
Brown Classic Greek Tandia language
action is_in
entity Brown
action intersection
action find_reverse
entity Classic Greek
relation language of work or name
action find_reverse
entity Tandia language
relation language of work or name
['Brown', 'language of work or name', 'Classic Greek'] ['Brown', 'language of work or name', 'Tandia language']
ASK WHERE { resource:Brown property:language_of_work_or_name resource:Classic_Greek . resource:Brown property:language_of_work_or_name resource:Tandia_language }
[]
language
SYSTEM
NO
(Q13421990,P407,Q20972034) (Q13421990,P407,Q7682454)
action is_in
entity Q13421990
action intersection
action find_reverse
entity Q20972034
relation P407
action find_reverse
entity Q7682454
relation P407
[ANSWER]
['Q13421990', 'P407', 'Q20972034'] ['Q13421990', 'P407', 'Q7682454']
ASK WHERE { resource:Q13421990 property:P407 resource:Q20972034 . resource:Q13421990 property:P407 resource:Q7682454 }
No
action is_in
entity Brown
action intersection
action find_reverse
entity Classic Greek
relation language of work or name
action find_reverse
entity Tandia language
relation language of work or name
['Brown', 'language of work or name', 'Classic Greek'] ['Brown', 'language of work or name', 'Tandia language']
ASK WHERE { resource:Brown property:language_of_work_or_name resource:Classic_Greek . resource:Brown property:language_of_work_or_name resource:Tandia_language }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1027
Q1048835 Q163740 Q618779
USER
How many awards are given by exactly 1 political territories and nonprofit organizations ?
(c(Q618779),P1027,c(Q1048835)|c(Q163740))
action count
action equal
action union
action find_tuple_counts
relation P1027
type Q618779
type Q1048835
action find_tuple_counts
relation P1027
type Q618779
type Q163740
value 1
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q1048835'}, {'concept': 'Q163740'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { FILTER ( ?o = 1 ) . { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?o ) WHERE { VALUES ( ?z ) { ( ontology:Q1048835 ) ( ontology:Q163740 ) } . ?p rdf:type ?z } GROUP BY ?x } }
action count
action equal
action union
action find_tuple_counts
relation conferred by
type award
type political territorial entity
action find_tuple_counts
relation conferred by
type award
type nonprofit organization
value 1
[{'concept': 'award'}, 'conferred by', [{'concept': 'political territorial entity'}, {'concept': 'nonprofit organization'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { FILTER ( ?o = 1 ) . { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?o ) WHERE { VALUES ( ?z ) { ( ontology:political_territorial_entity ) ( ontology:nonprofit_organization ) } . ?p rdf:type ?z } GROUP BY ?x } }
[]
political territorial entity nonprofit organization award
SYSTEM
23
Q23005880 Q1514013 Q23000365 Q3911041 Q1585689 Q2465314 Q605151 Q11682189 Q1120501 Q1865093 Q521371 Q248041 Q5055189 Q1003951 Q5594940 Q1506751 Q4974265 Q21522006 Q5211226 Q732997 Q1912039 Q2037956 Q700236
(c(Q618779),P1027,c(Q1048835)|c(Q163740))
action count
action equal
action union
action find_tuple_counts
relation P1027
type Q618779
type Q1048835
action find_tuple_counts
relation P1027
type Q618779
type Q163740
value 1
[ANSWER]
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q1048835'}, {'concept': 'Q163740'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { FILTER ( ?o = 1 ) . { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?o ) WHERE { VALUES ( ?z ) { ( ontology:Q1048835 ) ( ontology:Q163740 ) } . ?p rdf:type ?z } GROUP BY ?x } }
Joseph B. Goldberger Award in Clinical Nutrition Arts and Culture Prize of German Catholics SUMA Award Honorary President of the World Esperanto Association Harnack medal Critics' Choice Television Award Carl-von-Ossietzky-Medaille Grand Prix du Disque Communicator Award of DFG Brücke Berlin Award Gold record Zülch-Preis Cavling Prize Friedrich-Gundolf-Preis Grand Prix du Disque for Chamber Music The George B. Dantzig Prize Bronzen Adhemar Dallas-Fort Worth Film Critics Association Award Dallas-Fort Worth Film Critics Association Award for Best Film British Academy Film Awards Max Planck research award Otto Hahn Medal German Book Prize
23
action count
action equal
action union
action find_tuple_counts
relation conferred by
type award
type political territorial entity
action find_tuple_counts
relation conferred by
type award
type nonprofit organization
value 1
[{'concept': 'award'}, 'conferred by', [{'concept': 'political territorial entity'}, {'concept': 'nonprofit organization'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { FILTER ( ?o = 1 ) . { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?o ) WHERE { VALUES ( ?z ) { ( ontology:political_territorial_entity ) ( ontology:nonprofit_organization ) } . ?p rdf:type ?z } GROUP BY ?x } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16101731
P361
Q853614
USER
What is Carter a part of ?
(Q16101731,P361,c(Q853614))
action filter_type
action find
entity Q16101731
relation P361
type Q853614
['Q16101731', 'P361', {'concept': 'Q853614'}]
SELECT DISTINCT ?e WHERE { resource:Q16101731 property:P361 ?e . ?e rdf:type ontology:Q853614 }
Carter
action filter_type
action find
entity Carter
relation part of
type identifier
['Carter', 'part of', {'concept': 'identifier'}]
SELECT DISTINCT ?e WHERE { resource:Carter property:part_of ?e . ?e rdf:type ontology:identifier }
[]
identifier
Q16275177
SYSTEM
Carter
Q16275177
(Q16101731,P361,c(Q853614))
action filter_type
action find
entity Q16101731
relation P361
type Q853614
A part of is [ANSWER] [ANSWER]
['Q16101731', 'P361', {'concept': 'Q853614'}]
SELECT DISTINCT ?e WHERE { resource:Q16101731 property:P361 ?e . ?e rdf:type ontology:Q853614 }
Carter
A part of is Carter Carter
Carter
action filter_type
action find
entity Carter
relation part of
type identifier
['Carter', 'part of', {'concept': 'identifier'}]
SELECT DISTINCT ?e WHERE { resource:Carter property:part_of ?e . ?e rdf:type ontology:identifier }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q19818110 Q16101731
P361
Q853614
USER
Or Hamilton?
OR((Q16101731,P361,c(Q853614)), (Q19818110,P361,c(Q853614)))
action filter_type
action union
action find
entity Q16101731
relation P361
action find
entity Q19818110
relation P361
type Q853614
{'OR': [['Q16101731', 'P361', {'concept': 'Q853614'}], ['Q19818110', 'P361', {'concept': 'Q853614'}]]}
SELECT DISTINCT ?y WHERE { { ?k property:P361 ?y . VALUES ( ?k ) { ( resource:Q16101731 ) ( resource:Q19818110 ) } } . ?y rdf:type ontology:Q853614 }
Hamilton Carter
action filter_type
action union
action find
entity Carter
relation part of
action find
entity Hamilton
relation part of
type identifier
{'OR': [['Carter', 'part of', {'concept': 'identifier'}], ['Hamilton', 'part of', {'concept': 'identifier'}]]}
SELECT DISTINCT ?y WHERE { { ?k property:part_of ?y . VALUES ( ?k ) { ( resource:Carter ) ( resource:Hamilton ) } } . ?y rdf:type ontology:identifier }
[]
identifier
Q2711109 Q16275177
SYSTEM
Hamilton, Carter
Q2711109 Q16275177
OR((Q16101731,P361,c(Q853614)), (Q19818110,P361,c(Q853614)))
action filter_type
action union
action find
entity Q16101731
relation P361
action find
entity Q19818110
relation P361
type Q853614
[ANSWERS]
{'OR': [['Q16101731', 'P361', {'concept': 'Q853614'}], ['Q19818110', 'P361', {'concept': 'Q853614'}]]}
SELECT DISTINCT ?y WHERE { { ?k property:P361 ?y . VALUES ( ?k ) { ( resource:Q16101731 ) ( resource:Q19818110 ) } } . ?y rdf:type ontology:Q853614 }
Hamilton Carter
Hamilton Carter
action filter_type
action union
action find
entity Carter
relation part of
action find
entity Hamilton
relation part of
type identifier
{'OR': [['Carter', 'part of', {'concept': 'identifier'}], ['Hamilton', 'part of', {'concept': 'identifier'}]]}
SELECT DISTINCT ?y WHERE { { ?k property:part_of ?y . VALUES ( ?k ) { ( resource:Carter ) ( resource:Hamilton ) } } . ?y rdf:type ontology:identifier }
[]