Simple Question (Direct)
Simple Question
Q5620804
P1196
Q1914636
USER
What situation did Gus Winkler die in ?
(Q5620804,P1196,c(Q1914636))
action filter_type
action find
entity Q5620804
relation P1196
type Q1914636
['Q5620804', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q1914636 . resource:Q5620804 property:P1196 ?z }
Gus Winkler
action filter_type
action find
entity Gus Winkler
relation manner of death
type activity
['Gus Winkler', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:activity . resource:Gus_Winkler property:manner_of_death ?z }
[]
activity
Q149086
SYSTEM
homicide
Q149086
(Q5620804,P1196,c(Q1914636))
action filter_type
action find
entity Q5620804
relation P1196
type Q1914636
Gus Winkler died in [ANSWER]
['Q5620804', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q1914636 . resource:Q5620804 property:P1196 ?z }
homicide
Gus Winkler died in homicide
homicide
action filter_type
action find
entity Gus Winkler
relation manner of death
type activity
['Gus Winkler', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:activity . resource:Gus_Winkler property:manner_of_death ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5620804
P140
Q879146
USER
What is the religion associated with that person ?
(Q149086,P140,c(Q879146))
action filter_type
action find
entity Q5620804
relation P140
type Q879146
['Q149086', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?f WHERE { resource:Q5620804 property:P140 ?f . ?f rdf:type ontology:Q879146 }
Gus Winkler
action filter_type
action find
entity Gus Winkler
relation religion
type Christian denomination
['homicide', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?f WHERE { resource:Gus_Winkler property:religion ?f . ?f rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q149086,P140,c(Q879146))
action filter_type
action find
entity Q5620804
relation P140
type Q879146
The religion associated with that person is a [ANSWER]
['Q149086', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?f WHERE { resource:Q5620804 property:P140 ?f . ?f rdf:type ontology:Q879146 }
Roman Catholic Church
The religion associated with that person is a Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Gus Winkler
relation religion
type Christian denomination
['homicide', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?f WHERE { resource:Gus_Winkler property:religion ?f . ?f rdf:type ontology:Christian_denomination }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q2149227 Q5620804
P140
Q879146
USER
Or Richard Charles Patrick Hanifen?
OR((Q5620804,P140,c(Q879146)), (Q2149227,P140,c(Q879146)))
action filter_type
action union
action find
entity Q5620804
relation P140
action find
entity Q2149227
relation P140
type Q879146
{'OR': [['Q5620804', 'P140', {'concept': 'Q879146'}], ['Q2149227', 'P140', {'concept': 'Q879146'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?d ) { ( resource:Q5620804 ) ( resource:Q2149227 ) } . ?d property:P140 ?w } . ?w rdf:type ontology:Q879146 }
Richard Charles Patrick Hanifen Gus Winkler
action filter_type
action union
action find
entity Gus Winkler
relation religion
action find
entity Richard Charles Patrick Hanifen
relation religion
type Christian denomination
{'OR': [['Gus Winkler', 'religion', {'concept': 'Christian denomination'}], ['Richard Charles Patrick Hanifen', 'religion', {'concept': 'Christian denomination'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?d ) { ( resource:Gus_Winkler ) ( resource:Richard_Charles_Patrick_Hanifen ) } . ?d property:religion ?w } . ?w rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
OR((Q5620804,P140,c(Q879146)), (Q2149227,P140,c(Q879146)))
action filter_type
action union
action find
entity Q5620804
relation P140
action find
entity Q2149227
relation P140
type Q879146
[ANSWER]
{'OR': [['Q5620804', 'P140', {'concept': 'Q879146'}], ['Q2149227', 'P140', {'concept': 'Q879146'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?d ) { ( resource:Q5620804 ) ( resource:Q2149227 ) } . ?d property:P140 ?w } . ?w rdf:type ontology:Q879146 }
Roman Catholic Church
Roman Catholic Church
action filter_type
action union
action find
entity Gus Winkler
relation religion
action find
entity Richard Charles Patrick Hanifen
relation religion
type Christian denomination
{'OR': [['Gus Winkler', 'religion', {'concept': 'Christian denomination'}], ['Richard Charles Patrick Hanifen', 'religion', {'concept': 'Christian denomination'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?d ) { ( resource:Gus_Winkler ) ( resource:Richard_Charles_Patrick_Hanifen ) } . ?d property:religion ?w } . ?w rdf:type ontology:Christian_denomination }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q9592 Q1331058
P140
Q502895
USER
Does Iñaki Mallona Txertudi belong to that Christian denomination religion ?
(Q1331058,P140,Q9592)
action is_in
entity Q9592
action find
entity Q1331058
relation P140
['Q1331058', 'P140', 'Q9592']
ASK WHERE { resource:Q1331058 property:P140 resource:Q9592 }
Roman Catholic Church Iñaki Mallona Txertudi
action is_in
entity Roman Catholic Church
action find
entity Iñaki Mallona Txertudi
relation religion
['Iñaki Mallona Txertudi', 'religion', 'Roman Catholic Church']
ASK WHERE { resource:Iñaki_Mallona_Txertudi property:religion resource:Roman_Catholic_Church }
[]
common name
SYSTEM
YES
(Q1331058,P140,Q9592)
action is_in
entity Q9592
action find
entity Q1331058
relation P140
[ANSWER]
['Q1331058', 'P140', 'Q9592']
ASK WHERE { resource:Q1331058 property:P140 resource:Q9592 }
Yes
action is_in
entity Roman Catholic Church
action find
entity Iñaki Mallona Txertudi
relation religion
['Iñaki Mallona Txertudi', 'religion', 'Roman Catholic Church']
ASK WHERE { resource:Iñaki_Mallona_Txertudi property:religion resource:Roman_Catholic_Church }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q5962346 Q350604 Q1914636
USER
How many activities are a component of exactly 1 classification schemes and armed conflicts ?
(c(Q1914636),P361,c(Q5962346)|c(Q350604))
action count
action equal
action union
action find_tuple_counts
relation P361
type Q1914636
type Q5962346
action find_tuple_counts
relation P361
type Q1914636
type Q350604
value 1
[{'concept': 'Q1914636'}, 'P361', [{'concept': 'Q5962346'}, {'concept': 'Q350604'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) ?l WHERE { ?e rdf:type ?k . VALUES ( ?k ) { ( ontology:Q5962346 ) ( ontology:Q350604 ) } } GROUP BY ?l } . FILTER ( ?t = 1 ) }
action count
action equal
action union
action find_tuple_counts
relation part of
type activity
type classification scheme
action find_tuple_counts
relation part of
type activity
type armed conflict
value 1
[{'concept': 'activity'}, 'part of', [{'concept': 'classification scheme'}, {'concept': 'armed conflict'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) ?l WHERE { ?e rdf:type ?k . VALUES ( ?k ) { ( ontology:classification_scheme ) ( ontology:armed_conflict ) } } GROUP BY ?l } . FILTER ( ?t = 1 ) }
[]
classification scheme armed conflict activity
SYSTEM
5
Q4652509 Q2301555 Q1330176 Q3500162 Q3438698
(c(Q1914636),P361,c(Q5962346)|c(Q350604))
action count
action equal
action union
action find_tuple_counts
relation P361
type Q1914636
type Q5962346
action find_tuple_counts
relation P361
type Q1914636
type Q350604
value 1
[ANSWER]
[{'concept': 'Q1914636'}, 'P361', [{'concept': 'Q5962346'}, {'concept': 'Q350604'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) ?l WHERE { ?e rdf:type ?k . VALUES ( ?k ) { ( ontology:Q5962346 ) ( ontology:Q350604 ) } } GROUP BY ?l } . FILTER ( ?t = 1 ) }
AM1* open-loop controller judicial activism Bijeljina massacre Sijekovac killings
5
action count
action equal
action union
action find_tuple_counts
relation part of
type activity
type classification scheme
action find_tuple_counts
relation part of
type activity
type armed conflict
value 1
[{'concept': 'activity'}, 'part of', [{'concept': 'classification scheme'}, {'concept': 'armed conflict'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) ?l WHERE { ?e rdf:type ?k . VALUES ( ?k ) { ( ontology:classification_scheme ) ( ontology:armed_conflict ) } } GROUP BY ?l } . FILTER ( ?t = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q5620804
P19
Q56061
USER
How many administrative territories are the birthplace of Gus Winkler ?
(Q5620804,P19,c(Q56061))
action count
action filter_type
action find
entity Q5620804
relation P19
type Q56061
['Q5620804', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { resource:Q5620804 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Gus Winkler
action count
action filter_type
action find
entity Gus Winkler
relation place of birth
type administrative territorial entity
['Gus Winkler', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { resource:Gus_Winkler property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q38022
(Q5620804,P19,c(Q56061))
action count
action filter_type
action find
entity Q5620804
relation P19
type Q56061
[ANSWER]
['Q5620804', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { resource:Q5620804 property:P19 ?a . ?a rdf:type ontology:Q56061 }
St. Louis
1
action count
action filter_type
action find
entity Gus Winkler
relation place of birth
type administrative territorial entity
['Gus Winkler', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { resource:Gus_Winkler property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5620804
P106
Q151885
USER
What does that person do for a living ?
action filter_type
action find
entity Q5620804
relation P106
type Q151885
SELECT DISTINCT ?x WHERE { resource:Q5620804 property:P106 ?x . ?x rdf:type ontology:Q151885 }
Gus Winkler
action filter_type
action find
entity Gus Winkler
relation occupation
type concept
SELECT DISTINCT ?x WHERE { resource:Gus_Winkler property:occupation ?x . ?x rdf:type ontology:concept }
[]
concept
Q46961
SYSTEM
gangster
Q46961
action filter_type
action find
entity Q5620804
relation P106
type Q151885
That person does a [ANSWER] for a living
SELECT DISTINCT ?x WHERE { resource:Q5620804 property:P106 ?x . ?x rdf:type ontology:Q151885 }
gangster
That person does a gangster for a living
gangster
action filter_type
action find
entity Gus Winkler
relation occupation
type concept
SELECT DISTINCT ?x WHERE { resource:Gus_Winkler property:occupation ?x . ?x rdf:type ontology:concept }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q11625220
P361
Q43229 Q895526 Q1914636
USER
How many activities are a component of more number of organizations and authority organs than resuscitation ?
(c(Q1914636),P361,c(Q43229)|c(Q895526))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q1914636
type Q43229
action find_tuple_counts
relation P361
type Q1914636
type Q895526
action count
action filter_multi_types
action find
entity Q11625220
relation P361
type Q43229
type Q895526
[{'concept': 'Q1914636'}, 'P361', [{'concept': 'Q43229'}, {'concept': 'Q895526'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?g ) WHERE { VALUES ( ?r ) { ( ontology:Q43229 ) ( ontology:Q895526 ) } . ?o rdf:type ?r } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { resource:Q11625220 property:P361 ?y . { ?y rdf:type ?d . VALUES ( ?d ) { ( ontology:Q43229 ) ( ontology:Q895526 ) } } } } . FILTER ( ?g > ?a ) }
resuscitation
action count
action greater
action union
action find_tuple_counts
relation part of
type activity
type organization
action find_tuple_counts
relation part of
type activity
type authority organ
action count
action filter_multi_types
action find
entity resuscitation
relation part of
type organization
type authority organ
[{'concept': 'activity'}, 'part of', [{'concept': 'organization'}, {'concept': 'authority organ'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?g ) WHERE { VALUES ( ?r ) { ( ontology:organization ) ( ontology:authority_organ ) } . ?o rdf:type ?r } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { resource:resuscitation property:part_of ?y . { ?y rdf:type ?d . VALUES ( ?d ) { ( ontology:organization ) ( ontology:authority_organ ) } } } } . FILTER ( ?g > ?a ) }
[]
organization authority organ activity
SYSTEM
2
Q18156118 Q953652
(c(Q1914636),P361,c(Q43229)|c(Q895526))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q1914636
type Q43229
action find_tuple_counts
relation P361
type Q1914636
type Q895526
action count
action filter_multi_types
action find
entity Q11625220
relation P361
type Q43229
type Q895526
[ANSWER]
[{'concept': 'Q1914636'}, 'P361', [{'concept': 'Q43229'}, {'concept': 'Q895526'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?g ) WHERE { VALUES ( ?r ) { ( ontology:Q43229 ) ( ontology:Q895526 ) } . ?o rdf:type ?r } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { resource:Q11625220 property:P361 ?y . { ?y rdf:type ?d . VALUES ( ?d ) { ( ontology:Q43229 ) ( ontology:Q895526 ) } } } } . FILTER ( ?g > ?a ) }
Hong Kong Civil Service Hello! Project
2
action count
action greater
action union
action find_tuple_counts
relation part of
type activity
type organization
action find_tuple_counts
relation part of
type activity
type authority organ
action count
action filter_multi_types
action find
entity resuscitation
relation part of
type organization
type authority organ
[{'concept': 'activity'}, 'part of', [{'concept': 'organization'}, {'concept': 'authority organ'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?g ) WHERE { VALUES ( ?r ) { ( ontology:organization ) ( ontology:authority_organ ) } . ?o rdf:type ?r } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { resource:resuscitation property:part_of ?y . { ?y rdf:type ?d . VALUES ( ?d ) { ( ontology:organization ) ( ontology:authority_organ ) } } } } . FILTER ( ?g > ?a ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q159964
P361
Q43229 Q895526 Q1914636
USER
And what about typography?
(c(Q1914636),P361,c(Q43229)|c(Q895526))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q1914636
type Q43229
action find_tuple_counts
relation P361
type Q1914636
type Q895526
action count
action filter_multi_types
action find
entity Q159964
relation P361
type Q43229
type Q895526
[{'concept': 'Q1914636'}, 'P361', [{'concept': 'Q43229'}, {'concept': 'Q895526'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?j ) WHERE { ?a rdf:type ?p . VALUES ( ?p ) { ( ontology:Q43229 ) ( ontology:Q895526 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { resource:Q159964 property:P361 ?f . { { ?f rdf:type ontology:Q43229 } UNION { ?f rdf:type ontology:Q895526 } } } } . FILTER ( ?j > ?k ) }
typography
action count
action greater
action union
action find_tuple_counts
relation part of
type activity
type organization
action find_tuple_counts
relation part of
type activity
type authority organ
action count
action filter_multi_types
action find
entity typography
relation part of
type organization
type authority organ
[{'concept': 'activity'}, 'part of', [{'concept': 'organization'}, {'concept': 'authority organ'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?j ) WHERE { ?a rdf:type ?p . VALUES ( ?p ) { ( ontology:organization ) ( ontology:authority_organ ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { resource:typography property:part_of ?f . { { ?f rdf:type ontology:organization } UNION { ?f rdf:type ontology:authority_organ } } } } . FILTER ( ?j > ?k ) }
[]
organization authority organ activity
SYSTEM
2
Q18156118 Q953652
(c(Q1914636),P361,c(Q43229)|c(Q895526))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q1914636
type Q43229
action find_tuple_counts
relation P361
type Q1914636
type Q895526
action count
action filter_multi_types
action find
entity Q159964
relation P361
type Q43229
type Q895526
[ANSWER]
[{'concept': 'Q1914636'}, 'P361', [{'concept': 'Q43229'}, {'concept': 'Q895526'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?j ) WHERE { ?a rdf:type ?p . VALUES ( ?p ) { ( ontology:Q43229 ) ( ontology:Q895526 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { resource:Q159964 property:P361 ?f . { { ?f rdf:type ontology:Q43229 } UNION { ?f rdf:type ontology:Q895526 } } } } . FILTER ( ?j > ?k ) }
Hong Kong Civil Service Hello! Project
2
action count
action greater
action union
action find_tuple_counts
relation part of
type activity
type organization
action find_tuple_counts
relation part of
type activity
type authority organ
action count
action filter_multi_types
action find
entity typography
relation part of
type organization
type authority organ
[{'concept': 'activity'}, 'part of', [{'concept': 'organization'}, {'concept': 'authority organ'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?j ) WHERE { ?a rdf:type ?p . VALUES ( ?p ) { ( ontology:organization ) ( ontology:authority_organ ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { resource:typography property:part_of ?f . { { ?f rdf:type ontology:organization } UNION { ?f rdf:type ontology:authority_organ } } } } . FILTER ( ?j > ?k ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q9332 Q24457356 Q151885
USER
Which concepts are a component of max number of behaviors or historiographical concepts ?
(c(Q151885),P361,c(Q9332)|c(Q24457356))
action argmax
action union
action find_tuple_counts
relation P361
type Q151885
type Q9332
action find_tuple_counts
relation P361
type Q151885
type Q24457356
[{'concept': 'Q151885'}, 'P361', [{'concept': 'Q9332'}, {'concept': 'Q24457356'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) ?h WHERE { { ?h property:P361 ?r . ?h rdf:type ontology:Q151885 . ?r rdf:type ontology:Q9332 } UNION { ?h property:P361 ?r . ?h rdf:type ontology:Q151885 . ?r rdf:type ontology:Q24457356 } } GROUP BY ?h } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) ?j WHERE { { ?j rdf:type ontology:Q151885 . ?p rdf:type ontology:Q9332 . ?j property:P361 ?p } UNION { ?j rdf:type ontology:Q151885 . ?p rdf:type ontology:Q24457356 . ?j property:P361 ?p } } GROUP BY ?j } . FILTER ( ?y = ?q ) }
action argmax
action union
action find_tuple_counts
relation part of
type concept
type behavior
action find_tuple_counts
relation part of
type concept
type historiographical concept
[{'concept': 'concept'}, 'part of', [{'concept': 'behavior'}, {'concept': 'historiographical concept'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) ?h WHERE { { ?h property:part_of ?r . ?h rdf:type ontology:concept . ?r rdf:type ontology:behavior } UNION { ?h property:part_of ?r . ?h rdf:type ontology:concept . ?r rdf:type ontology:historiographical_concept } } GROUP BY ?h } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) ?j WHERE { { ?j rdf:type ontology:concept . ?p rdf:type ontology:behavior . ?j property:part_of ?p } UNION { ?j rdf:type ontology:concept . ?p rdf:type ontology:historiographical_concept . ?j property:part_of ?p } } GROUP BY ?j } . FILTER ( ?y = ?q ) }
[]
behavior historiographical concept concept
Q94951 Q1473687 Q727781
SYSTEM
regional cuisine, shieldmaiden, Latin American music
Q24444087 Q1473687 Q24339990 Q727781 Q205200 Q508295 Q2108957 Q94951
(c(Q151885),P361,c(Q9332)|c(Q24457356))
action argmax
action union
action find_tuple_counts
relation P361
type Q151885
type Q9332
action find_tuple_counts
relation P361
type Q151885
type Q24457356
[ANSWERS] are a component of max number of behaviors or historiographical concepts
[{'concept': 'Q151885'}, 'P361', [{'concept': 'Q9332'}, {'concept': 'Q24457356'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) ?h WHERE { { ?h property:P361 ?r . ?h rdf:type ontology:Q151885 . ?r rdf:type ontology:Q9332 } UNION { ?h property:P361 ?r . ?h rdf:type ontology:Q151885 . ?r rdf:type ontology:Q24457356 } } GROUP BY ?h } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) ?j WHERE { { ?j rdf:type ontology:Q151885 . ?p rdf:type ontology:Q9332 . ?j property:P361 ?p } UNION { ?j rdf:type ontology:Q151885 . ?p rdf:type ontology:Q24457356 . ?j property:P361 ?p } } GROUP BY ?j } . FILTER ( ?y = ?q ) }
concept about Norse culture shieldmaiden Norse mythological concept Latin American music Zinsertrag account Press center regional cuisine
Regional cuisine, shieldmaiden and Latin American music are a component of max number of behaviors or historiographical concepts
regional cuisine shieldmaiden Latin American music
action argmax
action union
action find_tuple_counts
relation part of
type concept
type behavior
action find_tuple_counts
relation part of
type concept
type historiographical concept
[{'concept': 'concept'}, 'part of', [{'concept': 'behavior'}, {'concept': 'historiographical concept'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) ?h WHERE { { ?h property:part_of ?r . ?h rdf:type ontology:concept . ?r rdf:type ontology:behavior } UNION { ?h property:part_of ?r . ?h rdf:type ontology:concept . ?r rdf:type ontology:historiographical_concept } } GROUP BY ?h } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) ?j WHERE { { ?j rdf:type ontology:concept . ?p rdf:type ontology:behavior . ?j property:part_of ?p } UNION { ?j rdf:type ontology:concept . ?p rdf:type ontology:historiographical_concept . ?j property:part_of ?p } } GROUP BY ?j } . FILTER ( ?y = ?q ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P361
Q151885 Q151885 Q502895
USER
Which concepts are around the same number of concepts and people a portion of as that concept ?
(c(Q151885)|c(Q502895),P361,c(Q151885))
[[{'concept': 'Q151885'}, {'concept': 'Q502895'}], 'P361', {'concept': 'Q151885'}]
SELECT DISTINCT ?z WHERE { { { ?z property:P361 ?z } UNION { ?y property:P361 ?z } } . ?z rdf:type ontology:Q151885 . ?y rdf:type ontology:Q502895 }
[[{'concept': 'concept'}, {'concept': 'common name'}], 'part of', {'concept': 'concept'}]
SELECT DISTINCT ?z WHERE { { { ?z property:part_of ?z } UNION { ?y property:part_of ?z } } . ?z rdf:type ontology:concept . ?y rdf:type ontology:common_name }
[]
concept concept common name
Comparative|More/Less|Mult. entity type|Clarification
Q1473687
SYSTEM
Did you mean shieldmaiden ?
(c(Q151885)|c(Q502895),P361,c(Q151885))
[ANSWER]
[[{'concept': 'Q151885'}, {'concept': 'Q502895'}], 'P361', {'concept': 'Q151885'}]
SELECT DISTINCT ?z WHERE { { { ?z property:P361 ?z } UNION { ?y property:P361 ?z } } . ?z rdf:type ontology:Q151885 . ?y rdf:type ontology:Q502895 }
Did you mean shieldmaiden ?
shieldmaiden
[[{'concept': 'concept'}, {'concept': 'common name'}], 'part of', {'concept': 'concept'}]
SELECT DISTINCT ?z WHERE { { { ?z property:part_of ?z } UNION { ?y property:part_of ?z } } . ?z rdf:type ontology:concept . ?y rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
USER
No, I meant Latin American music. Could you tell me the answer for that?
(c(Q151885)|c(Q502895),P361,c(Q151885))
Q727781
[[{'concept': 'Q151885'}, {'concept': 'Q502895'}], 'P361', {'concept': 'Q151885'}]
[[{'concept': 'concept'}, {'concept': 'common name'}], 'part of', {'concept': 'concept'}]
[]
Q756905 Q208247 Q3071
SYSTEM
Gravettian, La Tène culture, punk rock
Q3071 Q8425 Q756905 Q54365 Q515074 Q851213 Q727781 Q875115 Q1979837 Q1941338 Q131476 Q9778 Q208247 Q20502 Q210774 Q168827 Q1500983
(c(Q151885)|c(Q502895),P361,c(Q151885))
[ANSWERS] are around the same number of concepts and people a portion of as that concept
[[{'concept': 'Q151885'}, {'concept': 'Q502895'}], 'P361', {'concept': 'Q151885'}]
SELECT DISTINCT ?z WHERE { { { ?z property:P361 ?z } UNION { ?y property:P361 ?z } } . ?z rdf:type ontology:Q151885 . ?y rdf:type ontology:Q502895 }
punk rock society Gravettian Ska Louisiana blues electronic dance music Latin American music Funnelbeaker culture New social movements burgess graph theory electronic music La Tène culture house music Acheulean prophets of Islam Sprechgesang
Gravettian, La Tène culture and punk rock are around the same number of concepts and people a portion of as that concept
Gravettian La Tène culture punk rock
[[{'concept': 'concept'}, {'concept': 'common name'}], 'part of', {'concept': 'concept'}]
SELECT DISTINCT ?z WHERE { { { ?z property:part_of ?z } UNION { ?y property:part_of ?z } } . ?z rdf:type ontology:concept . ?y rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q46961
P106 P21
Q502895
USER
Which people have the profession as gangster and are a male ?
AND((c(Q502895),P106,Q46961), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q46961
relation P106
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q46961'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P106 resource:Q46961 . ?v property:P21 resource:Q6581097 }
male gangster
action filter_type
action intersection
action find_reverse
entity gangster
relation occupation
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'gangster'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:occupation resource:gangster . ?v property:gender resource:male }
[]
common name
Q3427098 Q5094954 Q11380546 Q934293 Q7813328 Q6782661 Q11423425 Q11644957 Q11438859 Q16096767
SYSTEM
Some of them are René Girier, Chhota Rajan, Kenji Izu, Pretty Boy Floyd, Toi Inagawa, Masaru Takumi, Hiroshi Tsuchioka, Tetsuo Nogami, Yasuo Ōnishi, Joseph DeFede
Q11366727 Q11529907 Q3179373 Q16096767 Q11401551 Q3588384 Q5094954 Q6349693 Q11473751 Q17224301 Q11602484 Q10928438 Q11540100 Q11543933 Q7402588 Q322553 Q442072 Q1181113 Q11615392 Q11438870 Q1929781 Q6389267 Q18954659 Q11412951 Q17159819 Q8973002 Q553191 Q16012228 Q3633026 Q5620804 Q11364087 Q7813775 Q11398865 Q5563963 Q11450417 Q2926631 Q3699686 Q11585225 Q11469039 Q16867617 Q16867616 Q11675372 Q22949258 Q11427471 Q27670186 Q969341 Q11609333 Q21932247 Q11644957 Q11423425 Q6281856 Q11652032 Q11584109 Q11598723 Q6419125 Q11606122 Q3454674 Q256835 Q6753387 Q1093080 Q6362112 Q6228173 Q11564434 Q925546 Q11619387 Q9332199 Q2852844 Q11521918 Q9341367 Q986390 Q11431299 Q3386025 Q11395585 Q330481 Q5956339 Q12017331 Q16263774 Q11618306 Q11439805 Q11587279 Q17209513 Q11671197 Q11581223 Q8013398 Q6782661 Q21996219 Q4151476 Q16026107 Q6381793 Q5342474 Q3427098 Q72733 Q3102337 Q11473284 Q4773078 Q2780657 Q12728121 Q11555599 Q7813328 Q11429939 Q11380546 Q7183427 Q11463169 Q934293 Q3619959 Q7649778 Q6381658 Q11438859 Q11584845 Q7649776 Q11656097
AND((c(Q502895),P106,Q46961), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q46961
relation P106
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have the profession as gangster and are a male
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q46961'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P106 resource:Q46961 . ?v property:P21 resource:Q6581097 }
Kiyohide Nakata Shin'ichi Matsuyama Jo Attia Joseph DeFede Takeshi Kitajima Émile Buisson Chhota Rajan Kakuji Inagawa Kiyoshi Oka Tatsuo Yamamura Suesaburō Sasai Yukio Jimichi Masaji Morita Hirofumi Hashimoto Saizo Kishimoto Abner Zwillman François Marcantoni Dean O'Banion Kei Hanagata Masahiro Ōnishi Fred Burke Kenichi Yamamoto William Kimber Yūji Yoshikawa Jirō Kiyota Shōroku Ishida Dawood Ibrahim Blaise Diesbourg Arun Gawli Gus Winkler Katsumasa Nakayama Tokutaro Takayama Shigemasa Kamoda Giovanni Riggi Masao Yasuhara Bruno Berliner Curtis Warren Shinji Ishihara Hiroshi Yamamoto Reggie Kray Ronnie Kray Kiyoshi Narumi Uzair Baloch Masao Hori Georgios Papadimitriou Owney Madden Kōzō Minō Paul D'Amato Tetsuo Nogami Hiroshi Tsuchioka Joseph C. Amberg Sōichi Nagaoka Chōji Yajima Takeshi Takenaka Kiyoshi Takayama Katsuhiko Hosotani Rédoine Faïd Jacob Orgen Manya Surve Ciro Terranova Kaneyoshi Kuwata John D. Grady Hideo Mizoshita Gaetano Reina Masao Sugatani Gorō Hanabusa Anthony Corallo Haruo Sugiyama Shigeo Nishiguchi Tadamasa Goto Ginji Yozakura Pierre Loutrel Tatsuo Deguchi Ignazio Lupo Hyman Amberg František Mrázek Yoshio Amano Tetsuo Ebara Ken'ichi Ōnaga Haruo Ishima Kazuichi Kaibara Iwatarō Takahashi Yoshio Masuda William Jackson Masaru Takumi Jean Toci Larry Hoover Louis Amberg Kazuyoshi Kudo Edward Cummiskey René Girier Machine Gun Kelly Georges Boucheseiche Goichi Okamura Anthony Megale James Coonan Fane Spoitoru Moriyuki Hadani Toi Inagawa Takeshi Natsuhara Kenji Izu Philip Davidson Hideomi Oda Pretty Boy Floyd Antonio Nirta Susumu Kajiyama Kazuo Nakanishi Yasuo Ōnishi Ichirō Ishii Susumu Ishii Masaru Sekine
René Girier, Chhota Rajan, Kenji Izu, Pretty Boy Floyd, Toi Inagawa, Masaru Takumi, Hiroshi Tsuchioka, Tetsuo Nogami, Yasuo Ōnishi and Joseph DeFede have the profession as gangster and are a male
René Girier Chhota Rajan Kenji Izu Pretty Boy Floyd Toi Inagawa Masaru Takumi Hiroshi Tsuchioka Tetsuo Nogami Yasuo Ōnishi Joseph DeFede
action filter_type
action intersection
action find_reverse
entity gangster
relation occupation
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'gangster'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:occupation resource:gangster . ?v property:gender resource:male }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3427098 Q5094954 Q11380546 Q934293 Q7813328 Q6782661 Q11423425 Q11644957 Q11438859 Q16096767
P21
Q290
USER
Which sexes do René Girier, Chhota Rajan, Kenji Izu, Pretty Boy Floyd, Toi Inagawa, Masaru Takumi, Hiroshi Tsuchioka, Tetsuo Nogami, Yasuo Ōnishi and Joseph DeFede have ?
(Q3427098,P21,c(Q290)) (Q5094954,P21,c(Q290)) (Q11380546,P21,c(Q290)) (Q934293,P21,c(Q290)) (Q7813328,P21,c(Q290)) (Q6782661,P21,c(Q290)) (Q11423425,P21,c(Q290)) (Q11644957,P21,c(Q290)) (Q11438859,P21,c(Q290)) (Q16096767,P21,c(Q290))
action union
action filter_type
action find
entity Q3427098
relation P21
type Q290
action filter_type
action find
entity Q5094954
relation P21
type Q290
action filter_type
action find
entity Q11380546
relation P21
type Q290
action filter_type
action find
entity Q934293
relation P21
type Q290
action filter_type
action find
entity Q7813328
relation P21
type Q290
action filter_type
action find
entity Q6782661
relation P21
type Q290
action filter_type
action find
entity Q11423425
relation P21
type Q290
action filter_type
action find
entity Q11644957
relation P21
type Q290
action filter_type
action find
entity Q11438859
relation P21
type Q290
action filter_type
action find
entity Q16096767
relation P21
type Q290
['Q3427098', 'P21', {'concept': 'Q290'}] ['Q5094954', 'P21', {'concept': 'Q290'}] ['Q11380546', 'P21', {'concept': 'Q290'}] ['Q934293', 'P21', {'concept': 'Q290'}] ['Q7813328', 'P21', {'concept': 'Q290'}] ['Q6782661', 'P21', {'concept': 'Q290'}] ['Q11423425', 'P21', {'concept': 'Q290'}] ['Q11644957', 'P21', {'concept': 'Q290'}] ['Q11438859', 'P21', {'concept': 'Q290'}] ['Q16096767', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { VALUES ( ?q ) { ( resource:Q3427098 ) ( resource:Q5094954 ) } . ?q property:P21 ?v }
René Girier Chhota Rajan Kenji Izu Pretty Boy Floyd Toi Inagawa Masaru Takumi Hiroshi Tsuchioka Tetsuo Nogami Yasuo Ōnishi Joseph DeFede
action union
action filter_type
action find
entity René Girier
relation gender
type sex
action filter_type
action find
entity Chhota Rajan
relation gender
type sex
action filter_type
action find
entity Kenji Izu
relation gender
type sex
action filter_type
action find
entity Pretty Boy Floyd
relation gender
type sex
action filter_type
action find
entity Toi Inagawa
relation gender
type sex
action filter_type
action find
entity Masaru Takumi
relation gender
type sex
action filter_type
action find
entity Hiroshi Tsuchioka
relation gender
type sex
action filter_type
action find
entity Tetsuo Nogami
relation gender
type sex
action filter_type
action find
entity Yasuo Ōnishi
relation gender
type sex
action filter_type
action find
entity Joseph DeFede
relation gender
type sex
['René Girier', 'gender', {'concept': 'sex'}] ['Chhota Rajan', 'gender', {'concept': 'sex'}] ['Kenji Izu', 'gender', {'concept': 'sex'}] ['Pretty Boy Floyd', 'gender', {'concept': 'sex'}] ['Toi Inagawa', 'gender', {'concept': 'sex'}] ['Masaru Takumi', 'gender', {'concept': 'sex'}] ['Hiroshi Tsuchioka', 'gender', {'concept': 'sex'}] ['Tetsuo Nogami', 'gender', {'concept': 'sex'}] ['Yasuo Ōnishi', 'gender', {'concept': 'sex'}] ['Joseph DeFede', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { VALUES ( ?q ) { ( resource:René_Girier ) ( resource:Chhota_Rajan ) } . ?q property:gender ?v }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097
(Q3427098,P21,c(Q290)) (Q5094954,P21,c(Q290)) (Q11380546,P21,c(Q290)) (Q934293,P21,c(Q290)) (Q7813328,P21,c(Q290)) (Q6782661,P21,c(Q290)) (Q11423425,P21,c(Q290)) (Q11644957,P21,c(Q290)) (Q11438859,P21,c(Q290)) (Q16096767,P21,c(Q290))
action union
action filter_type
action find
entity Q3427098
relation P21
type Q290
action filter_type
action find
entity Q5094954
relation P21
type Q290
action filter_type
action find
entity Q11380546
relation P21
type Q290
action filter_type
action find
entity Q934293
relation P21
type Q290
action filter_type
action find
entity Q7813328
relation P21
type Q290
action filter_type
action find
entity Q6782661
relation P21
type Q290
action filter_type
action find
entity Q11423425
relation P21
type Q290
action filter_type
action find
entity Q11644957
relation P21
type Q290
action filter_type
action find
entity Q11438859
relation P21
type Q290
action filter_type
action find
entity Q16096767
relation P21
type Q290
René Girier , Chhota Rajan , Kenji Izu , Pretty Boy Floyd , Toi Inagawa , Masaru Takumi , Hiroshi Tsuchioka , Tetsuo Nogami , Yasuo Ōnishi and Joseph DeFede have been [ANSWER], [ANSWER] and [ANSWER]
['Q3427098', 'P21', {'concept': 'Q290'}] ['Q5094954', 'P21', {'concept': 'Q290'}] ['Q11380546', 'P21', {'concept': 'Q290'}] ['Q934293', 'P21', {'concept': 'Q290'}] ['Q7813328', 'P21', {'concept': 'Q290'}] ['Q6782661', 'P21', {'concept': 'Q290'}] ['Q11423425', 'P21', {'concept': 'Q290'}] ['Q11644957', 'P21', {'concept': 'Q290'}] ['Q11438859', 'P21', {'concept': 'Q290'}] ['Q16096767', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { VALUES ( ?q ) { ( resource:Q3427098 ) ( resource:Q5094954 ) } . ?q property:P21 ?v }
male male male male male male male male male male
René Girier , Chhota Rajan , Kenji Izu , Pretty Boy Floyd , Toi Inagawa , Masaru Takumi , Hiroshi Tsuchioka , Tetsuo Nogami , Yasuo Ōnishi and Joseph DeFede have been male, male and male
male male male
action union
action filter_type
action find
entity René Girier
relation gender
type sex
action filter_type
action find
entity Chhota Rajan
relation gender
type sex
action filter_type
action find
entity Kenji Izu
relation gender
type sex
action filter_type
action find
entity Pretty Boy Floyd
relation gender
type sex
action filter_type
action find
entity Toi Inagawa
relation gender
type sex
action filter_type
action find
entity Masaru Takumi
relation gender
type sex
action filter_type
action find
entity Hiroshi Tsuchioka
relation gender
type sex
action filter_type
action find
entity Tetsuo Nogami
relation gender
type sex
action filter_type
action find
entity Yasuo Ōnishi
relation gender
type sex
action filter_type
action find
entity Joseph DeFede
relation gender
type sex
['René Girier', 'gender', {'concept': 'sex'}] ['Chhota Rajan', 'gender', {'concept': 'sex'}] ['Kenji Izu', 'gender', {'concept': 'sex'}] ['Pretty Boy Floyd', 'gender', {'concept': 'sex'}] ['Toi Inagawa', 'gender', {'concept': 'sex'}] ['Masaru Takumi', 'gender', {'concept': 'sex'}] ['Hiroshi Tsuchioka', 'gender', {'concept': 'sex'}] ['Tetsuo Nogami', 'gender', {'concept': 'sex'}] ['Yasuo Ōnishi', 'gender', {'concept': 'sex'}] ['Joseph DeFede', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { VALUES ( ?q ) { ( resource:René_Girier ) ( resource:Chhota_Rajan ) } . ?q property:gender ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3427098
P161
Q838948
USER
Which work of art stars René Girier as actor ?
(c(Q838948),P161,Q3427098)
action filter_type
action find_reverse
entity Q3427098
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q3427098']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q838948 . ?d property:P161 resource:Q3427098 }
René Girier
action filter_type
action find_reverse
entity René Girier
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'René Girier']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:work_of_art . ?d property:cast_member resource:René_Girier }
[]
work of art
Q1219891
SYSTEM
Rene the Cane
Q1219891
(c(Q838948),P161,Q3427098)
action filter_type
action find_reverse
entity Q3427098
relation P161
type Q838948
[ANSWER] stars René Girier as actor
[{'concept': 'Q838948'}, 'P161', 'Q3427098']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q838948 . ?d property:P161 resource:Q3427098 }
Rene the Cane
Rene the Cane stars René Girier as actor
Rene the Cane
action filter_type
action find_reverse
entity René Girier
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'René Girier']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:work_of_art . ?d property:cast_member resource:René_Girier }
[]