Simple Question (Direct)
Simple Question
Q7417254
P607
Q350604
USER
Which battle did Sandy Gall take part in ?
(Q7417254,P607,c(Q350604))
action filter_type
action find
entity Q7417254
relation P607
type Q350604
['Q7417254', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?i WHERE { resource:Q7417254 property:P607 ?i . ?i rdf:type ontology:Q350604 }
Sandy Gall
action filter_type
action find
entity Sandy Gall
relation conflict
type armed conflict
['Sandy Gall', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?i WHERE { resource:Sandy_Gall property:conflict ?i . ?i rdf:type ontology:armed_conflict }
[]
armed conflict
Q8740
SYSTEM
Vietnam War
Q8740
(Q7417254,P607,c(Q350604))
action filter_type
action find
entity Q7417254
relation P607
type Q350604
Sandy Gall took part in [ANSWER]
['Q7417254', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?i WHERE { resource:Q7417254 property:P607 ?i . ?i rdf:type ontology:Q350604 }
Vietnam War
Sandy Gall took part in Vietnam War
Vietnam War
action filter_type
action find
entity Sandy Gall
relation conflict
type armed conflict
['Sandy Gall', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?i WHERE { resource:Sandy_Gall property:conflict ?i . ?i rdf:type ontology:armed_conflict }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7417254
P1412
Q34770
USER
Which language is spoken by Sandy Gall ?
(Q7417254,P1412,c(Q34770))
action filter_type
action find
entity Q7417254
relation P1412
type Q34770
['Q7417254', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { resource:Q7417254 property:P1412 ?r . ?r rdf:type ontology:Q34770 }
Sandy Gall
action filter_type
action find
entity Sandy Gall
relation languages spoken, written or signed
type language
['Sandy Gall', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { resource:Sandy_Gall property:languages_spoken,_written_or_signed ?r . ?r rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q7417254,P1412,c(Q34770))
action filter_type
action find
entity Q7417254
relation P1412
type Q34770
Are [ANSWER] is spoken by Sandy Gall
['Q7417254', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { resource:Q7417254 property:P1412 ?r . ?r rdf:type ontology:Q34770 }
English
Are English is spoken by Sandy Gall
English
action filter_type
action find
entity Sandy Gall
relation languages spoken, written or signed
type language
['Sandy Gall', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { resource:Sandy_Gall property:languages_spoken,_written_or_signed ?r . ?r rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5833590
Q34770
USER
And what about Enrique Michel Ruiz?
(Q5833590,P1412,c(Q34770))
action filter_type
action find
entity Q5833590
relation P1412
type Q34770
['Q5833590', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q5833590 property:P1412 ?l . ?l rdf:type ontology:Q34770 }
Enrique Michel Ruiz
action filter_type
action find
entity Enrique Michel Ruiz
relation languages spoken, written or signed
type language
['Enrique Michel Ruiz', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:Enrique_Michel_Ruiz property:languages_spoken,_written_or_signed ?l . ?l rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q5833590,P1412,c(Q34770))
action filter_type
action find
entity Q5833590
relation P1412
type Q34770
[ANSWER]
['Q5833590', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q5833590 property:P1412 ?l . ?l rdf:type ontology:Q34770 }
Spanish
Spanish
action filter_type
action find
entity Enrique Michel Ruiz
relation languages spoken, written or signed
type language
['Enrique Michel Ruiz', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:Enrique_Michel_Ruiz property:languages_spoken,_written_or_signed ?l . ?l rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P2439
Q34770 Q1914636 Q151885
USER
How many languages have an association with lesser number of activities and concepts than that language ?
(c(Q1914636)|c(Q151885),P2439,c(Q34770))
action count
action less
action union
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q1914636
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q151885
action count
action filter_multi_types
action find_reverse
entity Q1321
relation P2439
type Q1914636
type Q151885
[[{'concept': 'Q1914636'}, {'concept': 'Q151885'}], 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) ?p WHERE { VALUES ( ?e ) { ( ontology:Q151885 ) ( ontology:Q1914636 ) } . ?q rdf:type ?e } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { ?g property:P2439 resource:Q1321 . { VALUES ( ?w ) { ( ontology:Q1914636 ) ( ontology:Q151885 ) } . ?g rdf:type ?w } } } . FILTER ( ?x < ?o ) }
action count
action less
action union
action find_reverse_tuple_counts
relation language
type language
type activity
action find_reverse_tuple_counts
relation language
type language
type concept
action count
action filter_multi_types
action find_reverse
entity Spanish
relation language
type activity
type concept
[[{'concept': 'activity'}, {'concept': 'concept'}], 'language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) ?p WHERE { VALUES ( ?e ) { ( ontology:concept ) ( ontology:activity ) } . ?q rdf:type ?e } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { ?g property:language resource:Spanish . { VALUES ( ?w ) { ( ontology:activity ) ( ontology:concept ) } . ?g rdf:type ?w } } } . FILTER ( ?x < ?o ) }
[]
language activity concept
SYSTEM
0
(c(Q1914636)|c(Q151885),P2439,c(Q34770))
action count
action less
action union
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q1914636
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q151885
action count
action filter_multi_types
action find_reverse
entity Q1321
relation P2439
type Q1914636
type Q151885
[ANSWER]
[[{'concept': 'Q1914636'}, {'concept': 'Q151885'}], 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) ?p WHERE { VALUES ( ?e ) { ( ontology:Q151885 ) ( ontology:Q1914636 ) } . ?q rdf:type ?e } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { ?g property:P2439 resource:Q1321 . { VALUES ( ?w ) { ( ontology:Q1914636 ) ( ontology:Q151885 ) } . ?g rdf:type ?w } } } . FILTER ( ?x < ?o ) }
0
action count
action less
action union
action find_reverse_tuple_counts
relation language
type language
type activity
action find_reverse_tuple_counts
relation language
type language
type concept
action count
action filter_multi_types
action find_reverse
entity Spanish
relation language
type activity
type concept
[[{'concept': 'activity'}, {'concept': 'concept'}], 'language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) ?p WHERE { VALUES ( ?e ) { ( ontology:concept ) ( ontology:activity ) } . ?q rdf:type ?e } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { ?g property:language resource:Spanish . { VALUES ( ?w ) { ( ontology:activity ) ( ontology:concept ) } . ?g rdf:type ?w } } } . FILTER ( ?x < ?o ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1878436 Q7417254
P27
Q15617994
USER
Which administrative territories do Sandy Gall or Luís Gonzaga Ferreira da Silva belong to ?
OR((Q7417254,P27,c(Q15617994)), (Q1878436,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7417254
relation P27
action find
entity Q1878436
relation P27
type Q15617994
{'OR': [['Q7417254', 'P27', {'concept': 'Q15617994'}], ['Q1878436', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q7417254 property:P27 ?c } UNION { resource:Q1878436 property:P27 ?c } } . ?c rdf:type ontology:Q15617994 }
Luís Gonzaga Ferreira da Silva Sandy Gall
action filter_type
action union
action find
entity Sandy Gall
relation country of citizenship
action find
entity Luís Gonzaga Ferreira da Silva
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Sandy Gall', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Luís Gonzaga Ferreira da Silva', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Sandy_Gall property:country_of_citizenship ?c } UNION { resource:Luís_Gonzaga_Ferreira_da_Silva property:country_of_citizenship ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q45 Q145
SYSTEM
Portugal, United Kingdom
Q45 Q145
OR((Q7417254,P27,c(Q15617994)), (Q1878436,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7417254
relation P27
action find
entity Q1878436
relation P27
type Q15617994
[ANSWERS] Sandy Gall or Luís Gonzaga Ferreira da Silva belong to
{'OR': [['Q7417254', 'P27', {'concept': 'Q15617994'}], ['Q1878436', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q7417254 property:P27 ?c } UNION { resource:Q1878436 property:P27 ?c } } . ?c rdf:type ontology:Q15617994 }
Portugal United Kingdom
Portugal and United Kingdom Sandy Gall or Luís Gonzaga Ferreira da Silva belong to
Portugal United Kingdom
action filter_type
action union
action find
entity Sandy Gall
relation country of citizenship
action find
entity Luís Gonzaga Ferreira da Silva
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Sandy Gall', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Luís Gonzaga Ferreira da Silva', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Sandy_Gall property:country_of_citizenship ?c } UNION { resource:Luís_Gonzaga_Ferreira_da_Silva property:country_of_citizenship ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q99628 Q5833590
P102
Q7210356
USER
Which political organizations are Enrique Michel Ruiz or Ludwig Gehre a member of ?
OR((Q5833590,P102,c(Q7210356)), (Q99628,P102,c(Q7210356)))
action filter_type
action union
action find
entity Q5833590
relation P102
action find
entity Q99628
relation P102
type Q7210356
{'OR': [['Q5833590', 'P102', {'concept': 'Q7210356'}], ['Q99628', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?a ) { ( resource:Q5833590 ) ( resource:Q99628 ) } . ?a property:P102 ?h } . ?h rdf:type ontology:Q7210356 }
Ludwig Gehre Enrique Michel Ruiz
action filter_type
action union
action find
entity Enrique Michel Ruiz
relation member of political party
action find
entity Ludwig Gehre
relation member of political party
type political organization
{'OR': [['Enrique Michel Ruiz', 'member of political party', {'concept': 'political organization'}], ['Ludwig Gehre', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?a ) { ( resource:Enrique_Michel_Ruiz ) ( resource:Ludwig_Gehre ) } . ?a property:member_of_political_party ?h } . ?h rdf:type ontology:political_organization }
[]
political organization
Q7320 Q851087
SYSTEM
Nazi Party, National Action Party
Q7320 Q851087
OR((Q5833590,P102,c(Q7210356)), (Q99628,P102,c(Q7210356)))
action filter_type
action union
action find
entity Q5833590
relation P102
action find
entity Q99628
relation P102
type Q7210356
Germany [ANSWERS] are Enrique Michel Ruiz or Ludwig Gehre a member of
{'OR': [['Q5833590', 'P102', {'concept': 'Q7210356'}], ['Q99628', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?a ) { ( resource:Q5833590 ) ( resource:Q99628 ) } . ?a property:P102 ?h } . ?h rdf:type ontology:Q7210356 }
Nazi Party National Action Party
Germany Nazi Party and National Action Party are Enrique Michel Ruiz or Ludwig Gehre a member of
Nazi Party National Action Party
action filter_type
action union
action find
entity Enrique Michel Ruiz
relation member of political party
action find
entity Ludwig Gehre
relation member of political party
type political organization
{'OR': [['Enrique Michel Ruiz', 'member of political party', {'concept': 'political organization'}], ['Ludwig Gehre', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?a ) { ( resource:Enrique_Michel_Ruiz ) ( resource:Ludwig_Gehre ) } . ?a property:member_of_political_party ?h } . ?h rdf:type ontology:political_organization }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q4905015
P361
Q7210356 Q7210356
USER
Which political organizations are a component of greater number of political organizations than Renziani ?
(c(Q7210356),P361,c(Q7210356))
action greater
action find_tuple_counts
relation P361
type Q7210356
type Q7210356
action count
action filter_type
action find
entity Q4905015
relation P361
type Q7210356
[{'concept': 'Q7210356'}, 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?e ) WHERE { ?c property:P361 ?t . ?c rdf:type ontology:Q7210356 . ?t rdf:type ontology:Q7210356 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { resource:Q4905015 property:P361 ?i . ?i rdf:type ontology:Q7210356 } } . FILTER ( ?e > ?f ) }
Renziani
action greater
action find_tuple_counts
relation part of
type political organization
type political organization
action count
action filter_type
action find
entity Renziani
relation part of
type political organization
[{'concept': 'political organization'}, 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?e ) WHERE { ?c property:part_of ?t . ?c rdf:type ontology:political_organization . ?t rdf:type ontology:political_organization } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { resource:Renziani property:part_of ?i . ?i rdf:type ontology:political_organization } } . FILTER ( ?e > ?f ) }
[]
political organization political organization
Q47750 Q1428001 Q780997
SYSTEM
Northern League, Party of Italian Communists, Communist Refoundation Party
Q1076494 Q786791 Q780997 Q2277776 Q286140 Q692736 Q1428001 Q577337 Q1546314 Q1170281 Q1233269 Q47768 Q47750
(c(Q7210356),P361,c(Q7210356))
action greater
action find_tuple_counts
relation P361
type Q7210356
type Q7210356
action count
action filter_type
action find
entity Q4905015
relation P361
type Q7210356
[ANSWERS] are a component of greater number of political organizations than Renziani
[{'concept': 'Q7210356'}, 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?e ) WHERE { ?c property:P361 ?t . ?c rdf:type ontology:Q7210356 . ?t rdf:type ontology:Q7210356 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { resource:Q4905015 property:P361 ?i . ?i rdf:type ontology:Q7210356 } } . FILTER ( ?e > ?f ) }
Italian Liberal Party Federation of Italian Liberals Communist Refoundation Party Liberal Democrats Left, Ecology and Freedom The Right Party of Italian Communists European Republicans Movement UDEUR Populars for the South Fortza Paris Movement for Autonomies Italy of Values Northern League
Northern League, Party of Italian Communists and Communist Refoundation Party are a component of greater number of political organizations than Renziani
Northern League Party of Italian Communists Communist Refoundation Party
action greater
action find_tuple_counts
relation part of
type political organization
type political organization
action count
action filter_type
action find
entity Renziani
relation part of
type political organization
[{'concept': 'political organization'}, 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?e ) WHERE { ?c property:part_of ?t . ?c rdf:type ontology:political_organization . ?t rdf:type ontology:political_organization } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { resource:Renziani property:part_of ?i . ?i rdf:type ontology:political_organization } } . FILTER ( ?e > ?f ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q2632305
P361
Q7210356 Q7210356
USER
And how about Christian Democracy for Autonomies?
(c(Q7210356),P361,c(Q7210356))
action greater
action find_tuple_counts
relation P361
type Q7210356
type Q7210356
action count
action filter_type
action find
entity Q2632305
relation P361
type Q7210356
[{'concept': 'Q7210356'}, 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?w ) WHERE { ?z property:P361 ?j . ?z rdf:type ontology:Q7210356 . ?j rdf:type ontology:Q7210356 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { resource:Q2632305 property:P361 ?q . ?q rdf:type ontology:Q7210356 } } . FILTER ( ?w > ?t ) }
Christian Democracy for Autonomies
action greater
action find_tuple_counts
relation part of
type political organization
type political organization
action count
action filter_type
action find
entity Christian Democracy for Autonomies
relation part of
type political organization
[{'concept': 'political organization'}, 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?w ) WHERE { ?z property:part_of ?j . ?z rdf:type ontology:political_organization . ?j rdf:type ontology:political_organization } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { resource:Christian_Democracy_for_Autonomies property:part_of ?q . ?q rdf:type ontology:political_organization } } . FILTER ( ?w > ?t ) }
[]
political organization political organization
Q304191 Q47750 Q1450384
SYSTEM
National Coalition Party, Northern League, Italian Radicals
Q5603049 Q5603048 Q110837 Q2069252 Q7314640 Q7058484 Q5253276 Q119763 Q7551682 Q20643122 Q20643123 Q5684363 Q6904239 Q4245186 Q1076494 Q3366814 Q17183867 Q7551709 Q1450384 Q6064351 Q1558808 Q7314652 Q786791 Q6925156 Q6784247 Q5603011 Q780997 Q7972236 Q16825027 Q7129523 Q5255722 Q5255720 Q5255727 Q5255726 Q6879122 Q47729 Q6851933 Q895181 Q2277776 Q6625187 Q2246227 Q15980801 Q1781065 Q771914 Q286140 Q7551659 Q6540768 Q7921703 Q178216 Q7551542 Q11833539 Q4791317 Q1515182 Q6837512 Q2130137 Q1470185 Q6016645 Q5255714 Q6508513 Q832685 Q7080791 Q1359302 Q7566598 Q692736 Q1428001 Q5603018 Q2167704 Q3319217 Q7314631 Q7700059 Q7003402 Q7886425 Q47795 Q3366809 Q5603055 Q6023387 Q5602972 Q5602976 Q5603002 Q5461304 Q3345101 Q6736346 Q19604410 Q7981882 Q837159 Q7084151 Q16939363 Q3896756 Q16561954 Q3829442 Q3150482 Q577337 Q3174289 Q958419 Q5602966 Q7054469 Q6517170 Q7551666 Q1757843 Q1546314 Q5987342 Q4905015 Q7707623 Q7008134 Q2792033 Q1170281 Q5602992 Q2186595 Q1233269 Q9284332 Q3179541 Q1937395 Q7314655 Q15980791 Q7163696 Q7902341 Q47768 Q4693914 Q7055038 Q8058184 Q8027182 Q3098498 Q852402 Q6392267 Q2382402 Q4708523 Q4986433 Q6984707 Q47750 Q304191 Q7055001 Q7551690 Q7551691 Q6516925 Q3556135 Q946862 Q24283702 Q5203383 Q3366683 Q4791288
(c(Q7210356),P361,c(Q7210356))
action greater
action find_tuple_counts
relation P361
type Q7210356
type Q7210356
action count
action filter_type
action find
entity Q2632305
relation P361
type Q7210356
[ANSWERS]
[{'concept': 'Q7210356'}, 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?w ) WHERE { ?z property:P361 ?j . ?z rdf:type ontology:Q7210356 . ?j rdf:type ontology:Q7210356 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { resource:Q2632305 property:P361 ?q . ?q rdf:type ontology:Q7210356 } } . FILTER ( ?w > ?t ) }
Green Party of Texas Green Party of Tennessee Left Party United Pensioners Republican Party of Arkansas Northern Ireland Conservatives Delaware Democratic Party Autonomist Federation Socialist Party of Kansas Green Party of Louisiana Montana Green Party Hawaiʻi Republican Party Montana Democratic Party Lega Nord Piemont Italian Liberal Party Illinois Green Party Iowa Green Party Socialist Party of Texas Italian Radicals Iowa Democratic Party Stalwarts Republican Party of Guam Federation of Italian Liberals Mountain Party Massachusetts Democratic Party Green Party of Michigan Communist Refoundation Party Washington State Democratic Party American Constitution Party Pan-democracy camp Democratic Party of Oregon Democratic Party of New Mexico Democratic Party of Wisconsin Democratic Party of Virginia Mississippi Democratic Party Democratic Party Militant faction Bourbon Democrat Liberal Democrats Liberal Party of Australia (New South Wales Division) Lega Lombarda Iraqi Independence Party Communist party of Slovakia (1948) United Democratic Christians Left, Ecology and Freedom Socialist Party of California Liberal Party of Geneva Vermont Democratic Party Alliance for Italy Socialist Democracy Radical Republican Arizona Green Party Alaskan Independence Party Michigan Democratic Party Constitution Party of Montana National Front Independent Greens of Virginia Democratic Party of Georgia Australian Labor Party (New South Wales Branch) Welsh Labour Ohio Democratic Party Half-Breed South Carolina Green Party The Right Party of Italian Communists Green Party of Ohio Social Democratic Party "Harmony" I the South Republican Party Tennessee Democratic Party Nevada Democratic Party Union for Democracy and National Solidarity Future and Freedom Green-Rainbow Party Green Party of Washington State Indiana Republican Party Green Party of Arkansas Green Party of California Green Party of Florida Florida Democratic Party New Democrats Maine Democratic Party Green Party of Mississippi Welsh Conservative Party Communist Party of India Old Guard faction Green Party of Delaware Southern Democratic Party Green Italy Venetian Autonomy League Independence Republic of Sardinia European Republicans Movement Vermont Republican Party Liga Veneta Green Party of Alaska North Carolina Democratic Party Lega Nord Trentino Socialist Party of Connecticut Brothers of Italy UDEUR Populars for the South Idaho Democratic Party Renziani Texas Democratic Party New Hampshire Democratic Party Civic Choice Fortza Paris Green Party of Colorado Constitution Party of Oregon Movement for Autonomies Independence Party of Minnesota Scottish Labour Party Minnesota Democratic–Farmer–Labor Party Republican Party of Iowa North Carolina Green Party Pennsylvania Democratic Party Utah Democratic Party Italy of Values Agricultural Party of Greece North Dakota Republican Party Young Independence Wisconsin Green Party The Greens Democratic Liberal Party Kentucky Green Party Popular Action Alaska Democratic Party Builders and Managers of Freedom and Democracy Nebraska Democratic Party Northern League National Coalition Party North Dakota Democratic-Nonpartisan League Party Socialist Party of Michigan Socialist Party of New Jersey Left Wing Section of the Socialist Party Toward North Consumers' List Alternative Greens D.C. Statehood Green Party Illinois Republican Party Arizona Democratic Party
National Coalition Party Northern League Italian Radicals
action greater
action find_tuple_counts
relation part of
type political organization
type political organization
action count
action filter_type
action find
entity Christian Democracy for Autonomies
relation part of
type political organization
[{'concept': 'political organization'}, 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?w ) WHERE { ?z property:part_of ?j . ?z rdf:type ontology:political_organization . ?j rdf:type ontology:political_organization } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { resource:Christian_Democracy_for_Autonomies property:part_of ?q . ?q rdf:type ontology:political_organization } } . FILTER ( ?w > ?t ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1860 Q9288
P407
Q2031291
USER
How many releases use English and Hebrew as language ?
(c(Q2031291),P407,Q1860) (c(Q2031291),P407,Q9288)
action count
action intersection
action filter_type
action find_reverse
entity Q1860
relation P407
type Q2031291
action filter_type
action find_reverse
entity Q9288
relation P407
type Q2031291
[{'concept': 'Q2031291'}, 'P407', 'Q1860'] [{'concept': 'Q2031291'}, 'P407', 'Q9288']
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { ?x property:P407 resource:Q1860 . ?x rdf:type ontology:Q2031291 . ?x property:P407 resource:Q9288 . ?x rdf:type ontology:Q2031291 }
English Hebrew
action count
action intersection
action filter_type
action find_reverse
entity English
relation language of work or name
type release
action filter_type
action find_reverse
entity Hebrew
relation language of work or name
type release
[{'concept': 'release'}, 'language of work or name', 'English'] [{'concept': 'release'}, 'language of work or name', 'Hebrew']
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { ?x property:language_of_work_or_name resource:English . ?x rdf:type ontology:release . ?x property:language_of_work_or_name resource:Hebrew . ?x rdf:type ontology:release }
[]
release
SYSTEM
3
Q831449 Q5453899 Q5161861
(c(Q2031291),P407,Q1860) (c(Q2031291),P407,Q9288)
action count
action intersection
action filter_type
action find_reverse
entity Q1860
relation P407
type Q2031291
action filter_type
action find_reverse
entity Q9288
relation P407
type Q2031291
[ANSWER]
[{'concept': 'Q2031291'}, 'P407', 'Q1860'] [{'concept': 'Q2031291'}, 'P407', 'Q9288']
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { ?x property:P407 resource:Q1860 . ?x rdf:type ontology:Q2031291 . ?x property:P407 resource:Q9288 . ?x rdf:type ontology:Q2031291 }
HaSheket SheNish'ar First Time Connie Francis Sings Jewish Favorites
3
action count
action intersection
action filter_type
action find_reverse
entity English
relation language of work or name
type release
action filter_type
action find_reverse
entity Hebrew
relation language of work or name
type release
[{'concept': 'release'}, 'language of work or name', 'English'] [{'concept': 'release'}, 'language of work or name', 'Hebrew']
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { ?x property:language_of_work_or_name resource:English . ?x rdf:type ontology:release . ?x property:language_of_work_or_name resource:Hebrew . ?x rdf:type ontology:release }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1860
P921
Q2342494
USER
Which collectable was primarily based on that language ?
action filter_type
action find_reverse
entity Q1860
relation P921
type Q2342494
SELECT DISTINCT ?w WHERE { ?w property:P921 resource:Q1860 . ?w rdf:type ontology:Q2342494 }
English
action filter_type
action find_reverse
entity English
relation main subject
type collectable
SELECT DISTINCT ?w WHERE { ?w property:main_subject resource:English . ?w rdf:type ontology:collectable }
[]
collectable
Q1210346
SYSTEM
A Dictionary of the English Language
Q1210346
action filter_type
action find_reverse
entity Q1860
relation P921
type Q2342494
[ANSWER] was primarily based on that language
SELECT DISTINCT ?w WHERE { ?w property:P921 resource:Q1860 . ?w rdf:type ontology:Q2342494 }
A Dictionary of the English Language
A Dictionary of the English Language was primarily based on that language
A Dictionary of the English Language
action filter_type
action find_reverse
entity English
relation main subject
type collectable
SELECT DISTINCT ?w WHERE { ?w property:main_subject resource:English . ?w rdf:type ontology:collectable }
[]