Simple Question (Direct)
Simple Question
Q18098624
P734
Q82799
USER
Who is associated with Mela Tenenbaum ?
(Q18098624,P734,c(Q82799))
action filter_type
action find
entity Q18098624
relation P734
type Q82799
['Q18098624', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?y WHERE { resource:Q18098624 property:P734 ?y . ?y rdf:type ontology:Q82799 }
Mela Tenenbaum
action filter_type
action find
entity Mela Tenenbaum
relation family name
type name
['Mela Tenenbaum', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?y WHERE { resource:Mela_Tenenbaum property:family_name ?y . ?y rdf:type ontology:name }
[]
name
Q2403450
SYSTEM
Tenenbaum
Q2403450
(Q18098624,P734,c(Q82799))
action filter_type
action find
entity Q18098624
relation P734
type Q82799
Baum [ANSWER] is associated with Mela [ANSWER]
['Q18098624', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?y WHERE { resource:Q18098624 property:P734 ?y . ?y rdf:type ontology:Q82799 }
Tenenbaum
Baum Tenenbaum is associated with Mela Tenenbaum
Tenenbaum
action filter_type
action find
entity Mela Tenenbaum
relation family name
type name
['Mela Tenenbaum', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?y WHERE { resource:Mela_Tenenbaum property:family_name ?y . ?y rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18098624
P1303
Q34379
USER
What musical instruments can that person perform with ?
(Q2403450,P1303,c(Q34379))
action filter_type
action find
entity Q18098624
relation P1303
type Q34379
['Q2403450', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?t WHERE { resource:Q18098624 property:P1303 ?t . ?t rdf:type ontology:Q34379 }
Mela Tenenbaum
action filter_type
action find
entity Mela Tenenbaum
relation instrument
type musical instrument
['Tenenbaum', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?t WHERE { resource:Mela_Tenenbaum property:instrument ?t . ?t rdf:type ontology:musical_instrument }
[]
musical instrument
Q8355 Q80284
SYSTEM
violin, viola
Q8355 Q80284
(Q2403450,P1303,c(Q34379))
action filter_type
action find
entity Q18098624
relation P1303
type Q34379
That person can perform solo [ANSWERS]
['Q2403450', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?t WHERE { resource:Q18098624 property:P1303 ?t . ?t rdf:type ontology:Q34379 }
violin viola
That person can perform solo violin and viola
violin viola
action filter_type
action find
entity Mela Tenenbaum
relation instrument
type musical instrument
['Tenenbaum', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?t WHERE { resource:Mela_Tenenbaum property:instrument ?t . ?t rdf:type ontology:musical_instrument }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18098624
P21
Q290
USER
What is the sex of Mela Tenenbaum ?
(Q18098624,P21,c(Q290))
action filter_type
action find
entity Q18098624
relation P21
type Q290
['Q18098624', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q18098624 property:P21 ?i . ?i rdf:type ontology:Q290 }
Mela Tenenbaum
action filter_type
action find
entity Mela Tenenbaum
relation gender
type sex
['Mela Tenenbaum', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Mela_Tenenbaum property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q18098624,P21,c(Q290))
action filter_type
action find
entity Q18098624
relation P21
type Q290
The sex of Mela Tenenbaum is the [ANSWER]
['Q18098624', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q18098624 property:P21 ?i . ?i rdf:type ontology:Q290 }
female
The sex of Mela Tenenbaum is the female
female
action filter_type
action find
entity Mela Tenenbaum
relation gender
type sex
['Mela Tenenbaum', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Mela_Tenenbaum property:gender ?i . ?i rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5696460 Q18098624
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Mela Tenenbaum or Yubirí Ortega ?
OR((Q18098624,P27,c(Q15617994)), (Q5696460,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q18098624
relation P27
action find
entity Q5696460
relation P27
type Q15617994
{'OR': [['Q18098624', 'P27', {'concept': 'Q15617994'}], ['Q5696460', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q18098624 property:P27 ?k } UNION { resource:Q5696460 property:P27 ?k } } . ?k rdf:type ontology:Q15617994 }
Yubirí Ortega Mela Tenenbaum
action filter_type
action union
action find
entity Mela Tenenbaum
relation country of citizenship
action find
entity Yubirí Ortega
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Mela Tenenbaum', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Yubirí Ortega', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Mela_Tenenbaum property:country_of_citizenship ?k } UNION { resource:Yubirí_Ortega property:country_of_citizenship ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q717
SYSTEM
United States of America, Venezuela
Q30 Q717
OR((Q18098624,P27,c(Q15617994)), (Q5696460,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q18098624
relation P27
action find
entity Q5696460
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Mela Tenenbaum or Yubirí Ortega
{'OR': [['Q18098624', 'P27', {'concept': 'Q15617994'}], ['Q5696460', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q18098624 property:P27 ?k } UNION { resource:Q5696460 property:P27 ?k } } . ?k rdf:type ontology:Q15617994 }
United States of America Venezuela
United States of America and Venezuela are the countries of citizenship of Mela Tenenbaum or Yubirí Ortega
United States of America Venezuela
action filter_type
action union
action find
entity Mela Tenenbaum
relation country of citizenship
action find
entity Yubirí Ortega
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Mela Tenenbaum', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Yubirí Ortega', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Mela_Tenenbaum property:country_of_citizenship ?k } UNION { resource:Yubirí_Ortega property:country_of_citizenship ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3625160
P27
Q502895
USER
Are Askia Jones a native of those administrative territories ?
(Q3625160,P27,Q30) (Q3625160,P27,Q717)
action is_in
entity prev_answer
action find
entity Q3625160
relation P27
['Q3625160', 'P27', 'Q30'] ['Q3625160', 'P27', 'Q717']
ASK WHERE { VALUES ( ?a ) { ( resource:Q30 ) ( resource:Q717 ) } . resource:Q3625160 property:P27 ?a }
Askia Jones
action is_in
entity prev_answer
action find
entity Askia Jones
relation country of citizenship
['Askia Jones', 'country of citizenship', 'United States of America'] ['Askia Jones', 'country of citizenship', 'Venezuela']
ASK WHERE { VALUES ( ?a ) { ( resource:United_States_of_America ) ( resource:Venezuela ) } . resource:Askia_Jones property:country_of_citizenship ?a }
[]
common name
SYSTEM
YES
(Q3625160,P27,Q30) (Q3625160,P27,Q717)
action is_in
entity prev_answer
action find
entity Q3625160
relation P27
[ANSWER]
['Q3625160', 'P27', 'Q30'] ['Q3625160', 'P27', 'Q717']
ASK WHERE { VALUES ( ?a ) { ( resource:Q30 ) ( resource:Q717 ) } . resource:Q3625160 property:P27 ?a }
Yes
action is_in
entity prev_answer
action find
entity Askia Jones
relation country of citizenship
['Askia Jones', 'country of citizenship', 'United States of America'] ['Askia Jones', 'country of citizenship', 'Venezuela']
ASK WHERE { VALUES ( ?a ) { ( resource:United_States_of_America ) ( resource:Venezuela ) } . resource:Askia_Jones property:country_of_citizenship ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P750
Q838948
USER
Who do United States of America serve as a distributor for ?
(c(Q838948),P750,Q30)
action filter_type
action find_reverse
entity Q30
relation P750
type Q838948
[{'concept': 'Q838948'}, 'P750', 'Q30']
SELECT DISTINCT ?y WHERE { ?y property:P750 resource:Q30 . ?y rdf:type ontology:Q838948 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation distributor
type work of art
[{'concept': 'work of art'}, 'distributor', 'United States of America']
SELECT DISTINCT ?y WHERE { ?y property:distributor resource:United_States_of_America . ?y rdf:type ontology:work_of_art }
[]
work of art
Q1936875 Q5491136
SYSTEM
Dead Birds, Franklin's Magic Christmas
Q1936875 Q5491136
(c(Q838948),P750,Q30)
action filter_type
action find_reverse
entity Q30
relation P750
type Q838948
For United States of America serve as a distributor of [ANSWERS]
[{'concept': 'Q838948'}, 'P750', 'Q30']
SELECT DISTINCT ?y WHERE { ?y property:P750 resource:Q30 . ?y rdf:type ontology:Q838948 }
Dead Birds Franklin's Magic Christmas
For United States of America serve as a distributor of Dead Birds and Franklin's Magic Christmas
Dead Birds Franklin's Magic Christmas
action filter_type
action find_reverse
entity United States of America
relation distributor
type work of art
[{'concept': 'work of art'}, 'distributor', 'United States of America']
SELECT DISTINCT ?y WHERE { ?y property:distributor resource:United_States_of_America . ?y rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1936875 Q5491136
P495
Q15617994
USER
What are the origins of Dead Birds and Franklin's Magic Christmas ?
(Q1936875,P495,c(Q15617994)) (Q5491136,P495,c(Q15617994))
action union
action filter_type
action find
entity Q1936875
relation P495
type Q15617994
action filter_type
action find
entity Q5491136
relation P495
type Q15617994
['Q1936875', 'P495', {'concept': 'Q15617994'}] ['Q5491136', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?o property:P495 ?k . VALUES ( ?o ) { ( resource:Q1936875 ) ( resource:Q5491136 ) } }
Dead Birds Franklin's Magic Christmas
action union
action filter_type
action find
entity Dead Birds
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity Franklin's Magic Christmas
relation country of origin
type designation for an administrative territorial entity
['Dead Birds', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ["Franklin's Magic Christmas", 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?o property:country_of_origin ?k . VALUES ( ?o ) { ( resource:Dead_Birds ) ( resource:Franklin's_Magic_Christmas ) } }
[]
designation for an administrative territorial entity
Q30 Q142
SYSTEM
United States of America, France
Q30 Q142
(Q1936875,P495,c(Q15617994)) (Q5491136,P495,c(Q15617994))
action union
action filter_type
action find
entity Q1936875
relation P495
type Q15617994
action filter_type
action find
entity Q5491136
relation P495
type Q15617994
The origins of Dead Birds and Franklin's Magic Christmas are the [ANSWERS]
['Q1936875', 'P495', {'concept': 'Q15617994'}] ['Q5491136', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?o property:P495 ?k . VALUES ( ?o ) { ( resource:Q1936875 ) ( resource:Q5491136 ) } }
United States of America France
The origins of Dead Birds and Franklin's Magic Christmas are the United States of America and France
United States of America France
action union
action filter_type
action find
entity Dead Birds
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity Franklin's Magic Christmas
relation country of origin
type designation for an administrative territorial entity
['Dead Birds', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ["Franklin's Magic Christmas", 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?o property:country_of_origin ?k . VALUES ( ?o ) { ( resource:Dead_Birds ) ( resource:Franklin's_Magic_Christmas ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q142
P47
Q7275
USER
Which states are adjacent to that administrative territory ?
(Q142,P47,c(Q7275))
action filter_type
action find
entity Q142
relation P47
type Q7275
['Q142', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ?e WHERE { resource:Q142 property:P47 ?e . ?e rdf:type ontology:Q7275 }
France
action filter_type
action find
entity France
relation shares border with
type state
['France', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ?e WHERE { resource:France property:shares_border_with ?e . ?e rdf:type ontology:state }
[]
state
Clarification for simple ques.
Q142
SYSTEM
Did you mean France ?
Q30 Q142
(Q30,P47,c(Q7275)) (Q142,P47,c(Q7275))
[ANSWER]
['Q30', 'P47', {'concept': 'Q7275'}] ['Q142', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ?e WHERE { resource:Q142 property:P47 ?e . ?e rdf:type ontology:Q7275 }
United States of America France
Did you mean France ?
France
['United States of America', 'shares border with', {'concept': 'state'}] ['France', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ?e WHERE { resource:France property:shares_border_with ?e . ?e rdf:type ontology:state }
[]
Simple Question (Coreferenced)
USER
Yes
(Q142,P47,c(Q7275))
['Q142', 'P47', {'concept': 'Q7275'}]
['France', 'shares border with', {'concept': 'state'}]
[]
Q3456417 Q26273 Q25227
SYSTEM
Republic of Saint-Malo, Sint Maarten, Netherlands Antilles
Q153943 Q25227 Q26273 Q3456417
(Q142,P47,c(Q7275))
action filter_type
action find
entity Q142
relation P47
type Q7275
[ANSWERS] are adjacent to that administrative territory
['Q142', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ?e WHERE { resource:Q142 property:P47 ?e . ?e rdf:type ontology:Q7275 }
Kingdom of Westphalia Netherlands Antilles Sint Maarten Republic of Saint-Malo
Republic of Saint-Malo, Sint Maarten and Netherlands Antilles are adjacent to that administrative territory
Republic of Saint-Malo Sint Maarten Netherlands Antilles
action filter_type
action find
entity France
relation shares border with
type state
['France', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ?e WHERE { resource:France property:shares_border_with ?e . ?e rdf:type ontology:state }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P1001
Q14660
USER
How many flags have control over the jurisdiction of that state ?
(c(Q14660),P1001,Q25227)
[{'concept': 'Q14660'}, 'P1001', 'Q25227']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1001 resource:Q25227 . ?z rdf:type ontology:Q14660 }
[{'concept': 'flag'}, 'applies to jurisdiction', 'Netherlands Antilles']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:applies_to_jurisdiction resource:Netherlands_Antilles . ?z rdf:type ontology:flag }
[]
flag
Quantitative|Count|Single entity type|Clarification
Q3456417
SYSTEM
Did you mean Republic of Saint-Malo ?
(c(Q14660),P1001,Q3456417) (c(Q14660),P1001,Q26273) (c(Q14660),P1001,Q25227)
[ANSWER]
[{'concept': 'Q14660'}, 'P1001', 'Q3456417'] [{'concept': 'Q14660'}, 'P1001', 'Q26273'] [{'concept': 'Q14660'}, 'P1001', 'Q25227']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1001 resource:Q25227 . ?z rdf:type ontology:Q14660 }
Did you mean Republic of Saint-Malo ?
Republic of Saint-Malo
[{'concept': 'flag'}, 'applies to jurisdiction', 'Republic of Saint-Malo'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Sint Maarten'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Netherlands Antilles']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:applies_to_jurisdiction resource:Netherlands_Antilles . ?z rdf:type ontology:flag }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Netherlands Antilles. Could you tell me the answer for that?
(c(Q14660),P1001,Q25227)
Q25227
[{'concept': 'Q14660'}, 'P1001', 'Q25227']
[{'concept': 'flag'}, 'applies to jurisdiction', 'Netherlands Antilles']
[]
SYSTEM
1
Q209963
(c(Q14660),P1001,Q25227)
[ANSWER]
[{'concept': 'Q14660'}, 'P1001', 'Q25227']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1001 resource:Q25227 . ?z rdf:type ontology:Q14660 }
Flag of the Netherlands Antilles
1
[{'concept': 'flag'}, 'applies to jurisdiction', 'Netherlands Antilles']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:applies_to_jurisdiction resource:Netherlands_Antilles . ?z rdf:type ontology:flag }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q874405 Q853614 Q82799
USER
Which names are a component of max number of social groups or identifiers ?
(c(Q82799),P361,c(Q874405)|c(Q853614))
action argmax
action union
action find_tuple_counts
relation P361
type Q82799
type Q874405
action find_tuple_counts
relation P361
type Q82799
type Q853614
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q853614'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) ?i WHERE { { ?i property:P361 ?n . ?i rdf:type ontology:Q82799 . ?n rdf:type ontology:Q853614 } UNION { ?i property:P361 ?n . ?i rdf:type ontology:Q82799 . ?n rdf:type ontology:Q874405 } } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) ?q WHERE { VALUES ( ?a ) { ( ontology:Q874405 ) ( ontology:Q853614 ) } . ?f rdf:type ?a } GROUP BY ?q } . FILTER ( ?t = ?o ) }
action argmax
action union
action find_tuple_counts
relation part of
type name
type social group
action find_tuple_counts
relation part of
type name
type identifier
[{'concept': 'name'}, 'part of', [{'concept': 'social group'}, {'concept': 'identifier'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) ?i WHERE { { ?i property:part_of ?n . ?i rdf:type ontology:name . ?n rdf:type ontology:identifier } UNION { ?i property:part_of ?n . ?i rdf:type ontology:name . ?n rdf:type ontology:social_group } } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) ?q WHERE { VALUES ( ?a ) { ( ontology:social_group ) ( ontology:identifier ) } . ?f rdf:type ?a } GROUP BY ?q } . FILTER ( ?t = ?o ) }
[]
social group identifier name
Q16279139 Q19810530 Q21057288
SYSTEM
Máté, Han, Hester
Q19984029 Q23539781 Q16101731 Q16515753 Q27355533 Q22001585 Q26000745 Q26822115 Q19986366 Q19963541 Q20731004 Q27651197 Q21491652 Q21501467 Q27037178 Q21484983 Q12783920 Q27037174 Q27651212 Q12594770 Q27356490 Q1946932 Q21144151 Q20731003 Q27357908 Q18001608 Q26775417 Q20155939 Q26971843 Q27465067 Q18645215 Q12788667 Q19831808 Q27357598 Q21475479 Q24477965 Q21488853 Q21487329 Q24477968 Q24090443 Q20675459 Q21279602 Q16563753 Q21450326 Q21510209 Q25114460 Q27436303 Q21431253 Q20985269 Q27037161 Q355505 Q27037165 Q21498452 Q27037169 Q1513700 Q18515515 Q18808411 Q21492574 Q19688789 Q18844248 Q27678568 Q19311987 Q5646565 Q20089343 Q19672747 Q19828992 Q21043141 Q22673958 Q4082729 Q18171095 Q110874 Q26448488 Q19832245 Q26822136 Q26822137 Q27635577 Q26822132 Q19688838 Q23636060 Q26822155 Q16161715 Q11878943 Q21506948 Q2547055 Q21492983 Q21584287 Q23039002 Q27037119 Q19944848 Q21512664 Q27204774 Q18808940 Q1173421 Q27476988 Q23822720 Q21450808 Q25114459 Q27230306 Q27538384 Q16390676 Q26772804 Q26822160 Q20900701 Q26986281 Q26235096 Q26944932 Q15897047 Q27450778 Q27229561 Q26944931 Q23640302 Q3372303 Q17165817 Q26736729 Q21450395 Q27357173 Q27356099 Q1247793 Q27355703 Q27185681 Q21506801 Q27203015 Q23590373 Q27355517 Q26235204 Q21069157 Q27229604 Q23907762 Q27450583 Q27229563 Q27450587 Q15835964 Q21471177 Q20083701 Q885595 Q27203027 Q1707301 Q26822099 Q27229572 Q24573284 Q27251921 Q26868860 Q20003434 Q26877838 Q26986610 Q21502033 Q26449961 Q21452487 Q1158284 Q16876541 Q16932005 Q27642537 Q27450911 Q12788669 Q23590368 Q13639177 Q27037180 Q19944235 Q804437 Q21450555 Q27670177 Q23041619 Q1620641 Q21130107 Q808994 Q16279139 Q21447940 Q19998957 Q17505763 Q18552178 Q27356272 Q19768404 Q12036851 Q19810530 Q26822081 Q24090532 Q18228388 Q26906549 Q26742856 Q26986918 Q1703599 Q19961051 Q12020943 Q12188082 Q20010325 Q26235099 Q23578592 Q1557998 Q27133109 Q21491435 Q23767331 Q23767330 Q21507872 Q27450606 Q21508944 Q2824680 Q27450608 Q26774382 Q19550817 Q18689509 Q27355496 Q19768398 Q15813147 Q12784475 Q21431135 Q26772911 Q21484692 Q27037157 Q27651236 Q26972674 Q18402175 Q21886149 Q12785732 Q19839042 Q27450686 Q23569212 Q21492540 Q21142292 Q27450728 Q27450834 Q27450836 Q23907739 Q2287331 Q23578587 Q22348139 Q21057288 Q21476618 Q3701009 Q21484521 Q4812724 Q21534898 Q26234451 Q19550800 Q23538357 Q1737707 Q26972634 Q16175496 Q19856970 Q21143968 Q21143966 Q21450552 Q19839041 Q27450738 Q27450739 Q27131901 Q19582298 Q19688887 Q27450824 Q26220628 Q13582244 Q15789615 Q20982280 Q27450829
(c(Q82799),P361,c(Q874405)|c(Q853614))
action argmax
action union
action find_tuple_counts
relation P361
type Q82799
type Q874405
action find_tuple_counts
relation P361
type Q82799
type Q853614
[ANSWERS] are a component of max number of social groups or identifiers
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q853614'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) ?i WHERE { { ?i property:P361 ?n . ?i rdf:type ontology:Q82799 . ?n rdf:type ontology:Q853614 } UNION { ?i property:P361 ?n . ?i rdf:type ontology:Q82799 . ?n rdf:type ontology:Q874405 } } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) ?q WHERE { VALUES ( ?a ) { ( ontology:Q874405 ) ( ontology:Q853614 ) } . ?f rdf:type ?a } GROUP BY ?q } . FILTER ( ?t = ?o ) }
Minami Asami Carter Farkas Türkkan Lamont Meta Candan Brodie Cassie Crawford Littleton Esin Olivera Bainbridge Dwyer Abram Bridger Redmond Man Holly Moosa Fedde Crawford Ademola Sylvain Dalibor Clancy Ado Özgen Agostino Fabjan Loren Siemion Ersan Guibert Tyson Hewitt Guibert Matsuo Anania Regan Hunter Jayne Sierra Savva Gisbert Adamou Barrington Hakim Nobiliary particle Abner Kelso Hersey Gerlach Albano Egerton Loui Achim Rowan Sami Yoshihara Han Han Aubrey Shelley Cave Sherman Belarusian surname Armand patronymic Akiyoshi Sami Akilu Řehoř Gruffudd Wito Kaj Cassie Rauf Albin Urban Izumi Walther Regan Jabez Marshall Melvyn Eraydın Redouane Parvin Neil Davern Şentürk Malick Inal Savva Durmuş Fedde Falk Elias Chadi Nolan Seyfi Lillie Apple Percy Shigematsu Köken Apple Britt Mai Warren Olumide Hillis Cave Frenk Kinnon Eden Rickard Herschel Joby Raimond Savin Loudon Mateja Sweeney Florenz Asiedu Robison Mordaunt Mynors Prentice Man Blue Joby Tyler Ademola Aydın Laverne Lamont Cale Marielle Sanusi Addis Browning Takumi Alfonzo Heinz Máté Mai Robbie Mahrez Fabjan Raimond Jean Dalrymple Osborne Bakir Hilbert Ripley Stuart Hisataka Calvert Barry Máté Hester Paltiel Virgil Alonso Golden Courtney Michel Han Amin Minami Leonard Germann Fabiano Sabra Jordan Izumi Hunter James Ganna Lillie Aynsley Gyalwang Drukpa Arnell Norman Koren Koren Henning Wilf Finlay Ado Haym Chariton Alden Marion Milić Jonas Bas Amos Gill Abbas Neilson Řehoř Sylvester Thijs Bernard Alfonzo Berchtold Cushman Flower Clint Kingsley Gerbrand Greenbury Harouna Henrie Florian Simon Aynsley Ripley Hester Miwa Dale Romaine Ataman Fethi Rupert Alden Azuma Keefe Noah Bas Squire Herrmann Henrie Hamilton Cushman Keill Moumouni Tokiwa Melville Tone Savea Arian Dale Brady Maury Akpan
Máté, Han and Hester are a component of max number of social groups or identifiers
Máté Han Hester
action argmax
action union
action find_tuple_counts
relation part of
type name
type social group
action find_tuple_counts
relation part of
type name
type identifier
[{'concept': 'name'}, 'part of', [{'concept': 'social group'}, {'concept': 'identifier'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) ?i WHERE { { ?i property:part_of ?n . ?i rdf:type ontology:name . ?n rdf:type ontology:identifier } UNION { ?i property:part_of ?n . ?i rdf:type ontology:name . ?n rdf:type ontology:social_group } } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) ?q WHERE { VALUES ( ?a ) { ( ontology:social_group ) ( ontology:identifier ) } . ?f rdf:type ?a } GROUP BY ?q } . FILTER ( ?t = ?o ) }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P2439
Q34770 Q82799
USER
How many names have a connection with the language more number of languages than that name ?
(c(Q82799),P2439,c(Q34770))
[{'concept': 'Q82799'}, 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q34770 ?y . ?z rdf:type ontology:Q82799 . ?y rdf:type ontology:Q34770 }
[{'concept': 'name'}, 'language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:language ?y . ?z rdf:type ontology:name . ?y rdf:type ontology:language }
[]
language name
Comparative|Count over More/Less|Single entity type|Clarification
Q21057288
SYSTEM
Did you mean Hester ?
(c(Q82799),P2439,c(Q34770))
[ANSWER]
[{'concept': 'Q82799'}, 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q34770 ?y . ?z rdf:type ontology:Q82799 . ?y rdf:type ontology:Q34770 }
Did you mean Hester ?
Hester
[{'concept': 'name'}, 'language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:language ?y . ?z rdf:type ontology:name . ?y rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Máté. Could you tell me the answer for that?
(c(Q82799),P2439,c(Q34770))
Q16279139
[{'concept': 'Q82799'}, 'P2439', {'concept': 'Q34770'}]
[{'concept': 'name'}, 'language', {'concept': 'language'}]
[]
SYSTEM
2
Q12766965 Q26922379
(c(Q82799),P2439,c(Q34770))
[ANSWER]
[{'concept': 'Q82799'}, 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q34770 ?y . ?z rdf:type ontology:Q82799 . ?y rdf:type ontology:Q34770 }
Holub Saleri
2
[{'concept': 'name'}, 'language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:language ?y . ?z rdf:type ontology:name . ?y rdf:type ontology:language }
[]