Simple Question (Direct)
Simple Question
Q7090113
P641
Q349
USER
Which sport did Omer Peretz participate in ?
(Q7090113,P641,c(Q349))
action filter_type
action find
entity Q7090113
relation P641
type Q349
['Q7090113', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { resource:Q7090113 property:P641 ?w . ?w rdf:type ontology:Q349 }
Omer Peretz
action filter_type
action find
entity Omer Peretz
relation sport
type sport
['Omer Peretz', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { resource:Omer_Peretz property:sport ?w . ?w rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q7090113,P641,c(Q349))
action filter_type
action find
entity Q7090113
relation P641
type Q349
Omer Peretz participated in [ANSWER]
['Q7090113', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { resource:Q7090113 property:P641 ?w . ?w rdf:type ontology:Q349 }
association football
Omer Peretz participated in association football
association football
action filter_type
action find
entity Omer Peretz
relation sport
type sport
['Omer Peretz', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { resource:Omer_Peretz property:sport ?w . ?w rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P495
Q1496967
USER
What is the country of origin of that sport ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?h WHERE { resource:Q2736 property:P495 ?h . ?h rdf:type ontology:Q1496967 }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:association_football property:country_of_origin ?h . ?h rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
The country of origin of that sport is in [ANSWER]
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?h WHERE { resource:Q2736 property:P495 ?h . ?h rdf:type ontology:Q1496967 }
England
The country of origin of that sport is in England
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:association_football property:country_of_origin ?h . ?h rdf:type ontology:territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21
P85
Q484692
USER
What are the national anthems of that territory ?
(Q21,P85,c(Q484692))
action filter_type
action find
entity Q21
relation P85
type Q484692
['Q21', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?v WHERE { resource:Q21 property:P85 ?v . ?v rdf:type ontology:Q484692 }
England
action filter_type
action find
entity England
relation anthem
type hymn
['England', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?v WHERE { resource:England property:anthem ?v . ?v rdf:type ontology:hymn }
[]
hymn
Q489607 Q182268
SYSTEM
And did those feet in ancient time, Land of Hope and Glory
Q489607 Q182268
(Q21,P85,c(Q484692))
action filter_type
action find
entity Q21
relation P85
type Q484692
The national anthems of that territory are sung [ANSWERS]
['Q21', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?v WHERE { resource:Q21 property:P85 ?v . ?v rdf:type ontology:Q484692 }
And did those feet in ancient time Land of Hope and Glory
The national anthems of that territory are sung And did those feet in ancient time and Land of Hope and Glory
And did those feet in ancient time Land of Hope and Glory
action filter_type
action find
entity England
relation anthem
type hymn
['England', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?v WHERE { resource:England property:anthem ?v . ?v rdf:type ontology:hymn }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21
P138
Q22687
USER
Which bank is the eponym of England ?
(c(Q22687),P138,Q21)
action filter_type
action find_reverse
entity Q21
relation P138
type Q22687
[{'concept': 'Q22687'}, 'P138', 'Q21']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q22687 . ?g property:P138 resource:Q21 }
England
action filter_type
action find_reverse
entity England
relation named after
type bank
[{'concept': 'bank'}, 'named after', 'England']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:bank . ?g property:named_after resource:England }
[]
bank
Q183231
SYSTEM
Bank of England
Q183231
(c(Q22687),P138,Q21)
action filter_type
action find_reverse
entity Q21
relation P138
type Q22687
[ANSWER] is the eponym of England
[{'concept': 'Q22687'}, 'P138', 'Q21']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q22687 . ?g property:P138 resource:Q21 }
Bank of England
Bank of England is the eponym of England
Bank of England
action filter_type
action find_reverse
entity England
relation named after
type bank
[{'concept': 'bank'}, 'named after', 'England']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:bank . ?g property:named_after resource:England }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183231
P159
Q34442
USER
Where is the head office for that bank located ?
(Q183231,P159,c(Q34442))
action filter_type
action find
entity Q183231
relation P159
type Q34442
['Q183231', 'P159', {'concept': 'Q34442'}]
SELECT DISTINCT ?l WHERE { resource:Q183231 property:P159 ?l . ?l rdf:type ontology:Q34442 }
Bank of England
action filter_type
action find
entity Bank of England
relation headquarters location
type road
['Bank of England', 'headquarters location', {'concept': 'road'}]
SELECT DISTINCT ?l WHERE { resource:Bank_of_England property:headquarters_location ?l . ?l rdf:type ontology:road }
[]
road
Q2732007
SYSTEM
Threadneedle Street
Q2732007
(Q183231,P159,c(Q34442))
action filter_type
action find
entity Q183231
relation P159
type Q34442
The head office for that bank is located in [ANSWER]
['Q183231', 'P159', {'concept': 'Q34442'}]
SELECT DISTINCT ?l WHERE { resource:Q183231 property:P159 ?l . ?l rdf:type ontology:Q34442 }
Threadneedle Street
The head office for that bank is located in Threadneedle Street
Threadneedle Street
action filter_type
action find
entity Bank of England
relation headquarters location
type road
['Bank of England', 'headquarters location', {'concept': 'road'}]
SELECT DISTINCT ?l WHERE { resource:Bank_of_England property:headquarters_location ?l . ?l rdf:type ontology:road }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q147367
P85
Q484692 Q1048835 Q56061
USER
Which hymns are the national anthems of greater number of political territories and administrative territories than Hey, Slavs ?
(c(Q1048835)|c(Q56061),P85,c(Q484692))
action greater
action union
action find_reverse_tuple_counts
relation P85
type Q484692
type Q1048835
action find_reverse_tuple_counts
relation P85
type Q484692
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q147367
relation P85
type Q1048835
type Q56061
[[{'concept': 'Q1048835'}, {'concept': 'Q56061'}], 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?o ) WHERE { VALUES ( ?d ) { ( ontology:Q1048835 ) ( ontology:Q56061 ) } . ?n rdf:type ?d } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { ?x property:P85 resource:Q147367 . { { ?x rdf:type ontology:Q1048835 } UNION { ?x rdf:type ontology:Q56061 } } } } . FILTER ( ?o > ?s ) }
Hey, Slavs
action greater
action union
action find_reverse_tuple_counts
relation anthem
type hymn
type political territorial entity
action find_reverse_tuple_counts
relation anthem
type hymn
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Hey, Slavs
relation anthem
type political territorial entity
type administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'administrative territorial entity'}], 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?o ) WHERE { VALUES ( ?d ) { ( ontology:political_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?n rdf:type ?d } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { ?x property:anthem resource:Hey,_Slavs . { { ?x rdf:type ontology:political_territorial_entity } UNION { ?x rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?o > ?s ) }
[]
hymn political territorial entity administrative territorial entity
Q165747 Q908519 Q1317821
SYSTEM
Der er et yndigt land, Kong Christian stod ved højen mast, National Anthem of the Kingdom of Yugoslavia
Q209973 Q190226 Q202137 Q170601 Q752655 Q876594 Q126658 Q699190 Q628682 Q1378214 Q204643 Q271052 Q44696 Q908519 Q1209767 Q11993 Q1138695 Q271585 Q646622 Q1522013 Q857953 Q1075941 Q1050025 Q1209589 Q93359 Q2080743 Q165747 Q242723 Q1317821 Q160672
(c(Q1048835)|c(Q56061),P85,c(Q484692))
action greater
action union
action find_reverse_tuple_counts
relation P85
type Q484692
type Q1048835
action find_reverse_tuple_counts
relation P85
type Q484692
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q147367
relation P85
type Q1048835
type Q56061
[ANSWERS] are the national anthems of greater number of political territories and administrative territories than Hey, Slavs
[[{'concept': 'Q1048835'}, {'concept': 'Q56061'}], 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?o ) WHERE { VALUES ( ?d ) { ( ontology:Q1048835 ) ( ontology:Q56061 ) } . ?n rdf:type ?d } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { ?x property:P85 resource:Q147367 . { { ?x rdf:type ontology:Q1048835 } UNION { ?x rdf:type ontology:Q56061 } } } } . FILTER ( ?o > ?s ) }
Majulah Singapura Inno e Marcia Pontificale God Defend New Zealand Advance Australia Fair Hail Grenada De Vlaamse Leeuw Land der Berge, Land am Strome Isle of Man National Anthem O Arise, All You Sons Sarnia Cherie Jamaica, Land We Love Ålänningens sång The Star-Spangled Banner Kong Christian stod ved højen mast Pitcairn Anthem Anthem of Europe Tera di Solo y suave biento Els Segadors Stand Ye Guamanians Gi Talo Gi Halom Tasi God Save Our Solomon Islands La Borinqueña O Land of Beauty! Virgin Islands March O Canada La bandera blanca y verde Der er et yndigt land La Concorde National Anthem of the Kingdom of Yugoslavia Amhrán na bhFiann
Der er et yndigt land, Kong Christian stod ved højen mast and National Anthem of the Kingdom of Yugoslavia are the national anthems of greater number of political territories and administrative territories than Hey, Slavs
Der er et yndigt land Kong Christian stod ved højen mast National Anthem of the Kingdom of Yugoslavia
action greater
action union
action find_reverse_tuple_counts
relation anthem
type hymn
type political territorial entity
action find_reverse_tuple_counts
relation anthem
type hymn
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Hey, Slavs
relation anthem
type political territorial entity
type administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'administrative territorial entity'}], 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?o ) WHERE { VALUES ( ?d ) { ( ontology:political_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?n rdf:type ?d } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { ?x property:anthem resource:Hey,_Slavs . { { ?x rdf:type ontology:political_territorial_entity } UNION { ?x rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?o > ?s ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q3347824
P85
Q484692 Q1048835 Q56061
USER
And what about O Sweet Saint Martin's Land?
(c(Q1048835)|c(Q56061),P85,c(Q484692))
action greater
action union
action find_reverse_tuple_counts
relation P85
type Q484692
type Q1048835
action find_reverse_tuple_counts
relation P85
type Q484692
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q3347824
relation P85
type Q1048835
type Q56061
[[{'concept': 'Q1048835'}, {'concept': 'Q56061'}], 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?r WHERE { VALUES ( ?n ) { ( ontology:Q1048835 ) ( ontology:Q56061 ) } . ?e rdf:type ?n } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P85 resource:Q3347824 . { ?z rdf:type ?j . VALUES ( ?j ) { ( ontology:Q1048835 ) ( ontology:Q56061 ) } } } } . FILTER ( ?k > ?y ) }
O Sweet Saint Martin's Land
action greater
action union
action find_reverse_tuple_counts
relation anthem
type hymn
type political territorial entity
action find_reverse_tuple_counts
relation anthem
type hymn
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity O Sweet Saint Martin's Land
relation anthem
type political territorial entity
type administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'administrative territorial entity'}], 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?r WHERE { VALUES ( ?n ) { ( ontology:political_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?e rdf:type ?n } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:anthem resource:O_Sweet_Saint_Martin's_Land . { ?z rdf:type ?j . VALUES ( ?j ) { ( ontology:political_territorial_entity ) ( ontology:administrative_territorial_entity ) } } } } . FILTER ( ?k > ?y ) }
[]
hymn political territorial entity administrative territorial entity
Q165747 Q908519 Q1317821
SYSTEM
Der er et yndigt land, Kong Christian stod ved højen mast, National Anthem of the Kingdom of Yugoslavia
Q209973 Q190226 Q202137 Q170601 Q752655 Q876594 Q126658 Q699190 Q628682 Q1378214 Q204643 Q271052 Q44696 Q908519 Q1209767 Q11993 Q1138695 Q271585 Q646622 Q1522013 Q857953 Q1075941 Q1050025 Q1209589 Q93359 Q2080743 Q165747 Q242723 Q1317821 Q160672
(c(Q1048835)|c(Q56061),P85,c(Q484692))
action greater
action union
action find_reverse_tuple_counts
relation P85
type Q484692
type Q1048835
action find_reverse_tuple_counts
relation P85
type Q484692
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q3347824
relation P85
type Q1048835
type Q56061
[ANSWERS]
[[{'concept': 'Q1048835'}, {'concept': 'Q56061'}], 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?r WHERE { VALUES ( ?n ) { ( ontology:Q1048835 ) ( ontology:Q56061 ) } . ?e rdf:type ?n } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P85 resource:Q3347824 . { ?z rdf:type ?j . VALUES ( ?j ) { ( ontology:Q1048835 ) ( ontology:Q56061 ) } } } } . FILTER ( ?k > ?y ) }
Majulah Singapura Inno e Marcia Pontificale God Defend New Zealand Advance Australia Fair Hail Grenada De Vlaamse Leeuw Land der Berge, Land am Strome Isle of Man National Anthem O Arise, All You Sons Sarnia Cherie Jamaica, Land We Love Ålänningens sång The Star-Spangled Banner Kong Christian stod ved højen mast Pitcairn Anthem Anthem of Europe Tera di Solo y suave biento Els Segadors Stand Ye Guamanians Gi Talo Gi Halom Tasi God Save Our Solomon Islands La Borinqueña O Land of Beauty! Virgin Islands March O Canada La bandera blanca y verde Der er et yndigt land La Concorde National Anthem of the Kingdom of Yugoslavia Amhrán na bhFiann
Der er et yndigt land Kong Christian stod ved højen mast National Anthem of the Kingdom of Yugoslavia
action greater
action union
action find_reverse_tuple_counts
relation anthem
type hymn
type political territorial entity
action find_reverse_tuple_counts
relation anthem
type hymn
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity O Sweet Saint Martin's Land
relation anthem
type political territorial entity
type administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'administrative territorial entity'}], 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?r WHERE { VALUES ( ?n ) { ( ontology:political_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?e rdf:type ?n } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:anthem resource:O_Sweet_Saint_Martin's_Land . { ?z rdf:type ?j . VALUES ( ?j ) { ( ontology:political_territorial_entity ) ( ontology:administrative_territorial_entity ) } } } } . FILTER ( ?k > ?y ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P144
Q502895 Q15961987 Q15850590
USER
How many people are exactly 1 television genres or theatrical genres based on ?
(c(Q15961987)|c(Q15850590),P144,c(Q502895))
action count
action equal
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q15961987
action find_reverse_tuple_counts
relation P144
type Q502895
type Q15850590
value 1
[[{'concept': 'Q15961987'}, {'concept': 'Q15850590'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) ?e WHERE { { ?v property:P144 ?e . ?e rdf:type ontology:Q502895 . ?v rdf:type ontology:Q15850590 } UNION { ?v property:P144 ?e . ?e rdf:type ontology:Q502895 . ?v rdf:type ontology:Q15961987 } } GROUP BY ?e } }
action count
action equal
action union
action find_reverse_tuple_counts
relation based on
type common name
type television genre
action find_reverse_tuple_counts
relation based on
type common name
type theatrical genre
value 1
[[{'concept': 'television genre'}, {'concept': 'theatrical genre'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) ?e WHERE { { ?v property:based_on ?e . ?e rdf:type ontology:common_name . ?v rdf:type ontology:theatrical_genre } UNION { ?v property:based_on ?e . ?e rdf:type ontology:common_name . ?v rdf:type ontology:television_genre } } GROUP BY ?e } }
[]
common name television genre theatrical genre
SYSTEM
56
Q51513 Q40939 Q897973 Q134958 Q5685 Q5673 Q5679 Q3568976 Q70326 Q348001 Q310800 Q93349 Q160333 Q7226 Q7200 Q1658606 Q5358186 Q154438 Q57242 Q692 Q168962 Q1357554 Q734955 Q3619249 Q1445614 Q202749 Q503068 Q185696 Q8963 Q1398 Q154010 Q154014 Q202650 Q3105052 Q350552 Q81445 Q41223 Q699619 Q22670 Q43718 Q1391877 Q6101 Q213549 Q3564902 Q191305 Q370392 Q1485988 Q319261 Q1383201 Q132695 Q154732 Q155855 Q12768607 Q237196 Q634100 Q318462
(c(Q15961987)|c(Q15850590),P144,c(Q502895))
action count
action equal
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q15961987
action find_reverse_tuple_counts
relation P144
type Q502895
type Q15850590
value 1
[ANSWER]
[[{'concept': 'Q15961987'}, {'concept': 'Q15850590'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) ?e WHERE { { ?v property:P144 ?e . ?e rdf:type ontology:Q502895 . ?v rdf:type ontology:Q15850590 } UNION { ?v property:P144 ?e . ?e rdf:type ontology:Q502895 . ?v rdf:type ontology:Q15961987 } } GROUP BY ?e } }
Hugo von Hofmannsthal Aeschylus Pavol Dobšinský Taras Shevchenko Anton Chekhov Hans Christian Andersen Lord Byron William Still Pierre Beaumarchais Rainis John Reed Bessie Smith Prosper Mérimée Joan of Arc Alexander Pushkin Ilja Prachař Yarō Abe Franz Grillparzer August von Kotzebue William Shakespeare Torquato Tasso Svetozár Hurban-Vajanský Robinson Jeffers Antonio Beltramelli František Kubka Edmond Rostand Andrej Sládkovič Louisa May Alcott Johannes Kepler Virgil Christoph Martin Wieland Georg Büchner Abd el-Krim Giacomo Francesco Bussani Kálmán Mikszáth Salawat Yulayev Boris Pasternak Vladislav Vančura Friedrich Schiller Nikolai Gogol František Hrubín Marco Polo Friedrich Maximilian Klinger Zikmund Winter Gérard de Nerval Borisav Stanković Mikheil Javakhishvili Eugène Scribe Ján Hollý Harry Martinson Agrippina the Younger Karel Čapek Ján Poničan H. Rider Haggard Josef Kajetán Tyl Edward Bulwer-Lytton
56
action count
action equal
action union
action find_reverse_tuple_counts
relation based on
type common name
type television genre
action find_reverse_tuple_counts
relation based on
type common name
type theatrical genre
value 1
[[{'concept': 'television genre'}, {'concept': 'theatrical genre'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) ?e WHERE { { ?v property:based_on ?e . ?e rdf:type ontology:common_name . ?v rdf:type ontology:theatrical_genre } UNION { ?v property:based_on ?e . ?e rdf:type ontology:common_name . ?v rdf:type ontology:television_genre } } GROUP BY ?e } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P559
Q1777515 Q34442
USER
How many junctions are a terminus for atmost 2 roads ?
(c(Q34442),P559,c(Q1777515))
action count
action atmost
action find_reverse_tuple_counts
relation P559
type Q1777515
type Q34442
value 2
[{'concept': 'Q34442'}, 'P559', {'concept': 'Q1777515'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { FILTER ( ?c <= 2 ) . { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?c ) WHERE { ?m property:P559 ?v . ?m rdf:type ontology:Q34442 . ?v rdf:type ontology:Q1777515 } GROUP BY ?v } }
action count
action atmost
action find_reverse_tuple_counts
relation terminus
type junction
type road
value 2
[{'concept': 'road'}, 'terminus', {'concept': 'junction'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { FILTER ( ?c <= 2 ) . { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?c ) WHERE { ?m property:terminus ?v . ?m rdf:type ontology:road . ?v rdf:type ontology:junction } GROUP BY ?v } }
[]
junction road
SYSTEM
100
Q2195157 Q20053950 Q2638061 Q2954587 Q2625235 Q2446617 Q19720079 Q2179633 Q4304650 Q2300168 Q2307825 Q19858843 Q19833571 Q6654084 Q2678075 Q19969273 Q20656517 Q20174395 Q2092158 Q2650314 Q7471404 Q2206294 Q20899730 Q3415689 Q20638325 Q1817153 Q19832232 Q10636006 Q2692587 Q2159663 Q19782668 Q7471798 Q20898155 Q19816351 Q19803354 Q1885232 Q19816541 Q3197676 Q7471881 Q20033518 Q1828981 Q2498593 Q2786809 Q7471546 Q2536024 Q10691825 Q2623929 Q2925693 Q19816347 Q328576 Q2278230 Q20033528 Q20241115 Q19845691 Q20209178 Q2470034 Q20143160 Q20035645 Q20744377 Q2438409 Q2324323 Q20531684 Q20898172 Q1916676 Q6791198 Q19857132 Q20638278 Q2478863 Q20669319 Q2195771 Q1926020 Q2661014 Q20174690 Q11652213 Q2476262 Q20026816 Q20114572 Q2361137 Q20643424 Q2357795 Q7471858 Q20655740 Q14513610 Q2466108 Q4023983 Q20532574 Q20653556 Q371929 Q19826687 Q7464568 Q1864986 Q2081674 Q20645213 Q2600826 Q20670591 Q19858852 Q2682908 Q5817040 Q20143847 Q20165887
(c(Q34442),P559,c(Q1777515))
action count
action atmost
action find_reverse_tuple_counts
relation P559
type Q1777515
type Q34442
value 2
[ANSWER]
[{'concept': 'Q34442'}, 'P559', {'concept': 'Q1777515'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { FILTER ( ?c <= 2 ) . { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?c ) WHERE { ?m property:P559 ?v . ?m rdf:type ontology:Q34442 . ?v rdf:type ontology:Q1777515 } GROUP BY ?v } }
Hoevelaken interchange Noordeloos junction Paalgraven interchange Rijkevoort interchange Neerbosch interchange Diemen interchange Assen interchange Knooppunt De Nieuwe Meer Batadorp interchange Watergraafsmeer interchange De Stok interchange Hendrik-Ido-Ambacht A15 junction Brielle junction Liuliqiao Bridge Gouwe interchange IJmuiden A22 junction Avenhorn junction Soest junction Hoogeveen interchange Julianaplein Lankhorst interchange Emmeloord interchange Roosendaal junction Almere Interchange Ochten junction Klaverpolder interchange Almelo-West junction Polhemsplatsen Zurich interchange Burgerveen interchange 's-Gravendeel junction Drachten A7 junction Tilburg-Noord A65 junction Bodegraven junction Papendrecht A15 junction Kleinpolderplein Leidschendam junction Euvelgunne interchange Het Vonderen interchange Rotterdam-Centrum A16 junction De Poel interchange Amstel Interchange Kruisdonk interchange Beverwijk interchange De Hoek interchange Tegelbacken Muiderberg interchange Tiglia interchange Zoeterwoude-Rijndijk junction Dreieck Walsrode Vaanplein Nieuwegein A2 junction Leusden-Zuid junction Waalre junction Driebergen junction Ekkersweijer interchange Spijkenisse junction Den Haag-Zuid junction Middelburg-Centrum junction Maanderbroek interchange Lunetten interchange Maarssen A2 junction Waalwijk A59 junction Oud-Dijk interchange Joure interchange Westerpark junction Veenendaal junction Middelburg-Oost junction Beverwijk-Oost junction Ewijk interchange Vught interchange Ridderkerk interchange Amersfoort-Zuid junction Nagashima interchange Werpsterhoek interchange Noordwijkerhout junction Gorinchem junction Coenplein Weesp junction Velsen interchange Kunderberg interchange Middenmeer junction Kooimeer interchange Sint-Annabosch interchange Raasdorp interchange Maarssen A27 junction Wognum junction Slussen Barneveld junction Guseo Interchange De Baars interchange Ypenburg interchange Den Dolder junction Velperbroek interchange Amsterdam-Noord junction Alblasserdam junction Westerlee interchange Terbregseplein Oostvoorne junction Maasdijk junction
100
action count
action atmost
action find_reverse_tuple_counts
relation terminus
type junction
type road
value 2
[{'concept': 'road'}, 'terminus', {'concept': 'junction'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { FILTER ( ?c <= 2 ) . { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?c ) WHERE { ?m property:terminus ?v . ?m rdf:type ontology:road . ?v rdf:type ontology:junction } GROUP BY ?v } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P559
Q55488 Q34442
USER
Which railway stations are the terminus for min number of roads ?
(c(Q34442),P559,Q2817469)
action argmin
action find_reverse_tuple_counts
relation P559
type Q55488
type Q34442
[{'concept': 'Q34442'}, 'P559', 'Q2817469']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?m ) WHERE { ?l rdf:type ontology:Q55488 . ?r rdf:type ontology:Q34442 . ?r property:P559 ?l } GROUP BY ?l } . FILTER ( ?m = ?h ) . { SELECT DISTINCT ( MIN ( ?d ) AS ?h ) { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:P559 ?y . ?y rdf:type ontology:Q55488 . ?x rdf:type ontology:Q34442 } GROUP BY ?y } } }
action argmin
action find_reverse_tuple_counts
relation terminus
type railway station
type road
[{'concept': 'road'}, 'terminus', '54th/Cermak']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?m ) WHERE { ?l rdf:type ontology:railway_station . ?r rdf:type ontology:road . ?r property:terminus ?l } GROUP BY ?l } . FILTER ( ?m = ?h ) . { SELECT DISTINCT ( MIN ( ?d ) AS ?h ) { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:terminus ?y . ?y rdf:type ontology:railway_station . ?x rdf:type ontology:road } GROUP BY ?y } } }
[]
railway station road
Q801447 Q6456 Q2705508
SYSTEM
Shinjuku Station, Hamburg Central Station, Nuevos Ministerios Station
Q2114035 Q1320288 Q568297 Q1537246 Q2030147 Q54275 Q3241406 Q260986 Q3648856 Q5963828 Q16335322 Q390392 Q1969480 Q2518479 Q3289890 Q3947983 Q667797 Q934869 Q477185 Q682583 Q5945246 Q2427833 Q801447 Q2657073 Q2519375 Q2542458 Q2077029 Q1064150 Q1974935 Q2547644 Q15168 Q15169 Q1392037 Q2688592 Q15166 Q2370028 Q4865066 Q17469 Q2828748 Q838850 Q660024 Q262168 Q1992961 Q20416 Q2209314 Q1942383 Q2984111 Q2119789 Q2705508 Q960098 Q5619660 Q2565684 Q3799011 Q6123709 Q2338829 Q512341 Q733618 Q129342 Q1105305 Q2381248 Q15407739 Q3544569 Q5964096 Q15526614 Q1885858 Q1847502 Q1087575 Q2271776 Q4698956 Q1969873 Q43298 Q2313145 Q800624 Q1971134 Q1583223 Q2921538 Q2446456 Q2605805 Q3211840 Q2820829 Q996591 Q15529967 Q5063913 Q843947 Q718069 Q1039422 Q1085126 Q5625939 Q571039 Q2548980 Q2910749 Q654980 Q717274 Q2420839 Q800405 Q2049305 Q5603694 Q639716 Q838864 Q3034416 Q5925879 Q898095 Q2211128 Q16273 Q4698908 Q2152105 Q140277 Q4956341 Q15199514 Q5758111 Q1097 Q2270685 Q3360807 Q1811395 Q2904609 Q932858 Q7402753 Q2686184 Q1366330 Q415553 Q2258149 Q3464342 Q6124130 Q2566876 Q736018 Q1346764 Q259341 Q1810822 Q3032072 Q2164511 Q1586363 Q800907 Q2001751 Q1384273 Q1090894 Q1494179 Q800909 Q1857770 Q674350 Q656401 Q2549402 Q1208360 Q717017 Q5443432 Q1568756 Q15170 Q2000224 Q606164 Q838399 Q482935 Q2072583 Q135207 Q1344536 Q53000 Q1642454 Q2037690 Q11062024 Q2258101 Q1913884 Q667121 Q915581 Q2444858 Q2721373 Q1187596 Q2106644 Q2424515 Q523887 Q1087081 Q1728328 Q4055814 Q625028 Q6126826 Q5318333 Q801094 Q2284424 Q601484 Q2454808 Q2818719 Q625055 Q1418711 Q568224 Q682569 Q3094926 Q1087032 Q2329927 Q1089056 Q839586 Q180463 Q2403543 Q1088228 Q2172950 Q2106731 Q3077167 Q1039076 Q705415 Q173919 Q555492 Q3194854 Q3031699 Q54453 Q2369692 Q4235947 Q7365567 Q804647 Q497898 Q2995069 Q3827253 Q949884 Q5365402 Q847741 Q1586293 Q833533 Q5581810 Q2655164 Q2561831 Q510765 Q801562 Q6456 Q656090 Q2316625 Q1427150 Q2272692 Q1421962 Q800600 Q2106205 Q3356829 Q564926 Q1088305 Q2631124 Q613893 Q2027823 Q3441250 Q747555 Q895108 Q1039443 Q2061439 Q2085825 Q2536740 Q653775 Q2721969 Q8045264 Q1305849 Q5244852 Q801282 Q2947064 Q1863087 Q2449141 Q921800 Q1344555 Q4764353 Q1029092 Q705026 Q624503 Q7807772 Q679473 Q1783803 Q1967220 Q55423 Q1459245 Q448986 Q698497 Q1890537 Q3064844 Q838420 Q6427903 Q54261 Q1537255 Q8044432 Q887532 Q15244 Q2721114 Q801554 Q430991 Q10591971 Q5936795 Q8060066 Q2480338 Q1087026 Q2711640 Q2375864 Q2657040 Q676961 Q624047 Q833482 Q2697462 Q1088234 Q837626 Q4584392 Q2084603 Q668351 Q3212412 Q2140013 Q1652933 Q7408150 Q2374167 Q2372137 Q1813853 Q1757126 Q376589 Q2382515 Q3234043 Q2469715 Q585752 Q1088096 Q2053224 Q705127 Q1185683 Q3418560 Q1143934 Q270954 Q660045 Q15088440 Q6126288 Q1576928 Q937693 Q16335316 Q1783997 Q801185 Q1139323 Q801189 Q7294949 Q801210 Q2355557 Q3150918 Q1969462 Q841853 Q1087562 Q1588368 Q2902416 Q2720409 Q623583 Q1969904 Q3786852 Q5613728 Q3031716 Q14453731 Q1085066 Q3209200 Q2258190 Q935233 Q663945 Q1267664 Q706225 Q838783 Q568579 Q593257 Q550317 Q683544 Q1519529 Q724559 Q638928 Q299980 Q838763 Q55633 Q126023 Q946826 Q2626859 Q492223 Q3183147 Q3462466 Q1135973 Q743932 Q704872 Q2012339 Q3211386 Q2099187 Q662217 Q2258125 Q2291079 Q1673779 Q2569761 Q175212 Q2205581 Q5113294 Q2633546 Q1962305 Q2881451 Q2817469
(c(Q34442),P559,Q2817469)
action argmin
action find_reverse_tuple_counts
relation P559
type Q55488
type Q34442
[ANSWERS] are the terminus for min number of roads
[{'concept': 'Q34442'}, 'P559', 'Q2817469']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?m ) WHERE { ?l rdf:type ontology:Q55488 . ?r rdf:type ontology:Q34442 . ?r property:P559 ?l } GROUP BY ?l } . FILTER ( ?m = ?h ) . { SELECT DISTINCT ( MIN ( ?d ) AS ?h ) { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:P559 ?y . ?y rdf:type ontology:Q55488 . ?x rdf:type ontology:Q34442 } GROUP BY ?y } } }
Disneyland Resort Station La Courneuve – 8 Mai 1945 Dempster–Skokie Place d'Italie J.F. Kennedy Gaehwa Station Linden Flinders Street railway station Varketili Jiaokou Station Salah Al Din Hiyoshi Station Porte de Clignancourt Vall d'Hebron Marché de Saint-Denis San Siro Stadio Valdecarros Gare de Vénissieux Berlin Brandenburger Tor station Nuremberg Central Station Huntington Station Maryina Roshcha Shinjuku Station Keleti pályaudvar Duomo Primorskaya Tiu Keng Leng Station Glenmont Station Stockel metro station Fondo Sheung Wan Station Lo Wu Station Opéra Basso Cambo Central Station Pyatnitskoye Shosse Yangsan Station Gangnam Station Airport Station AsiaWorld-Expo Station Rudow Alt-Mariendorf Malinauka Yongsan Station Ploshchad Marksa Brussels-West station Cologno Nord Park Kultury Nuevos Ministerios Station Kungsträdgården metro station Guogongzhuang Station Morris Park Berlin Innsbrucker Platz station Panyu Square Station Depo Hostivař Arènes Asnières – Gennevilliers – Les Courtilles Dresden Flughafen railway station Cockfosters tube station Novokosino Sickla Udde tram station Can Zam Wenchong Station Sergels Torg tram station Mairie d'Issy Stade de Gerland QT8 Mexikói út Airport South Station Saint-Denis – Porte de Paris Sindorim Station Paral·lel Charles de Gaulle – Étoile Mezhdunarodnaya metro station Pyeongdong Station Bougainville Mogilevskaya Aeropuerto T4 La Poterie Abbiategrasso Hung Hom Station Waldemarsudde tram station Nemocnice Motol Luohu Station LOHAS Park Station Sihui East Station Lotto Gåshaga Brygga tram station Nollendorfplatz Novoyasenevskaya Borderouge Berlin-Spandau station Puhŭng Station Cuatro Caminos Asakusa Station Perrache Greenbelt Station Kabaty metro station North Point Station Harlem/Lake (CTA station) Huangcun Station Songjiazhuang Station Station Square II Giheung Station Airport East Station Gessate La Défense Branch Avenue Station Bittsevsky Park (Moscow Metro) Higher Education Mega Center South Station Berlin Hauptbahnhof Mairie de Montrouge Palais-de-Justice Skarpnäck metro station Bisceglie Altufyevo Sakaemachi Station Cornellà Centre Rechnoy Vokzal Akalla metro station Sesto 1º Maggio Sainte-Marguerite Dromel Wanshengwei Station Komendantsky Prospekt Gotanda Station Vazha-Pshavela Hjulsta metro station Park Pobedy O'Hare Zayeltsovskaya Banseok Station Heathrow Terminal 5 station World Trade Center Kuntsevskaya Châtillon - Montrouge Gare d'Austerlitz Hennigsdorf station Moskovskaya Kőbánya-Kispest Ruhleben Planernaya Slussen metro station Red Star Station Fenghuang Xincun Station Hagsätra metro station Lok Ma Chau Station Norsborg metro station Porte des Lilas Tung Chung Station Sinpyeong Station Zona Universitària Kadoma-minami Station Porte Maillot Sinnonhyeon Station Hässelby strand metro station Ropsten metro station Guangzhou South Railway Station Cadorna Ploshchad Garina-Mikhaylovskogo Wiesbaden Central Station Gallieni Kamennaya Gorka Medvedkovo Bulvar Dmitriya Donskogo Tuen Mun Station Spasskaya Beijing West Railway Station San Leonardo Aleksandrovsky Sad Aviastroitelnaya Daegok Station Jinzhou Station Dworzec Wileński metro station Lergravsparken Station Gorg station Châtelet Parnas 95th/Dan Ryan Jangsan Station Nation Uhlandstraße Rostock Central Station Gambara Rho Fiera Kashirskaya Caiazzo Wu Kai Sha Station Itakano Station Alameda de Osuna Maciachini De Terp Chai Wan Station Forest Park Fujin Road Station Minam Station Ikebukuro Station Berlin Rathaus Steglitz station Kelenföld vasútállomás (Budapest Metro) Kimball South Station Buninskaya Alleya Kotelniki Rondo Daszyńskiego metro station Balard Incheon Station Constitución Las Rosas Imazato Station Ellingsrudåsen Tiantongyuan North Station Panam Station Flughafen Gongyixiqiao Station Háje Charpennes - Charles Hernu Porta Genova FS Vestamager Station Hamburg Central Station Alt-Tegel Devyatkino La Pau Jiahewanggang Station Berlin Hermannstraße station Büchen station Hong Kong Station Majorstuen Lübeck Central Station Zara Van Cortlandt Park – 242nd Street Hôtel de Ville - Louis Pradel Troparyovo Romolo Trinitat Nova Boulogne – Pont de Saint-Cloud Pingguoyuan Station Újpest-Központ Gare de Vaise Rybatskoye Berlin-Pankow station Prospekt Pobedy Xunfenggang Station Fukuzumi Station Retiro Nørreport Station Cesson-Viasilva Nakamozu Station Moncloa Pinar de Chamartín Pont de Neuilly Anheqiao North Station Vörösmarty tér Nopo Station Munyang Station Tin King Stop Xinzhuang Station Saint-Denis – Université Prospekt Veteranov Bonn Hauptbahnhof Porte Dauphine Alvik metro station Berlin Alexanderplatz station Argüelles Famagosta Yau Ma Tei Station Kolsås Gyeyang Station Louis Blanc Xilang Station Tøyen Tai Wai Station Shchyolkovskaya Vanløse Station Comasina Lufthavnen Station Suzhuang Station Yuancun Station Villaverde Alto Porta Garibaldi Ulitsa Dybenko Badalona Pompeu Fabra Déli pályaudvar Gorkovskaya Ansim Station Röthenbach Pitis San Donato Sunny Bay Station Sinsen Tengachaya Station Mairie de Montreuil La Rose - Technopôle de Château-Gombert La Sagrera-Meridiana station Alma-Atinskaya Sam Shing Stop Uzumasa Tenjingawa Station Zyablikovo Farsta strand metro station Uxbridge tube station Berlin Südkreuz Hospital de Bellvitge Shady Grove Station Akhmeteli Theatre Château de Vincennes Porta Romana Kupchino Anpyeong Station Front Populaire Ramonville Tenjimbashisuji Rokuchōme Station Åkeshov metro station Ostkreuz Mörby centrum metro station Tianhe Coach Terminal Station Porte de Vincennes Sondrio Creek Mairie d'Ivry Milano Cadorna railway station Bulvar Rokossovskogo Milano Rogoredo railway station Rashidiya Moorgate station South Ferry loops Inganni Pont de Levallois – Bécon Tuen Mun Ferry Pier Stop Molino Dorino Midway Bignami Kakhovskaya Nokdong Station Pont de Sèvres Hospital del Henares Guangzhou East Railway Station Howard Yuen Long Stop Sesto Marelli La Fourragère Cascina Gobba Pointe du Lac Krumme Lanke Villejuif - Louis Aragon Suyeong Station Tsuen Wan Station Casa de Campo Bobigny – Pablo Picasso Hönow Mairie des Lilas Saint-Lazare Siu Hong Stop Młociny metro station Örs vezér tere Po Lam Station Soyosan Station Nishi-Umeda Station Gambetta Zolotaya Niva Yeungnam University Station Jolimont Saint-Jacques-Gaîté Assago Milanofiori Forum Uruchcha Daejeo Station Eastchester – Dyre Avenue De Akkers Cuire Osloer Straße Centrale FS Burevestnik Olympiades Fruängen metro station Berlin-Wittenau station Letňany Christopher Street Vaulx-en-Velin - La Soie Zličín Balma – Gramont 54th/Cermak
Shinjuku Station, Hamburg Central Station and Nuevos Ministerios Station are the terminus for min number of roads
Shinjuku Station Hamburg Central Station Nuevos Ministerios Station
action argmin
action find_reverse_tuple_counts
relation terminus
type railway station
type road
[{'concept': 'road'}, 'terminus', '54th/Cermak']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?m ) WHERE { ?l rdf:type ontology:railway_station . ?r rdf:type ontology:road . ?r property:terminus ?l } GROUP BY ?l } . FILTER ( ?m = ?h ) . { SELECT DISTINCT ( MIN ( ?d ) AS ?h ) { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:terminus ?y . ?y rdf:type ontology:railway_station . ?x rdf:type ontology:road } GROUP BY ?y } } }
[]