Simple Question (Direct)
Simple Question
Q1510128
P1412
Q34770
USER
Which language can Gerard Braunthal understand ?
(Q1510128,P1412,c(Q34770))
action filter_type
action find
entity Q1510128
relation P1412
type Q34770
['Q1510128', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q1510128 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
Gerard Braunthal
action filter_type
action find
entity Gerard Braunthal
relation languages spoken, written or signed
type language
['Gerard Braunthal', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Gerard_Braunthal property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1510128,P1412,c(Q34770))
action filter_type
action find
entity Q1510128
relation P1412
type Q34770
Gerard Braunthal can understand [ANSWER]
['Q1510128', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q1510128 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
English
Gerard Braunthal can understand English
English
action filter_type
action find
entity Gerard Braunthal
relation languages spoken, written or signed
type language
['Gerard Braunthal', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Gerard_Braunthal property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1510128
P21
Q290
USER
What is the sex of that person ?
(Q1860,P21,c(Q290))
action filter_type
action find
entity Q1510128
relation P21
type Q290
['Q1860', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q1510128 property:P21 ?x . ?x rdf:type ontology:Q290 }
Gerard Braunthal
action filter_type
action find
entity Gerard Braunthal
relation gender
type sex
['English', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Gerard_Braunthal property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1860,P21,c(Q290))
action filter_type
action find
entity Q1510128
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q1860', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q1510128 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Gerard Braunthal
relation gender
type sex
['English', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Gerard_Braunthal property:gender ?x . ?x rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1510128
P19
Q515
USER
Which city was that person born in ?
(Q6581097,P19,c(Q515))
action filter_type
action find
entity Q1510128
relation P19
type Q515
['Q6581097', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q515 . resource:Q1510128 property:P19 ?p }
Gerard Braunthal
action filter_type
action find
entity Gerard Braunthal
relation place of birth
type city
['male', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:city . resource:Gerard_Braunthal property:place_of_birth ?p }
[]
city
Q3750
SYSTEM
Gera
Q3750
(Q6581097,P19,c(Q515))
action filter_type
action find
entity Q1510128
relation P19
type Q515
That person was born in [ANSWER]
['Q6581097', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q515 . resource:Q1510128 property:P19 ?p }
Gera
That person was born in Gera
Gera
action filter_type
action find
entity Gerard Braunthal
relation place of birth
type city
['male', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:city . resource:Gerard_Braunthal property:place_of_birth ?p }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q3750 Q183
P17
Q1048835
USER
Does that city belong to Germany ?
(Q3750,P17,Q183)
action is_in
entity Q183
action find
entity Q3750
relation P17
['Q3750', 'P17', 'Q183']
ASK WHERE { resource:Q3750 property:P17 resource:Q183 }
Gera Germany
action is_in
entity Germany
action find
entity Gera
relation country
['Gera', 'country', 'Germany']
ASK WHERE { resource:Gera property:country resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q3750,P17,Q183)
action is_in
entity Q183
action find
entity Q3750
relation P17
[ANSWER]
['Q3750', 'P17', 'Q183']
ASK WHERE { resource:Q3750 property:P17 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Gera
relation country
['Gera', 'country', 'Germany']
ASK WHERE { resource:Gera property:country resource:Germany }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P190
Q515 Q15617994 Q515
USER
Which cities are sister towns of max number of administrative territories or cities ?
(c(Q15617994)|c(Q515),P190,c(Q515))
action argmax
action union
action find_reverse_tuple_counts
relation P190
type Q515
type Q15617994
action find_reverse_tuple_counts
relation P190
type Q515
type Q515
[[{'concept': 'Q15617994'}, {'concept': 'Q515'}], 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) ?p WHERE { ?v rdf:type ?b . VALUES ( ?b ) { ( ontology:Q15617994 ) ( ontology:Q515 ) } } GROUP BY ?p } } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) ?n WHERE { { ?e property:P190 ?n . ?n rdf:type ontology:Q515 . ?e rdf:type ontology:Q15617994 } UNION { ?e property:P190 ?n . ?e rdf:type ontology:Q515 . ?n rdf:type ontology:Q515 } } GROUP BY ?n } . FILTER ( ?a = ?y ) }
action argmax
action union
action find_reverse_tuple_counts
relation sister city
type city
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation sister city
type city
type city
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'city'}], 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) ?p WHERE { ?v rdf:type ?b . VALUES ( ?b ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:city ) } } GROUP BY ?p } } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) ?n WHERE { { ?e property:sister_city ?n . ?n rdf:type ontology:city . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?e property:sister_city ?n . ?e rdf:type ontology:city . ?n rdf:type ontology:city } } GROUP BY ?n } . FILTER ( ?a = ?y ) }
[]
city designation for an administrative territorial entity city
Q42622
SYSTEM
Suzhou
Q42622
(c(Q15617994)|c(Q515),P190,c(Q515))
action argmax
action union
action find_reverse_tuple_counts
relation P190
type Q515
type Q15617994
action find_reverse_tuple_counts
relation P190
type Q515
type Q515
[ANSWER] is sister towns of max number of administrative territories or cities
[[{'concept': 'Q15617994'}, {'concept': 'Q515'}], 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) ?p WHERE { ?v rdf:type ?b . VALUES ( ?b ) { ( ontology:Q15617994 ) ( ontology:Q515 ) } } GROUP BY ?p } } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) ?n WHERE { { ?e property:P190 ?n . ?n rdf:type ontology:Q515 . ?e rdf:type ontology:Q15617994 } UNION { ?e property:P190 ?n . ?e rdf:type ontology:Q515 . ?n rdf:type ontology:Q515 } } GROUP BY ?n } . FILTER ( ?a = ?y ) }
Suzhou
Suzhou is sister towns of max number of administrative territories or cities
Suzhou
action argmax
action union
action find_reverse_tuple_counts
relation sister city
type city
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation sister city
type city
type city
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'city'}], 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) ?p WHERE { ?v rdf:type ?b . VALUES ( ?b ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:city ) } } GROUP BY ?p } } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) ?n WHERE { { ?e property:sister_city ?n . ?n rdf:type ontology:city . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?e property:sister_city ?n . ?e rdf:type ontology:city . ?n rdf:type ontology:city } } GROUP BY ?n } . FILTER ( ?a = ?y ) }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q42622 Q1756917
P190
Q515
USER
Is Sobotka twin town of that one ?
(Q1756917,P190,Q42622)
action is_in
entity Q1756917
action find
entity Q42622
relation P190
['Q1756917', 'P190', 'Q42622']
ASK WHERE { resource:Q42622 property:P190 resource:Q1756917 }
Suzhou Sobotka
action is_in
entity Sobotka
action find
entity Suzhou
relation sister city
['Sobotka', 'sister city', 'Suzhou']
ASK WHERE { resource:Suzhou property:sister_city resource:Sobotka }
[]
city
SYSTEM
NO
(Q1756917,P190,Q42622)
action is_in
entity Q1756917
action find
entity Q42622
relation P190
[ANSWER]
['Q1756917', 'P190', 'Q42622']
ASK WHERE { resource:Q42622 property:P190 resource:Q1756917 }
No
action is_in
entity Sobotka
action find
entity Suzhou
relation sister city
['Sobotka', 'sister city', 'Suzhou']
ASK WHERE { resource:Suzhou property:sister_city resource:Sobotka }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q918195 Q3750
P190
Q56061
USER
Which administrative territories are the sister cities of Gera or Ocala ?
OR((Q3750,P190,c(Q56061)), (Q918195,P190,c(Q56061)))
action filter_type
action union
action find
entity Q3750
relation P190
action find
entity Q918195
relation P190
type Q56061
{'OR': [['Q3750', 'P190', {'concept': 'Q56061'}], ['Q918195', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?x ) { ( resource:Q918195 ) ( resource:Q3750 ) } . ?x property:P190 ?m } . ?m rdf:type ontology:Q56061 }
Ocala Gera
action filter_type
action union
action find
entity Gera
relation sister city
action find
entity Ocala
relation sister city
type administrative territorial entity
{'OR': [['Gera', 'sister city', {'concept': 'administrative territorial entity'}], ['Ocala', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?x ) { ( resource:Ocala ) ( resource:Gera ) } . ?x property:sister_city ?m } . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q43453 Q49268 Q13375 Q2090 Q908 Q2214 Q178385 Q1310 Q162279
SYSTEM
Plzeň, Fort Wayne, Pisa, Nuremberg, Rostov-on-Don, Pskov, Sliven, Arnhem, Kuopio
Q43453 Q49268 Q13375 Q2090 Q908 Q2214 Q178385 Q1310 Q162279
OR((Q3750,P190,c(Q56061)), (Q918195,P190,c(Q56061)))
action filter_type
action union
action find
entity Q3750
relation P190
action find
entity Q918195
relation P190
type Q56061
[ANSWERS] are the sister cities of Gera or Ocala
{'OR': [['Q3750', 'P190', {'concept': 'Q56061'}], ['Q918195', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?x ) { ( resource:Q918195 ) ( resource:Q3750 ) } . ?x property:P190 ?m } . ?m rdf:type ontology:Q56061 }
Plzeň Fort Wayne Pisa Nuremberg Rostov-on-Don Pskov Sliven Arnhem Kuopio
Plzeň, Fort Wayne, Pisa, Nuremberg, Rostov-on-Don, Pskov, Sliven, Arnhem and Kuopio are the sister cities of Gera or Ocala
Plzeň Fort Wayne Pisa Nuremberg Rostov-on-Don Pskov Sliven Arnhem Kuopio
action filter_type
action union
action find
entity Gera
relation sister city
action find
entity Ocala
relation sister city
type administrative territorial entity
{'OR': [['Gera', 'sister city', {'concept': 'administrative territorial entity'}], ['Ocala', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?x ) { ( resource:Ocala ) ( resource:Gera ) } . ?x property:sister_city ?m } . ?m rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2090
P361
Q7275
USER
What is Nuremberg a part of ?
(Q2090,P361,c(Q7275))
action filter_type
action find
entity Q2090
relation P361
type Q7275
['Q2090', 'P361', {'concept': 'Q7275'}]
SELECT DISTINCT ?x WHERE { resource:Q2090 property:P361 ?x . ?x rdf:type ontology:Q7275 }
Nuremberg
action filter_type
action find
entity Nuremberg
relation part of
type state
['Nuremberg', 'part of', {'concept': 'state'}]
SELECT DISTINCT ?x WHERE { resource:Nuremberg property:part_of ?x . ?x rdf:type ontology:state }
[]
state
Q980
SYSTEM
Bavaria
Q980
(Q2090,P361,c(Q7275))
action filter_type
action find
entity Q2090
relation P361
type Q7275
Nuremberg a part of is in [ANSWER]
['Q2090', 'P361', {'concept': 'Q7275'}]
SELECT DISTINCT ?x WHERE { resource:Q2090 property:P361 ?x . ?x rdf:type ontology:Q7275 }
Bavaria
Nuremberg a part of is in Bavaria
Bavaria
action filter_type
action find
entity Nuremberg
relation part of
type state
['Nuremberg', 'part of', {'concept': 'state'}]
SELECT DISTINCT ?x WHERE { resource:Nuremberg property:part_of ?x . ?x rdf:type ontology:state }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q314690
P194
Q1752346 Q7275
USER
How many assemblies are the legislative bodies for greater number of states than Landtag of Rhineland-Palatinate ?
(c(Q7275),P194,c(Q1752346))
action count
action greater
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
action count
action filter_type
action find
entity Q314690
relation P194
type Q1752346
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?c ) WHERE { ?k property:P194 ?r . ?r rdf:type ontology:Q1752346 . ?k rdf:type ontology:Q7275 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { ?e rdf:type ontology:Q1752346 . resource:Q314690 property:P194 ?e } } . FILTER ( ?c > ?v ) }
Landtag of Rhineland-Palatinate
action count
action greater
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
action count
action filter_type
action find
entity Landtag of Rhineland-Palatinate
relation legislative body
type assembly
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?c ) WHERE { ?k property:legislative_body ?r . ?r rdf:type ontology:assembly . ?k rdf:type ontology:state } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { ?e rdf:type ontology:assembly . resource:Landtag_of_Rhineland-Palatinate property:legislative_body ?e } } . FILTER ( ?c > ?v ) }
[]
assembly state
SYSTEM
35
Q949699 Q17063844 Q1283189 Q1889821 Q1813360 Q650248 Q641439 Q2282872 Q11010 Q1371388 Q371576 Q1116283 Q643412 Q17064146 Q2739604 Q1130737 Q648716 Q35749 Q1484825 Q157638 Q219825 Q321246 Q7253170 Q697775 Q632552 Q1269552 Q878525 Q639704 Q1320418 Q7447087 Q3393882 Q219692 Q637829 Q667464 Q189445
(c(Q7275),P194,c(Q1752346))
action count
action greater
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
action count
action filter_type
action find
entity Q314690
relation P194
type Q1752346
[ANSWER]
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?c ) WHERE { ?k property:P194 ?r . ?r rdf:type ontology:Q1752346 . ?k rdf:type ontology:Q7275 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { ?e rdf:type ontology:Q1752346 . resource:Q314690 property:P194 ?e } } . FILTER ( ?c > ?v ) }
National Congress of Brasil Kampuchean People's Representative Assembly Estates of Aruba Irish Parliament Parliament of Romania Landtag of Prussia Landtag of Bavaria diet Parliament of the United Kingdom States General Parliament of Croatia National Assembly Parliament of Finland Parliament of the Khmer Republic Parliament of Great Britain Parliament of England National Assembly parliament Congress of the Union Frankfurt Parliament National Convention Reichstag Prussian estates Imperial Council French Parliament Dáil Éireann Reichstag National Assembly Parliament of Cambodia Sejm of the Duchy of Warsaw Junta of the Kingdom of Galicia Cortes Generales Reichstag Diet of Galicia and Lodomeria bicameral legislature
35
action count
action greater
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
action count
action filter_type
action find
entity Landtag of Rhineland-Palatinate
relation legislative body
type assembly
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?c ) WHERE { ?k property:legislative_body ?r . ?r rdf:type ontology:assembly . ?k rdf:type ontology:state } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { ?e rdf:type ontology:assembly . resource:Landtag_of_Rhineland-Palatinate property:legislative_body ?e } } . FILTER ( ?c > ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q2041767
P194
Q1752346 Q7275
USER
And how about Moscow City Duma?
(c(Q7275),P194,c(Q1752346))
action count
action greater
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
action count
action filter_type
action find
entity Q2041767
relation P194
type Q1752346
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?x ) WHERE { ?f property:P194 ?i . ?i rdf:type ontology:Q1752346 . ?f rdf:type ontology:Q7275 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { ?l rdf:type ontology:Q1752346 . resource:Q2041767 property:P194 ?l } } . FILTER ( ?x > ?u ) }
Moscow City Duma
action count
action greater
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
action count
action filter_type
action find
entity Moscow City Duma
relation legislative body
type assembly
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?x ) WHERE { ?f property:legislative_body ?i . ?i rdf:type ontology:assembly . ?f rdf:type ontology:state } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { ?l rdf:type ontology:assembly . resource:Moscow_City_Duma property:legislative_body ?l } } . FILTER ( ?x > ?u ) }
[]
assembly state
SYSTEM
35
Q949699 Q17063844 Q1283189 Q1889821 Q1813360 Q650248 Q641439 Q2282872 Q11010 Q1371388 Q371576 Q1116283 Q643412 Q17064146 Q2739604 Q1130737 Q648716 Q35749 Q1484825 Q157638 Q219825 Q321246 Q7253170 Q697775 Q632552 Q1269552 Q878525 Q639704 Q1320418 Q7447087 Q3393882 Q219692 Q637829 Q667464 Q189445
(c(Q7275),P194,c(Q1752346))
action count
action greater
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
action count
action filter_type
action find
entity Q2041767
relation P194
type Q1752346
[ANSWER]
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?x ) WHERE { ?f property:P194 ?i . ?i rdf:type ontology:Q1752346 . ?f rdf:type ontology:Q7275 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { ?l rdf:type ontology:Q1752346 . resource:Q2041767 property:P194 ?l } } . FILTER ( ?x > ?u ) }
National Congress of Brasil Kampuchean People's Representative Assembly Estates of Aruba Irish Parliament Parliament of Romania Landtag of Prussia Landtag of Bavaria diet Parliament of the United Kingdom States General Parliament of Croatia National Assembly Parliament of Finland Parliament of the Khmer Republic Parliament of Great Britain Parliament of England National Assembly parliament Congress of the Union Frankfurt Parliament National Convention Reichstag Prussian estates Imperial Council French Parliament Dáil Éireann Reichstag National Assembly Parliament of Cambodia Sejm of the Duchy of Warsaw Junta of the Kingdom of Galicia Cortes Generales Reichstag Diet of Galicia and Lodomeria bicameral legislature
35
action count
action greater
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
action count
action filter_type
action find
entity Moscow City Duma
relation legislative body
type assembly
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?x ) WHERE { ?f property:legislative_body ?i . ?i rdf:type ontology:assembly . ?f rdf:type ontology:state } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { ?l rdf:type ontology:assembly . resource:Moscow_City_Duma property:legislative_body ?l } } . FILTER ( ?x > ?u ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q2090 Q4775149
P17
Q1048835
USER
How many political territories are Nuremberg or Antiquarian Booksellers Association of Canada present in ?
(Q2090,P17,c(Q1048835)) (Q4775149,P17,c(Q1048835))
action count
action union
action filter_type
action find
entity Q2090
relation P17
type Q1048835
action filter_type
action find
entity Q4775149
relation P17
type Q1048835
['Q2090', 'P17', {'concept': 'Q1048835'}] ['Q4775149', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { { resource:Q4775149 property:P17 ?n . ?n rdf:type ontology:Q1048835 } UNION { resource:Q2090 property:P17 ?n . ?n rdf:type ontology:Q1048835 } }
Nuremberg Antiquarian Booksellers Association of Canada
action count
action union
action filter_type
action find
entity Nuremberg
relation country
type political territorial entity
action filter_type
action find
entity Antiquarian Booksellers Association of Canada
relation country
type political territorial entity
['Nuremberg', 'country', {'concept': 'political territorial entity'}] ['Antiquarian Booksellers Association of Canada', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { { resource:Antiquarian_Booksellers_Association_of_Canada property:country ?n . ?n rdf:type ontology:political_territorial_entity } UNION { resource:Nuremberg property:country ?n . ?n rdf:type ontology:political_territorial_entity } }
[]
political territorial entity
SYSTEM
2
Q16 Q183
(Q2090,P17,c(Q1048835)) (Q4775149,P17,c(Q1048835))
action count
action union
action filter_type
action find
entity Q2090
relation P17
type Q1048835
action filter_type
action find
entity Q4775149
relation P17
type Q1048835
[ANSWER]
['Q2090', 'P17', {'concept': 'Q1048835'}] ['Q4775149', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { { resource:Q4775149 property:P17 ?n . ?n rdf:type ontology:Q1048835 } UNION { resource:Q2090 property:P17 ?n . ?n rdf:type ontology:Q1048835 } }
Canada Germany
2
action count
action union
action filter_type
action find
entity Nuremberg
relation country
type political territorial entity
action filter_type
action find
entity Antiquarian Booksellers Association of Canada
relation country
type political territorial entity
['Nuremberg', 'country', {'concept': 'political territorial entity'}] ['Antiquarian Booksellers Association of Canada', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { { resource:Antiquarian_Booksellers_Association_of_Canada property:country ?n . ?n rdf:type ontology:political_territorial_entity } UNION { resource:Nuremberg property:country ?n . ?n rdf:type ontology:political_territorial_entity } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2090
P921
Q191067
USER
Which article is that administrative territory a main subject of ?
action filter_type
action find_reverse
entity Q2090
relation P921
type Q191067
SELECT DISTINCT ?a WHERE { ?a property:P921 resource:Q2090 . ?a rdf:type ontology:Q191067 }
Nuremberg
action filter_type
action find_reverse
entity Nuremberg
relation main subject
type article
SELECT DISTINCT ?a WHERE { ?a property:main_subject resource:Nuremberg . ?a rdf:type ontology:article }
[]
article
Q20419565
SYSTEM
EB-11 / Nuremberg
Q20419565
action filter_type
action find_reverse
entity Q2090
relation P921
type Q191067
[ANSWER] is that administrative territory a main subject of
SELECT DISTINCT ?a WHERE { ?a property:P921 resource:Q2090 . ?a rdf:type ontology:Q191067 }
EB-11 / Nuremberg
EB-11 / Nuremberg is that administrative territory a main subject of
EB-11 / Nuremberg
action filter_type
action find_reverse
entity Nuremberg
relation main subject
type article
SELECT DISTINCT ?a WHERE { ?a property:main_subject resource:Nuremberg . ?a rdf:type ontology:article }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20419565
P1433
Q571
USER
Which book published that article ?
(Q20419565,P1433,c(Q571))
action filter_type
action find
entity Q20419565
relation P1433
type Q571
['Q20419565', 'P1433', {'concept': 'Q571'}]
SELECT DISTINCT ?f WHERE { resource:Q20419565 property:P1433 ?f . ?f rdf:type ontology:Q571 }
EB-11 / Nuremberg
action filter_type
action find
entity EB-11 / Nuremberg
relation published in
type book
['EB-11 / Nuremberg', 'published in', {'concept': 'book'}]
SELECT DISTINCT ?f WHERE { resource:EB-11_/_Nuremberg property:published_in ?f . ?f rdf:type ontology:book }
[]
book
Q867541
SYSTEM
1911 Encyclopædia Britannica
Q867541
(Q20419565,P1433,c(Q571))
action filter_type
action find
entity Q20419565
relation P1433
type Q571
The [ANSWER] published that article
['Q20419565', 'P1433', {'concept': 'Q571'}]
SELECT DISTINCT ?f WHERE { resource:Q20419565 property:P1433 ?f . ?f rdf:type ontology:Q571 }
1911 Encyclopædia Britannica
The 1911 Encyclopædia Britannica published that article
1911 Encyclopædia Britannica
action filter_type
action find
entity EB-11 / Nuremberg
relation published in
type book
['EB-11 / Nuremberg', 'published in', {'concept': 'book'}]
SELECT DISTINCT ?f WHERE { resource:EB-11_/_Nuremberg property:published_in ?f . ?f rdf:type ontology:book }
[]