Simple Question (Direct)
Simple Question
Q2625204
P21
Q290
USER
Which sex does Attilio Celant possess ?
(Q2625204,P21,c(Q290))
action filter_type
action find
entity Q2625204
relation P21
type Q290
['Q2625204', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q2625204 property:P21 ?f . ?f rdf:type ontology:Q290 }
Attilio Celant
action filter_type
action find
entity Attilio Celant
relation gender
type sex
['Attilio Celant', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Attilio_Celant property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2625204,P21,c(Q290))
action filter_type
action find
entity Q2625204
relation P21
type Q290
Attilio Celant possesses un [ANSWER]
['Q2625204', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q2625204 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
Attilio Celant possesses un male
male
action filter_type
action find
entity Attilio Celant
relation gender
type sex
['Attilio Celant', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Attilio_Celant property:gender ?f . ?f rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2625204
P27
Q15617994
USER
Which administrative territory does Attilio Celant belong to ?
(Q2625204,P27,c(Q15617994))
action filter_type
action find
entity Q2625204
relation P27
type Q15617994
['Q2625204', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q2625204 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Attilio Celant
action filter_type
action find
entity Attilio Celant
relation country of citizenship
type designation for an administrative territorial entity
['Attilio Celant', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Attilio_Celant property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q2625204,P27,c(Q15617994))
action filter_type
action find
entity Q2625204
relation P27
type Q15617994
Attilio Celant belongs to [ANSWER]
['Q2625204', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q2625204 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Italy
Attilio Celant belongs to Italy
Italy
action filter_type
action find
entity Attilio Celant
relation country of citizenship
type designation for an administrative territorial entity
['Attilio Celant', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Attilio_Celant property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2625204
P19
Q15617994
USER
Which administrative territory is the birthplace of that person ?
(Q38,P19,c(Q15617994))
action filter_type
action find
entity Q2625204
relation P19
type Q15617994
['Q38', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q2625204 property:P19 ?x . ?x rdf:type ontology:Q15617994 }
Attilio Celant
action filter_type
action find
entity Attilio Celant
relation place of birth
type designation for an administrative territorial entity
['Italy', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Attilio_Celant property:place_of_birth ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q53181
SYSTEM
Polcenigo
Q53181
(Q38,P19,c(Q15617994))
action filter_type
action find
entity Q2625204
relation P19
type Q15617994
[ANSWER] is the birthplace of that person
['Q38', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q2625204 property:P19 ?x . ?x rdf:type ontology:Q15617994 }
Polcenigo
Polcenigo is the birthplace of that person
Polcenigo
action filter_type
action find
entity Attilio Celant
relation place of birth
type designation for an administrative territorial entity
['Italy', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Attilio_Celant property:place_of_birth ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q603676
P194
Q701632 Q1752346 Q15617994
USER
How many administrative territories have approximately the same number of municipal councils or assemblies as their representative body as District of Keewatin ?
(c(Q15617994),P194,c(Q701632)|c(Q1752346))
action count
action approx
action union
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action count
action filter_multi_types
action find
entity Q603676
relation P194
type Q701632
type Q1752346
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q701632'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) ?p WHERE { VALUES ( ?i ) { ( ontology:Q701632 ) ( ontology:Q1752346 ) } . ?r rdf:type ?i } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { resource:Q603676 property:P194 ?y . { VALUES ( ?h ) { ( ontology:Q701632 ) ( ontology:Q1752346 ) } . ?y rdf:type ?h } } } . FILTER ( ?t = ?z ) }
District of Keewatin
action count
action approx
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action count
action filter_multi_types
action find
entity District of Keewatin
relation legislative body
type municipal council
type assembly
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'municipal council'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) ?p WHERE { VALUES ( ?i ) { ( ontology:municipal_council ) ( ontology:assembly ) } . ?r rdf:type ?i } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { resource:District_of_Keewatin property:legislative_body ?y . { VALUES ( ?h ) { ( ontology:municipal_council ) ( ontology:assembly ) } . ?y rdf:type ?h } } } . FILTER ( ?t = ?z ) }
[]
municipal council assembly designation for an administrative territorial entity
SYSTEM
74
Q805 Q800 Q1462 Q1250 Q1948 Q148 Q189 Q786 Q710 Q252320 Q187035 Q1460 Q3361 Q1979 Q43 Q792 Q779011 Q889 Q884 Q958 Q12574 Q153529 Q12761 Q244 Q1974 Q32 Q31 Q30 Q37 Q1447 Q104192 Q603676 Q1282 Q1284 Q3389 Q236 Q12661 Q1273 Q1279 Q1049 Q2009 Q2007 Q2003 Q1458 Q1904 Q227 Q347 Q17 Q1989 Q902 Q191 Q114 Q212 Q1210 Q917 Q736 Q34020 Q686 Q760 Q574 Q694594 Q1222 Q774 Q948 Q1016 Q27 Q1011 Q1243 Q12620 Q12626 Q672 Q1951 Q2023 Q1237
(c(Q15617994),P194,c(Q701632)|c(Q1752346))
action count
action approx
action union
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action count
action filter_multi_types
action find
entity Q603676
relation P194
type Q701632
type Q1752346
[ANSWER]
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q701632'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) ?p WHERE { VALUES ( ?i ) { ( ontology:Q701632 ) ( ontology:Q1752346 ) } . ?r rdf:type ?i } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { resource:Q603676 property:P194 ?y . { VALUES ( ?h ) { ( ontology:Q701632 ) ( ontology:Q1752346 ) } . ?y rdf:type ?h } } } . FILTER ( ?t = ?z ) }
Yemen Costa Rica Sardinia Friuli–Venezia Giulia Manitoba People's Republic of China Iceland Dominican Republic Kiribati Pleinfeld Principality of Albania Sicily Doubs Prince Edward Island Turkey El Salvador Principality of Montenegro Afghanistan South Korea South Sudan Loiret Duchy of Milan Seine-Saint-Denis Barbados British Columbia Luxembourg Belgium United States of America Lithuania Apulia Kleinmachnow District of Keewatin Lazio Abruzzo Finistère Montenegro Nord Tuscany Marche Sudan Yukon Northwest Territories Newfoundland and Labrador Calabria Ontario Azerbaijan Liechtenstein Japan Saskatchewan Bangladesh Estonia Kenya Ukraine Lombardy Bhutan Ecuador Niue Vanuatu Saint Lucia East Timor Bremen-Verden Aosta Valley Guatemala Tunisia Libya Ireland Cape Verde Veneto Mayenne Meurthe-et-Moselle Tuvalu Alberta Nunavut Trentino-South Tyrol
74
action count
action approx
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action count
action filter_multi_types
action find
entity District of Keewatin
relation legislative body
type municipal council
type assembly
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'municipal council'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) ?p WHERE { VALUES ( ?i ) { ( ontology:municipal_council ) ( ontology:assembly ) } . ?r rdf:type ?i } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { resource:District_of_Keewatin property:legislative_body ?y . { VALUES ( ?h ) { ( ontology:municipal_council ) ( ontology:assembly ) } . ?y rdf:type ?h } } } . FILTER ( ?t = ?z ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q142
P194
Q701632 Q1752346 Q15617994
USER
And how about France?
(c(Q15617994),P194,c(Q701632)|c(Q1752346))
action count
action approx
action union
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action count
action filter_multi_types
action find
entity Q142
relation P194
type Q701632
type Q1752346
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q701632'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?m ) WHERE { { ?w rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q701632 . ?w property:P194 ?x } UNION { ?w property:P194 ?x . ?w rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q1752346 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { { { ?c rdf:type ontology:Q701632 } UNION { ?c rdf:type ontology:Q1752346 } } . resource:Q142 property:P194 ?c } } . FILTER ( ?m = ?v ) }
France
action count
action approx
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action count
action filter_multi_types
action find
entity France
relation legislative body
type municipal council
type assembly
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'municipal council'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?m ) WHERE { { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:municipal_council . ?w property:legislative_body ?x } UNION { ?w property:legislative_body ?x . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:assembly } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { { { ?c rdf:type ontology:municipal_council } UNION { ?c rdf:type ontology:assembly } } . resource:France property:legislative_body ?c } } . FILTER ( ?m = ?v ) }
[]
municipal council assembly designation for an administrative territorial entity
SYSTEM
66
Q804 Q801 Q419 Q668 Q2806757 Q414 Q142 Q55 Q145 Q717 Q657 Q258 Q45 Q159 Q41 Q155 Q4628 Q1965 Q242 Q33 Q36 Q34 Q929 Q39 Q38 Q739 Q3685392 Q733 Q29999 Q854 Q153091 Q747074 Q72449 Q233 Q238 Q20 Q28 Q29 Q783 Q184 Q228 Q224 Q223 Q222 Q221 Q815731 Q96 Q229 Q697 Q298 Q754 Q750 Q213 Q211 Q214 Q215 Q218 Q219 Q16110 Q79 Q77 Q811 Q1013 Q176 Q1952 Q869
(c(Q15617994),P194,c(Q701632)|c(Q1752346))
action count
action approx
action union
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action count
action filter_multi_types
action find
entity Q142
relation P194
type Q701632
type Q1752346
[ANSWER]
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q701632'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?m ) WHERE { { ?w rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q701632 . ?w property:P194 ?x } UNION { ?w property:P194 ?x . ?w rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q1752346 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { { { ?c rdf:type ontology:Q701632 } UNION { ?c rdf:type ontology:Q1752346 } } . resource:Q142 property:P194 ?c } } . FILTER ( ?m = ?v ) }
Panama Israel Peru India 105 Mile Post Indian Reserve No. 2 Argentina France Netherlands United Kingdom Venezuela Chad South Africa Portugal Russia Greece Brazil Faroe Islands New Brunswick Belize Finland Poland Sweden Central African Republic Switzerland Italy Colombia Municipality of Monaco Paraguay Kingdom of the Netherlands Sri Lanka Duchy of Prussia comune of Italy Roccarainola Malta San Marino Norway Hungary Spain Honduras Belarus Andorra Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Mexico Cyprus Nauru Chile Trinidad and Tobago Bolivia Czech Republic Latvia Slovakia Slovenia Romania Bulgaria region of Italy Egypt Uruguay Nicaragua Lesotho Quebec Nova Scotia Thailand
66
action count
action approx
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action count
action filter_multi_types
action find
entity France
relation legislative body
type municipal council
type assembly
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'municipal council'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?m ) WHERE { { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:municipal_council . ?w property:legislative_body ?x } UNION { ?w property:legislative_body ?x . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:assembly } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { { { ?c rdf:type ontology:municipal_council } UNION { ?c rdf:type ontology:assembly } } . resource:France property:legislative_body ?c } } . FILTER ( ?m = ?v ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q216016 Q142
P530 P19
Q15617994
USER
Which administrative territories have diplomatic relationships with France or were Nahum Goldmann born in ?
OR((Q142,P530,c(Q15617994)), (Q216016,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q142
relation P530
action find
entity Q216016
relation P19
type Q15617994
{'OR': [['Q142', 'P530', {'concept': 'Q15617994'}], ['Q216016', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q216016 property:P19 ?e } UNION { resource:Q142 property:P530 ?e } } . ?e rdf:type ontology:Q15617994 }
Nahum Goldmann France
action filter_type
action union
action find
entity France
relation diplomatic relation
action find
entity Nahum Goldmann
relation place of birth
type designation for an administrative territorial entity
{'OR': [['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Nahum Goldmann', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Nahum_Goldmann property:place_of_birth ?e } UNION { resource:France property:diplomatic_relation ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q403 Q17 Q155 Q1022491 Q222 Q30 Q145 Q159 Q32 Q228
SYSTEM
Some of them are Serbia, Japan, Brazil, Vishnyeva, Albania, United States of America, United Kingdom, Russia, Luxembourg, Andorra
Q711 Q159 Q222 Q801 Q145 Q155 Q1011 Q228 Q32 Q17 Q30 Q1022491 Q399 Q27 Q403 Q38
OR((Q142,P530,c(Q15617994)), (Q216016,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q142
relation P530
action find
entity Q216016
relation P19
type Q15617994
[ANSWERS] have diplomatic relationships with France or were Nahum Goldmann born in
{'OR': [['Q142', 'P530', {'concept': 'Q15617994'}], ['Q216016', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q216016 property:P19 ?e } UNION { resource:Q142 property:P530 ?e } } . ?e rdf:type ontology:Q15617994 }
Mongolia Russia Albania Israel United Kingdom Brazil Cape Verde Andorra Luxembourg Japan United States of America Vishnyeva Armenia Ireland Serbia Italy
Serbia, Japan, Brazil, Vishnyeva, Albania, United States of America, United Kingdom, Russia, Luxembourg and Andorra have diplomatic relationships with France or were Nahum Goldmann born in
Serbia Japan Brazil Vishnyeva Albania United States of America United Kingdom Russia Luxembourg Andorra
action filter_type
action union
action find
entity France
relation diplomatic relation
action find
entity Nahum Goldmann
relation place of birth
type designation for an administrative territorial entity
{'OR': [['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Nahum Goldmann', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Nahum_Goldmann property:place_of_birth ?e } UNION { resource:France property:diplomatic_relation ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5015590 Q32
P6
Q502895
USER
Which people are the heads of the government of Luxembourg or Cabinet of Þorsteinn Pálsson ?
OR((Q32,P6,c(Q502895)), (Q5015590,P6,c(Q502895)))
action filter_type
action union
action find
entity Q32
relation P6
action find
entity Q5015590
relation P6
type Q502895
{'OR': [['Q32', 'P6', {'concept': 'Q502895'}], ['Q5015590', 'P6', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q32 property:P6 ?m } UNION { resource:Q5015590 property:P6 ?m } } . ?m rdf:type ontology:Q502895 }
Cabinet of Þorsteinn Pálsson Luxembourg
action filter_type
action union
action find
entity Luxembourg
relation head of government
action find
entity Cabinet of Þorsteinn Pálsson
relation head of government
type common name
{'OR': [['Luxembourg', 'head of government', {'concept': 'common name'}], ['Cabinet of Þorsteinn Pálsson', 'head of government', {'concept': 'common name'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Luxembourg property:head_of_government ?m } UNION { resource:Cabinet_of_Þorsteinn_Pálsson property:head_of_government ?m } } . ?m rdf:type ontology:common_name }
[]
common name
Q981324 Q57661 Q286417 Q665685 Q295128 Q315685 Q274460 Q739463 Q641102 Q561213
SYSTEM
Some of them are Pierre Prüm, Jean-Claude Juncker, Émile Reuter, Mathias Mongenast, Gaston Thorn, Joseph Bech, Édouard Thilges, Charles-Mathias Simons, Félix de Blochausen, Xavier Bettel
Q274460 Q665685 Q295128 Q335707 Q706106 Q975968 Q315685 Q561213 Q730154 Q315661 Q39659 Q945406 Q269726 Q739463 Q57661 Q738855 Q725755 Q286417 Q976032 Q641102 Q945927 Q212178 Q981324
OR((Q32,P6,c(Q502895)), (Q5015590,P6,c(Q502895)))
action filter_type
action union
action find
entity Q32
relation P6
action find
entity Q5015590
relation P6
type Q502895
[ANSWERS] are the heads of the government of Luxembourg or Cabinet of Þorsteinn Pálsson
{'OR': [['Q32', 'P6', {'concept': 'Q502895'}], ['Q5015590', 'P6', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q32 property:P6 ?m } UNION { resource:Q5015590 property:P6 ?m } } . ?m rdf:type ontology:Q502895 }
Édouard Thilges Mathias Mongenast Gaston Thorn Þorsteinn Pálsson Pierre Frieden Léon Kauffman Joseph Bech Xavier Bettel Hubert Loutsch Pierre Werner Jacques Santer Paul Eyschen Emmanuel Servais Charles-Mathias Simons Jean-Claude Juncker Jean-Jacques Willmar Gaspard-Théodore-Ignace de la Fontaine Émile Reuter Victor Thorn Félix de Blochausen Pierre Dupong Victor de Tornaco Pierre Prüm
Pierre Prüm, Jean-Claude Juncker, Émile Reuter, Mathias Mongenast, Gaston Thorn, Joseph Bech, Édouard Thilges, Charles-Mathias Simons, Félix de Blochausen and Xavier Bettel are the heads of the government of Luxembourg or Cabinet of Þorsteinn Pálsson
Pierre Prüm Jean-Claude Juncker Émile Reuter Mathias Mongenast Gaston Thorn Joseph Bech Édouard Thilges Charles-Mathias Simons Félix de Blochausen Xavier Bettel
action filter_type
action union
action find
entity Luxembourg
relation head of government
action find
entity Cabinet of Þorsteinn Pálsson
relation head of government
type common name
{'OR': [['Luxembourg', 'head of government', {'concept': 'common name'}], ['Cabinet of Þorsteinn Pálsson', 'head of government', {'concept': 'common name'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Luxembourg property:head_of_government ?m } UNION { resource:Cabinet_of_Þorsteinn_Pálsson property:head_of_government ?m } } . ?m rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1024685
P1303
Q34379 Q502895
USER
How many musical instruments can around the same number of people perform with as cabasa ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1024685
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?i ) WHERE { ?g property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:Q1024685 property:P1303 ?l . ?l rdf:type ontology:Q34379 } } . FILTER ( ?i = ?d ) }
cabasa
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity cabasa
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?i ) WHERE { ?g property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:cabasa property:instrument ?l . ?l rdf:type ontology:musical_instrument } } . FILTER ( ?i = ?d ) }
[]
musical instrument common name
SYSTEM
60
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1024685
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?i ) WHERE { ?g property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:Q1024685 property:P1303 ?l . ?l rdf:type ontology:Q34379 } } . FILTER ( ?i = ?d ) }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
60
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity cabasa
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?i ) WHERE { ?g property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:cabasa property:instrument ?l . ?l rdf:type ontology:musical_instrument } } . FILTER ( ?i = ?d ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q244976
P1303
Q34379 Q502895
USER
And how about bodhrán?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q244976
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { resource:Q244976 property:P1303 ?r . ?r rdf:type ontology:Q34379 } } . FILTER ( ?j = ?p ) . { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?j ) WHERE { ?n property:P1303 ?a . ?a rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?a } }
bodhrán
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity bodhrán
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { resource:bodhrán property:instrument ?r . ?r rdf:type ontology:musical_instrument } } . FILTER ( ?j = ?p ) . { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?j ) WHERE { ?n property:instrument ?a . ?a rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?a } }
[]
musical instrument common name
SYSTEM
60
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q244976
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { resource:Q244976 property:P1303 ?r . ?r rdf:type ontology:Q34379 } } . FILTER ( ?j = ?p ) . { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?j ) WHERE { ?n property:P1303 ?a . ?a rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?a } }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
60
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity bodhrán
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { resource:bodhrán property:instrument ?r . ?r rdf:type ontology:musical_instrument } } . FILTER ( ?j = ?p ) . { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?j ) WHERE { ?n property:instrument ?a . ?a rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?a } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q78086 Q2625204
P106
Q12737077
USER
Which occupations are the job of Attilio Celant and Günter Menges ?
AND((Q2625204,P106,c(Q12737077)), (Q78086,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q2625204
relation P106
action find
entity Q78086
relation P106
type Q12737077
{'AND': [['Q2625204', 'P106', {'concept': 'Q12737077'}], ['Q78086', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . resource:Q2625204 property:P106 ?h . resource:Q78086 property:P106 ?h }
Günter Menges Attilio Celant
action filter_type
action intersection
action find
entity Attilio Celant
relation occupation
action find
entity Günter Menges
relation occupation
type occupation
{'AND': [['Attilio Celant', 'occupation', {'concept': 'occupation'}], ['Günter Menges', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . resource:Attilio_Celant property:occupation ?h . resource:Günter_Menges property:occupation ?h }
[]
occupation
Q188094
SYSTEM
economist
Q188094
AND((Q2625204,P106,c(Q12737077)), (Q78086,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q2625204
relation P106
action find
entity Q78086
relation P106
type Q12737077
The [ANSWER] is the job of Attilio Celant and Günter Menges
{'AND': [['Q2625204', 'P106', {'concept': 'Q12737077'}], ['Q78086', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . resource:Q2625204 property:P106 ?h . resource:Q78086 property:P106 ?h }
economist
The economist is the job of Attilio Celant and Günter Menges
economist
action filter_type
action intersection
action find
entity Attilio Celant
relation occupation
action find
entity Günter Menges
relation occupation
type occupation
{'AND': [['Attilio Celant', 'occupation', {'concept': 'occupation'}], ['Günter Menges', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . resource:Attilio_Celant property:occupation ?h . resource:Günter_Menges property:occupation ?h }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P417
Q502895 Q12737077
USER
Which people are the names of the patron saint of min number of occupations ?
(c(Q12737077),P417,Q208331)
action argmin
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?h ) { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?d ) WHERE { ?r rdf:type ontology:Q502895 . ?v rdf:type ontology:Q12737077 . ?v property:P417 ?r } GROUP BY ?r } } . FILTER ( ?g = ?h ) . { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?g ) WHERE { ?t property:P417 ?u . ?u rdf:type ontology:Q502895 . ?t rdf:type ontology:Q12737077 } GROUP BY ?u } }
action argmin
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Olaf II of Norway']
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?h ) { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?d ) WHERE { ?r rdf:type ontology:common_name . ?v rdf:type ontology:occupation . ?v property:patron_saint ?r } GROUP BY ?r } } . FILTER ( ?g = ?h ) . { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?g ) WHERE { ?t property:patron_saint ?u . ?u rdf:type ontology:common_name . ?t rdf:type ontology:occupation } GROUP BY ?u } }
[]
common name occupation
Q9682 Q191479 Q346
SYSTEM
Elizabeth II, Tadeusz Kościuszko, Louis IX of France
Q2366998 Q561838 Q380092 Q129674 Q133704 Q43945 Q3922154 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q31966 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q1502088 Q8413 Q558148 Q160373 Q515953 Q1274242 Q443392 Q379685 Q191479 Q42887 Q3745904 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q145746 Q15284282 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q159834 Q63070 Q134666 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q560531 Q4161703 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q445357 Q359878 Q190240 Q210096 Q1976199 Q3724316 Q1343711 Q3663117 Q534691 Q160374 Q442516 Q920226 Q283447 Q26486 Q158504 Q130005 Q740907 Q44258 Q70991 Q318974 Q312314 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q318347 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,Q208331)
action argmin
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[ANSWERS] are the names of the patron saint of min number of occupations
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?h ) { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?d ) WHERE { ?r rdf:type ontology:Q502895 . ?v rdf:type ontology:Q12737077 . ?v property:P417 ?r } GROUP BY ?r } } . FILTER ( ?g = ?h ) . { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?g ) WHERE { ?t property:P417 ?u . ?u rdf:type ontology:Q502895 . ?t rdf:type ontology:Q12737077 } GROUP BY ?u } }
Eurosia Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Jude the Apostle Prisco di Nocera Martin I Catald Onuphrius Agnes of Bohemia Pudentiana Roger of Cannae Gotthard of Hildesheim Alexander of Comana Sebaldus Leopold III, Margrave of Austria Francis of Paola Pamphilus of Sulmona Ludger Saint David Guy of Anderlecht Stanislaus of Szczepanów Vitalis of Milan Genesio di Brescello Arnold von Arnoldsweiler Ludmila of Bohemia Apollinaris of Ravenna Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Mark the Evangelist Fidelis of Como Athanasius of Alexandria Joachim Romano martire Saint Matthias Joseph of Cupertino Silverius Francis of Assisi Donatus of Arezzo Rose of Lima Anatolia martire Saint Denis Elizabeth of Aragon Finbarr of Cork Thomas Becket Lazarus of Bethany Marcellus I Vincent Pallotti Saint Dominic Thérèse of Lisieux Saint Cunera Procopius of Sázava Judas Cyriacus Ferdinand III of Castile Thecla Peter of Verona Saint Fulk Rita of Cascia Saint Venera Maria Goretti La Mosca Victor Maurus Mark Anterus Bernard of Clairvaux Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Maximilian of Lorch Romanus of Caesarea Saint Bibiana Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Venantius of Camerino Saint Martha Stephen I of Hungary Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Maurice Anastasia of Sirmium Callixtus I Joseph Adolphus Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus Mary Magdalene Stephen I Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Suitbert of Kaiserswerdt Dimitry Prilutsky Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia James Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Saint Emeric of Hungary Simon the Zealot Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Saint Nicholas Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Martha Leo IX Henry Erasmus of Formiae Cyprian Agnes of Rome Gaudentius of Novara Emilianus of Trevi Ephysius Castrese di Sessa Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Lambert of Maastricht Ladislaus I of Hungary Clement of Ohrid Edward the Confessor Barbatus of Benevento Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Sigismund of Burgundy Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Saint Ninian Anthony of Apamea Elizabeth Ann Seton Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
Elizabeth II, Tadeusz Kościuszko and Louis IX of France are the names of the patron saint of min number of occupations
Elizabeth II Tadeusz Kościuszko Louis IX of France
action argmin
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Olaf II of Norway']
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?h ) { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?d ) WHERE { ?r rdf:type ontology:common_name . ?v rdf:type ontology:occupation . ?v property:patron_saint ?r } GROUP BY ?r } } . FILTER ( ?g = ?h ) . { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?g ) WHERE { ?t property:patron_saint ?u . ?u rdf:type ontology:common_name . ?t rdf:type ontology:occupation } GROUP BY ?u } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q34 Q222
P27
Q502895
USER
Which people are a citizen of Albania and Sweden ?
AND((c(Q502895),P27,Q222), (c(Q502895),P27,Q34))
action filter_type
action intersection
action find_reverse
entity Q222
relation P27
action find_reverse
entity Q34
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q222'], [{'concept': 'Q502895'}, 'P27', 'Q34']]}
SELECT DISTINCT ?x WHERE { ?x property:P27 resource:Q222 . ?x property:P27 resource:Q34 . ?x rdf:type ontology:Q502895 }
Sweden Albania
action filter_type
action intersection
action find_reverse
entity Albania
relation country of citizenship
action find_reverse
entity Sweden
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Albania'], [{'concept': 'common name'}, 'country of citizenship', 'Sweden']]}
SELECT DISTINCT ?x WHERE { ?x property:country_of_citizenship resource:Albania . ?x property:country_of_citizenship resource:Sweden . ?x rdf:type ontology:common_name }
[]
common name
Q6087902 Q395246
SYSTEM
Loret Sadiku, Agon Mehmeti
Q6087902 Q395246
AND((c(Q502895),P27,Q222), (c(Q502895),P27,Q34))
action filter_type
action intersection
action find_reverse
entity Q222
relation P27
action find_reverse
entity Q34
relation P27
type Q502895
[ANSWERS] are a citizen of Albania and Sweden
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q222'], [{'concept': 'Q502895'}, 'P27', 'Q34']]}
SELECT DISTINCT ?x WHERE { ?x property:P27 resource:Q222 . ?x property:P27 resource:Q34 . ?x rdf:type ontology:Q502895 }
Loret Sadiku Agon Mehmeti
Loret Sadiku and Agon Mehmeti are a citizen of Albania and Sweden
Loret Sadiku Agon Mehmeti
action filter_type
action intersection
action find_reverse
entity Albania
relation country of citizenship
action find_reverse
entity Sweden
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Albania'], [{'concept': 'common name'}, 'country of citizenship', 'Sweden']]}
SELECT DISTINCT ?x WHERE { ?x property:country_of_citizenship resource:Albania . ?x property:country_of_citizenship resource:Sweden . ?x rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q5765
P361
Q271669
USER
How many landforms are a component of United States of America or Balearic Islands ?
(c(Q271669),P361,Q30) (c(Q271669),P361,Q5765)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P361
type Q271669
action filter_type
action find_reverse
entity Q5765
relation P361
type Q271669
[{'concept': 'Q271669'}, 'P361', 'Q30'] [{'concept': 'Q271669'}, 'P361', 'Q5765']
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { ?b property:P361 resource:Q30 . ?b rdf:type ontology:Q271669 } UNION { ?b property:P361 resource:Q5765 . ?b rdf:type ontology:Q271669 } }
United States of America Balearic Islands
action count
action union
action filter_type
action find_reverse
entity United States of America
relation part of
type landform
action filter_type
action find_reverse
entity Balearic Islands
relation part of
type landform
[{'concept': 'landform'}, 'part of', 'United States of America'] [{'concept': 'landform'}, 'part of', 'Balearic Islands']
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { ?b property:part_of resource:United_States_of_America . ?b rdf:type ontology:landform } UNION { ?b property:part_of resource:Balearic_Islands . ?b rdf:type ontology:landform } }
[]
landform
SYSTEM
2
Q52636 Q8828
(c(Q271669),P361,Q30) (c(Q271669),P361,Q5765)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P361
type Q271669
action filter_type
action find_reverse
entity Q5765
relation P361
type Q271669
[ANSWER]
[{'concept': 'Q271669'}, 'P361', 'Q30'] [{'concept': 'Q271669'}, 'P361', 'Q5765']
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { ?b property:P361 resource:Q30 . ?b rdf:type ontology:Q271669 } UNION { ?b property:P361 resource:Q5765 . ?b rdf:type ontology:Q271669 } }
Minorca Majorca
2
action count
action union
action filter_type
action find_reverse
entity United States of America
relation part of
type landform
action filter_type
action find_reverse
entity Balearic Islands
relation part of
type landform
[{'concept': 'landform'}, 'part of', 'United States of America'] [{'concept': 'landform'}, 'part of', 'Balearic Islands']
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { ?b property:part_of resource:United_States_of_America . ?b rdf:type ontology:landform } UNION { ?b property:part_of resource:Balearic_Islands . ?b rdf:type ontology:landform } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P272
Q838948
USER
Which work of art had that administrative territory as the production house ?
action filter_type
action find_reverse
entity Q30
relation P272
type Q838948
SELECT DISTINCT ?k WHERE { ?k property:P272 resource:Q30 . ?k rdf:type ontology:Q838948 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation production company
type work of art
SELECT DISTINCT ?k WHERE { ?k property:production_company resource:United_States_of_America . ?k rdf:type ontology:work_of_art }
[]
work of art
Q1424889
SYSTEM
Crustacés et Coquillages
Q1424889
action filter_type
action find_reverse
entity Q30
relation P272
type Q838948
[ANSWER] had that administrative territory as the production house
SELECT DISTINCT ?k WHERE { ?k property:P272 resource:Q30 . ?k rdf:type ontology:Q838948 }
Crustacés et Coquillages
Crustacés et Coquillages had that administrative territory as the production house
Crustacés et Coquillages
action filter_type
action find_reverse
entity United States of America
relation production company
type work of art
SELECT DISTINCT ?k WHERE { ?k property:production_company resource:United_States_of_America . ?k rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1424889
P136
Q1792379
USER
What can be considered as category for that work of art ?
(Q1424889,P136,c(Q1792379))
action filter_type
action find
entity Q1424889
relation P136
type Q1792379
['Q1424889', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?r WHERE { resource:Q1424889 property:P136 ?r . ?r rdf:type ontology:Q1792379 }
Crustacés et Coquillages
action filter_type
action find
entity Crustacés et Coquillages
relation genre
type art genre
['Crustacés et Coquillages', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?r WHERE { resource:Crustacés_et_Coquillages property:genre ?r . ?r rdf:type ontology:art_genre }
[]
art genre
Q1054574 Q860626 Q157443
SYSTEM
romance film, romantic comedy, comedy film
Q860626 Q1054574 Q157443 Q842256
(Q1424889,P136,c(Q1792379))
action filter_type
action find
entity Q1424889
relation P136
type Q1792379
[ANSWERS] can be considered as category for that work of art
['Q1424889', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?r WHERE { resource:Q1424889 property:P136 ?r . ?r rdf:type ontology:Q1792379 }
romantic comedy romance film comedy film musical film
Romance film, romantic comedy and comedy film can be considered as category for that work of art
romance film romantic comedy comedy film
action filter_type
action find
entity Crustacés et Coquillages
relation genre
type art genre
['Crustacés et Coquillages', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?r WHERE { resource:Crustacés_et_Coquillages property:genre ?r . ?r rdf:type ontology:art_genre }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q228
P27 P21
Q502895
USER
Which people are a citizen of Andorra and have male as the sex ?
AND((c(Q502895),P27,Q228), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q228
relation P27
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q228'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?l WHERE { ?l property:P27 resource:Q228 . ?l property:P21 resource:Q6581097 . ?l rdf:type ontology:Q502895 }
male Andorra
action filter_type
action intersection
action find_reverse
entity Andorra
relation country of citizenship
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Andorra'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?l WHERE { ?l property:country_of_citizenship resource:Andorra . ?l property:gender resource:male . ?l rdf:type ontology:common_name }
[]
common name
Q952221 Q1690730 Q1934240 Q1403969 Q11924928 Q9383213 Q2939055 Q9025037 Q359613 Q1364412
SYSTEM
Some of them are Marc Vales, Joan Claudi Montane, Alex Antor, Felix Álvarez, Guillem de Montcada, Xavier Pérez, Carles Blasi Vidal, Luis Díez de Aux y Armendáriz, Óscar Sonejee, Josep Ayala
Q555708 Q452201 Q5921023 Q2637753 Q9255085 Q731290 Q11696851 Q20003273 Q1706315 Q11935090 Q21104117 Q3605632 Q365542 Q3014431 Q3351897 Q11936920 Q359660 Q933019 Q2857076 Q9025037 Q1618386 Q677509 Q4212873 Q330398 Q1690705 Q19997663 Q1160651 Q1373075 Q3056214 Q1795152 Q361728 Q3808579 Q1140472 Q1892608 Q3183748 Q5927262 Q359613 Q57473 Q2467036 Q3180235 Q3697387 Q350483 Q19998261 Q2522478 Q3069629 Q557764 Q3701753 Q6698952 Q1395005 Q3860168 Q2857065 Q1702400 Q737266 Q17029706 Q2618666 Q11018280 Q1267755 Q1173880 Q1703723 Q1703722 Q1703726 Q1703725 Q1332672 Q72546 Q1290084 Q3054594 Q3179627 Q3054591 Q950792 Q19902321 Q3570703 Q3183735 Q1043139 Q9383213 Q1349543 Q3835750 Q21104557 Q1400642 Q11728777 Q4351285 Q3949356 Q6965702 Q1440838 Q17309036 Q11727363 Q11767331 Q3544988 Q2597802 Q1294564 Q1557990 Q3787481 Q3052285 Q3183747 Q3183740 Q317506 Q1369512 Q1176316 Q1558949 Q3195697 Q5484533 Q217598 Q2064123 Q11936956 Q967614 Q3184102 Q20004945 Q161836 Q3184090 Q20004319 Q3163071 Q3058936 Q1354559 Q1451271 Q1441824 Q1609315 Q631539 Q1175471 Q132183 Q3018646 Q21587731 Q23714523 Q292884 Q3556939 Q24801 Q7925229 Q398974 Q3479635 Q2641483 Q16208223 Q19997886 Q3913312 Q1706304 Q1891412 Q2893282 Q3622867 Q1684229 Q2462489 Q3885878 Q2107764 Q597196 Q1140326 Q952221 Q2939065 Q379091 Q9015669 Q16206687 Q982434 Q597857 Q1753650 Q526235 Q9262062 Q372201 Q3808577 Q718275 Q374197 Q1606478 Q3365006 Q9262085 Q3608068 Q359655 Q1934240 Q654625 Q16487929 Q11916571 Q2402274 Q1043059 Q7167739 Q3808745 Q11924928 Q1086903 Q2829560 Q597309 Q1364412 Q20871388 Q312785 Q3179546 Q3430204 Q11909614 Q983691 Q597670 Q3347391 Q1708707 Q21001386 Q20003251 Q1377919 Q879315 Q4111407 Q3603436 Q1042962 Q1502230 Q720264 Q9333754 Q559215 Q21001302 Q21001195 Q429830 Q1873999 Q16169759 Q3186411 Q21402392 Q933087 Q924122 Q16623596 Q19917970 Q15961747 Q1440841 Q452908 Q3564462 Q976321 Q2304373 Q3434715 Q3703249 Q382689 Q3701677 Q1403969 Q786613 Q3819390 Q11928275 Q11280278 Q5726757 Q1140313 Q3080845 Q45331 Q1690730 Q2939055 Q16930804 Q3105855 Q1027582 Q1440843 Q684487 Q9359976 Q21153742 Q1440848 Q3808582
AND((c(Q502895),P27,Q228), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q228
relation P27
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] are a citizen of Andorra and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q228'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?l WHERE { ?l property:P27 resource:Q228 . ?l property:P21 resource:Q6581097 . ?l rdf:type ontology:Q502895 }
Sebastián Gómez Víctor Rodríguez Isak Ferriz Albert Carnice Esteve Tomas Joan Gabriel i Estany Emili Pérez Isidre Bartumeu Martínez Josep Serrano Marc Cartes i Ivern Aaron Sánchez (footballer) Adrian Rodrígues Marc Forné Molné Daniel Mateu Melción Lluis Marin Tarroch Miquel Jeroni Morell Albert Villaró Albert Salvadó Antoni Riberaygua Sasplugas Luis Díez de Aux y Armendáriz Alex Godoy Armand Godoy Andrés Capella Josep Caixal i Estradé Joan Albós Cavaliere Ahmed Keshta Dani Ferron Manolo Jiménez Éric Bataille Alexandre Martínez Manel Gibert Vallès João Pedro Lopes Leite Cristóbal Aranda Marc García Jordi Jordana Rossell Jaume Sansa Nequí Óscar Sonejee Joan Enric Vives Sicília Lluís Claret Joel Font Coma Cristian Orosa Ildefons Lima David Gálvez Casellas Victor Hugo Moreira Teixeira Ferran Mirapeix Lucas Joan Mellado Triviño Daniel Vinardell Ludovic Albós Cavaliere Joan Peruga Moisés San Nicolás Antoni Calvó-Armengol Johnny Rodríguez Gabi Riera Pablo Feo i Mato Òscar de la Riva Aguado Gerard Claret i Serra Nemesi Marqués Oste David Buxo Jordi Bazan Jordi Barra Jordi Rubio Jordi Lamelas Robert Pastor i Castillo Josep Pintat-Solans José Da Cunha Enric Tarrado Vives Joan Vinyes Dabad Enric Casadevall Medrano Emili García Bibiana Gonçalves Xavier Jordana Rossell Jordi Alcobé Font Carlos Peppe Xavier Pérez Joan Toscano Lluis Blanco Max Llovera Fernando Silva Juan González Iván Periánez Meca Santi Molins Narcís Casal de Fonsdeviela Francesc López Nick Gain Joan Verdu Sanchez Marc Oliveras Albert Llovera Xavier Espot Miró Francesc Reguera Alain Montwani Hugo Geada Emili Prats Grau Jordi Font Mariné Jordi Cinca i Mateos Henry II of Navarre Jordi Escura David Ribolleda Gérard Calvet Kevin Esteve Rigail Bonifaci López y Pulido Jaume Bartumeu Xavi Andorrà Miquel Puig Ferran Pol Josep Maria Farré Naudi Julià Reig i Roqueta Ángel Martín García Josep Dallerès Codina Jordi Mas i Torres Jaume Serra Serra Esteve López Montanya Rafael Calero Alfonso Sanchez Francisc Martínez Ricard Imbernon Sergi Moreno David Maneiro Emiliano González David Pérez Peiró Pere Canturri Montanya Pol Moya Òscar Ribas Reig Vicenç Alay Ferrer Antoni Martí Vicenç Mateu Zamora Agusti Pol Sergi Mas Balaguer Alex Rodriguez Niki Francesca Antoni Puig Guillem d'Areny-Plandolit Josep Maragues Manuel Anglada i Ferran Quino Colom Armand Fajardo Xavi Sánchez Txema Garcia Oriol Oliva Daniel García González Antoni Bernadó Cristian Roig Mauri Marc Vales Carles Verdaguer Pujantell Roger Vidosa Joan Josep Laguarda i Fenollera Joaquín de Santiyán y Valdivielso Marc Pujol Antoni Morell Roberto Jonas Juan Benlloch i Vivó Francesc Repiso Romero Samir Bousenine Joao Jourdan Juli Fernández Koldo Jordi Benet Francois Soulie Francesc Gaset Fris Albert Rodríguez Josep Enric Dallerès Alex Antor Juli Minoves Triquell Leonel Alves Daniel Estragués i Armengol Justí Guitart i Vilardebó Carlos Medina Pere López Agràs Joel Martínez Vilar Guillem de Montcada Christopher Pousa Alain Bernat Gallego Antoni Fiter i Rossell Josep Ayala Josep Oromí i Muntada Albert Pintat Joan Albert Farré Santuré Ricard de Haro Jiménez Bonaventura Mora i Munt Josep Gómes Antoni Lima Solá Hocine Haciane Josip Abella Benet Pantebre Martínez Iñaki Rubio Manzano Rossend Marsol Clua Ramon Iglesias i Navarri Ignasi Villamayor Rozados Abel Montagut Carlos Gómez Benítez Genís García Marc Bernaus Santiago Deu Francesc Antoni de la Dueña y Cisneros Alfred Llahí Segalàs Xavier Espot Zamora Xavier Gil Ludovic Clemente Pol Arias i Dourdet José Manuel García Segura Joan Baptista Desbach i Martorell Álex Somoza Jesús Julián Lucendo Xavier Vieira Vicente Marquès González David Albós Francesc Obiols Iván Lorenzo Víctor Naudi Zamora Márcio Vieira Juan Ojeda Robert Call Masià David Madeira Aniceto Antoni Sivera Daniel Mejías Felix Álvarez Salvador Casañas y Pagés Julià Reig Ribó Jordi Aymamí i Roca Enric Marfany i Gosset Bernardo Francés y Caballero Cristian Martínez Francesc Rodríguez Rossa Juli Sánchez Joan Claudi Montane Carles Blasi Vidal Luigi San Nicolás Gilbert Saboya Sunyé Joan Tomàs Roca Francesc Ramirez Joan Martí i Alanis Toni Besolí Marc Rebés Xavier Soria Joaquim Besora
Marc Vales, Joan Claudi Montane, Alex Antor, Felix Álvarez, Guillem de Montcada, Xavier Pérez, Carles Blasi Vidal, Luis Díez de Aux y Armendáriz, Óscar Sonejee and Josep Ayala are a citizen of Andorra and have male as the sex
Marc Vales Joan Claudi Montane Alex Antor Felix Álvarez Guillem de Montcada Xavier Pérez Carles Blasi Vidal Luis Díez de Aux y Armendáriz Óscar Sonejee Josep Ayala
action filter_type
action intersection
action find_reverse
entity Andorra
relation country of citizenship
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Andorra'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?l WHERE { ?l property:country_of_citizenship resource:Andorra . ?l property:gender resource:male . ?l rdf:type ontology:common_name }
[]