Simple Question (Direct)
Simple Question
Q4715241
P641
Q349
USER
What was the sport that Aleksandr Krendelev was a part of ?
(Q4715241,P641,c(Q349))
action filter_type
action find
entity Q4715241
relation P641
type Q349
['Q4715241', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q349 . resource:Q4715241 property:P641 ?f }
Aleksandr Krendelev
action filter_type
action find
entity Aleksandr Krendelev
relation sport
type sport
['Aleksandr Krendelev', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sport . resource:Aleksandr_Krendelev property:sport ?f }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4715241,P641,c(Q349))
action filter_type
action find
entity Q4715241
relation P641
type Q349
The sport that Aleksandr Krendelev was a part of was the [ANSWER]
['Q4715241', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q349 . resource:Q4715241 property:P641 ?f }
association football
The sport that Aleksandr Krendelev was a part of was the association football
association football
action filter_type
action find
entity Aleksandr Krendelev
relation sport
type sport
['Aleksandr Krendelev', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sport . resource:Aleksandr_Krendelev property:sport ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4715241
P106
Q12737077
USER
Which occupation has Aleksandr Krendelev as his/her 's career ?
(Q4715241,P106,c(Q12737077))
action filter_type
action find
entity Q4715241
relation P106
type Q12737077
['Q4715241', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q4715241 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Aleksandr Krendelev
action filter_type
action find
entity Aleksandr Krendelev
relation occupation
type occupation
['Aleksandr Krendelev', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Aleksandr_Krendelev property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q4715241,P106,c(Q12737077))
action filter_type
action find
entity Q4715241
relation P106
type Q12737077
Player [ANSWER] has Aleksandr Krendelev as his/her 's career
['Q4715241', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q4715241 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
association football player
Player association football player has Aleksandr Krendelev as his/her 's career
association football player
action filter_type
action find
entity Aleksandr Krendelev
relation occupation
type occupation
['Aleksandr Krendelev', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Aleksandr_Krendelev property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q13142875
Q12737077
USER
And also tell me about Rudolf Post?
(Q13142875,P106,c(Q12737077))
action filter_type
action find
entity Q13142875
relation P106
type Q12737077
['Q13142875', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q13142875 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Rudolf Post
action filter_type
action find
entity Rudolf Post
relation occupation
type occupation
['Rudolf Post', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Rudolf_Post property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q14467526 Q2599593
SYSTEM
linguist, germanist
Q14467526 Q2599593
(Q13142875,P106,c(Q12737077))
action filter_type
action find
entity Q13142875
relation P106
type Q12737077
[ANSWERS]
['Q13142875', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q13142875 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
linguist germanist
linguist germanist
action filter_type
action find
entity Rudolf Post
relation occupation
type occupation
['Rudolf Post', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Rudolf_Post property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q14467526 Q2599593
P101
Q502895
USER
Which people have specialisation in those occupations ?
(c(Q502895),P101,Q14467526) (c(Q502895),P101,Q2599593)
action filter_type
action find_reverse
entity prev_answer
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q14467526'] [{'concept': 'Q502895'}, 'P101', 'Q2599593']
SELECT DISTINCT ?e WHERE { ?e property:P101 ?s . ?e rdf:type ontology:Q502895 . VALUES ( ?s ) { ( resource:Q14467526 ) ( resource:Q2599593 ) } }
linguist germanist
action filter_type
action find_reverse
entity prev_answer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'linguist'] [{'concept': 'common name'}, 'field of work', 'germanist']
SELECT DISTINCT ?e WHERE { ?e property:field_of_work ?s . ?e rdf:type ontology:common_name . VALUES ( ?s ) { ( resource:linguist ) ( resource:germanist ) } }
[]
common name
Q327195 Q87675
SYSTEM
Edgar de Wahl, Theodor von Karajan
Q327195 Q87675
(c(Q502895),P101,Q14467526) (c(Q502895),P101,Q2599593)
action filter_type
action find_reverse
entity prev_answer
relation P101
type Q502895
[ANSWERS] have specialisation in those occupations
[{'concept': 'Q502895'}, 'P101', 'Q14467526'] [{'concept': 'Q502895'}, 'P101', 'Q2599593']
SELECT DISTINCT ?e WHERE { ?e property:P101 ?s . ?e rdf:type ontology:Q502895 . VALUES ( ?s ) { ( resource:Q14467526 ) ( resource:Q2599593 ) } }
Edgar de Wahl Theodor von Karajan
Edgar de Wahl and Theodor von Karajan have specialisation in those occupations
Edgar de Wahl Theodor von Karajan
action filter_type
action find_reverse
entity prev_answer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'linguist'] [{'concept': 'common name'}, 'field of work', 'germanist']
SELECT DISTINCT ?e WHERE { ?e property:field_of_work ?s . ?e rdf:type ontology:common_name . VALUES ( ?s ) { ( resource:linguist ) ( resource:germanist ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q327195 Q87675
P20
Q56061
USER
Which administrative territories are the places of death of Edgar de Wahl and Theodor von Karajan ?
(Q327195,P20,c(Q56061)) (Q87675,P20,c(Q56061))
action union
action filter_type
action find
entity Q327195
relation P20
type Q56061
action filter_type
action find
entity Q87675
relation P20
type Q56061
['Q327195', 'P20', {'concept': 'Q56061'}] ['Q87675', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { VALUES ( ?z ) { ( resource:Q327195 ) ( resource:Q87675 ) } . ?z property:P20 ?a }
Edgar de Wahl Theodor von Karajan
action union
action filter_type
action find
entity Edgar de Wahl
relation place of death
type administrative territorial entity
action filter_type
action find
entity Theodor von Karajan
relation place of death
type administrative territorial entity
['Edgar de Wahl', 'place of death', {'concept': 'administrative territorial entity'}] ['Theodor von Karajan', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { VALUES ( ?z ) { ( resource:Edgar_de_Wahl ) ( resource:Theodor_von_Karajan ) } . ?z property:place_of_death ?a }
[]
administrative territorial entity
Q1770 Q1741
SYSTEM
Tallinn, Vienna
Q1770 Q1741
(Q327195,P20,c(Q56061)) (Q87675,P20,c(Q56061))
action union
action filter_type
action find
entity Q327195
relation P20
type Q56061
action filter_type
action find
entity Q87675
relation P20
type Q56061
[ANSWERS] are the places of death of Edgar de Wahl and Theodor von Karajan
['Q327195', 'P20', {'concept': 'Q56061'}] ['Q87675', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { VALUES ( ?z ) { ( resource:Q327195 ) ( resource:Q87675 ) } . ?z property:P20 ?a }
Tallinn Vienna
Tallinn and Vienna are the places of death of Edgar de Wahl and Theodor von Karajan
Tallinn Vienna
action union
action filter_type
action find
entity Edgar de Wahl
relation place of death
type administrative territorial entity
action filter_type
action find
entity Theodor von Karajan
relation place of death
type administrative territorial entity
['Edgar de Wahl', 'place of death', {'concept': 'administrative territorial entity'}] ['Theodor von Karajan', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { VALUES ( ?z ) { ( resource:Edgar_de_Wahl ) ( resource:Theodor_von_Karajan ) } . ?z property:place_of_death ?a }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1770 Q1741
P190
Q56061
USER
Which administrative territories are partner towns of Tallinn and Vienna ?
(Q1770,P190,c(Q56061)) (Q1741,P190,c(Q56061))
action union
action filter_type
action find
entity Q1770
relation P190
type Q56061
action filter_type
action find
entity Q1741
relation P190
type Q56061
['Q1770', 'P190', {'concept': 'Q56061'}] ['Q1741', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { { resource:Q1770 property:P190 ?v . ?v rdf:type ontology:Q56061 } UNION { resource:Q1741 property:P190 ?v . ?v rdf:type ontology:Q56061 } }
Tallinn Vienna
action union
action filter_type
action find
entity Tallinn
relation sister city
type administrative territorial entity
action filter_type
action find
entity Vienna
relation sister city
type administrative territorial entity
['Tallinn', 'sister city', {'concept': 'administrative territorial entity'}] ['Vienna', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { resource:Tallinn property:sister_city ?v . ?v rdf:type ontology:administrative_territorial_entity } UNION { resource:Vienna property:sister_city ?v . ?v rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
Q649 Q649 Q1781
SYSTEM
Moscow for 1st, 2nd, Budapest for 3rd
Q858775 Q1707 Q641 Q747509 Q649 Q28271 Q192155 Q1754 Q749 Q216 Q761 Q1296 Q1709 Q1781 Q3711 Q33935 Q4656 Q649 Q472 Q270 Q1780 Q437 Q70 Q406
(Q1770,P190,c(Q56061)) (Q1741,P190,c(Q56061))
action union
action filter_type
action find
entity Q1770
relation P190
type Q56061
action filter_type
action find
entity Q1741
relation P190
type Q56061
[ANSWERS]
['Q1770', 'P190', {'concept': 'Q56061'}] ['Q1741', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { { resource:Q1770 property:P190 ?v . ?v rdf:type ontology:Q56061 } UNION { resource:Q1741 property:P190 ?v . ?v rdf:type ontology:Q56061 } }
Dartford Kiel Venice Los Gatos Moscow Annapolis Kotka Stockholm Groningen Vilnius Białystok Ghent Schwerin Budapest Belgrade Tel Aviv Pula Moscow Sofia Warsaw Bratislava Ljubljana Bern Istanbul
Moscow, Moscow and Budapest are partner towns of Tallinn and Vienna
Moscow Moscow Budapest
action union
action filter_type
action find
entity Tallinn
relation sister city
type administrative territorial entity
action filter_type
action find
entity Vienna
relation sister city
type administrative territorial entity
['Tallinn', 'sister city', {'concept': 'administrative territorial entity'}] ['Vienna', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { resource:Tallinn property:sister_city ?v . ?v rdf:type ontology:administrative_territorial_entity } UNION { resource:Vienna property:sister_city ?v . ?v rdf:type ontology:administrative_territorial_entity } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q649
P1376
Q15617994
USER
Which administrative territory has that administrative territory as its capital ?
(Q649,P1376,c(Q15617994))
action filter_type
action find
entity Q649
relation P1376
type Q15617994
['Q649', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q649 property:P1376 ?v . ?v rdf:type ontology:Q15617994 }
Moscow
action filter_type
action find
entity Moscow
relation capital of
type designation for an administrative territorial entity
['Moscow', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Moscow property:capital_of ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q649
SYSTEM
Did you mean Moscow ?
Q649 Q649 Q1781
(Q649,P1376,c(Q15617994)) (Q649,P1376,c(Q15617994)) (Q1781,P1376,c(Q15617994))
[ANSWER]
['Q649', 'P1376', {'concept': 'Q15617994'}] ['Q649', 'P1376', {'concept': 'Q15617994'}] ['Q1781', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q649 property:P1376 ?v . ?v rdf:type ontology:Q15617994 }
Moscow Moscow Budapest
Did you mean Moscow ?
Moscow
['Moscow', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Moscow', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Budapest', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Moscow property:capital_of ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q649,P1376,c(Q15617994))
['Q649', 'P1376', {'concept': 'Q15617994'}]
['Moscow', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
[]
Q159
SYSTEM
Russia
Q159
(Q649,P1376,c(Q15617994))
action filter_type
action find
entity Q649
relation P1376
type Q15617994
[ANSWER] has that administrative territory as its capital
['Q649', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q649 property:P1376 ?v . ?v rdf:type ontology:Q15617994 }
Russia
Russia has that administrative territory as its capital
Russia
action filter_type
action find
entity Moscow
relation capital of
type designation for an administrative territorial entity
['Moscow', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Moscow property:capital_of ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P110
Q502895 Q571 Q2342494
USER
Which people illustrated max number of books and collectables ?
(c(Q571)|c(Q2342494),P110,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q571
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
[[{'concept': 'Q571'}, {'concept': 'Q2342494'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) ?q WHERE { ?h rdf:type ?y . VALUES ( ?y ) { ( ontology:Q571 ) ( ontology:Q2342494 ) } } GROUP BY ?q } } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) ?d WHERE { { ?d rdf:type ontology:Q502895 . ?s rdf:type ontology:Q571 . ?s property:P110 ?d } UNION { ?s property:P110 ?d . ?d rdf:type ontology:Q502895 . ?s rdf:type ontology:Q2342494 } } GROUP BY ?d } . FILTER ( ?j = ?g ) }
action argmax
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type book
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
[[{'concept': 'book'}, {'concept': 'collectable'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) ?q WHERE { ?h rdf:type ?y . VALUES ( ?y ) { ( ontology:book ) ( ontology:collectable ) } } GROUP BY ?q } } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) ?d WHERE { { ?d rdf:type ontology:common_name . ?s rdf:type ontology:book . ?s property:illustrator ?d } UNION { ?s property:illustrator ?d . ?d rdf:type ontology:common_name . ?s rdf:type ontology:collectable } } GROUP BY ?d } . FILTER ( ?j = ?g ) }
[]
common name book collectable
Q2831042
SYSTEM
Albert Chazelle
Q2831042
(c(Q571)|c(Q2342494),P110,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q571
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
[ANSWER] illustrated max number of books and collectables
[[{'concept': 'Q571'}, {'concept': 'Q2342494'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) ?q WHERE { ?h rdf:type ?y . VALUES ( ?y ) { ( ontology:Q571 ) ( ontology:Q2342494 ) } } GROUP BY ?q } } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) ?d WHERE { { ?d rdf:type ontology:Q502895 . ?s rdf:type ontology:Q571 . ?s property:P110 ?d } UNION { ?s property:P110 ?d . ?d rdf:type ontology:Q502895 . ?s rdf:type ontology:Q2342494 } } GROUP BY ?d } . FILTER ( ?j = ?g ) }
Albert Chazelle
Albert Chazelle illustrated max number of books and collectables
Albert Chazelle
action argmax
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type book
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
[[{'concept': 'book'}, {'concept': 'collectable'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) ?q WHERE { ?h rdf:type ?y . VALUES ( ?y ) { ( ontology:book ) ( ontology:collectable ) } } GROUP BY ?q } } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) ?d WHERE { { ?d rdf:type ontology:common_name . ?s rdf:type ontology:book . ?s property:illustrator ?d } UNION { ?s property:illustrator ?d . ?d rdf:type ontology:common_name . ?s rdf:type ontology:collectable } } GROUP BY ?d } . FILTER ( ?j = ?g ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q8692
P291
Q56061 Q2342494 Q1002697
USER
How many administrative territories are the locations of publication of lesser number of collectables or periodical literatures than Bilbao ?
(c(Q2342494)|c(Q1002697),P291,c(Q56061))
action count
action less
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
action count
action filter_multi_types
action find_reverse
entity Q8692
relation P291
type Q2342494
type Q1002697
[[{'concept': 'Q2342494'}, {'concept': 'Q1002697'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) ?z WHERE { VALUES ( ?l ) { ( ontology:Q1002697 ) ( ontology:Q2342494 ) } . ?m rdf:type ?l } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:P291 resource:Q8692 . { ?h rdf:type ?k . VALUES ( ?k ) { ( ontology:Q2342494 ) ( ontology:Q1002697 ) } } } } . FILTER ( ?s < ?q ) }
Bilbao
action count
action less
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
action count
action filter_multi_types
action find_reverse
entity Bilbao
relation place of publication
type collectable
type periodical literature
[[{'concept': 'collectable'}, {'concept': 'periodical literature'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) ?z WHERE { VALUES ( ?l ) { ( ontology:periodical_literature ) ( ontology:collectable ) } . ?m rdf:type ?l } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:place_of_publication resource:Bilbao . { ?h rdf:type ?k . VALUES ( ?k ) { ( ontology:collectable ) ( ontology:periodical_literature ) } } } } . FILTER ( ?s < ?q ) }
[]
administrative territorial entity collectable periodical literature
SYSTEM
306
Q807 Q909146 Q2536016 Q2512312 Q190583 Q27918 Q736775 Q2035368 Q3897 Q38511 Q3711 Q130191 Q203619 Q393 Q80670 Q25286 Q1544563 Q490595 Q3808 Q501661 Q982367 Q3150 Q484678 Q11974 Q151920 Q13375 Q36378 Q4093 Q2560090 Q10305 Q3404679 Q23337 Q33959 Q987 Q23051 Q586 Q2656 Q1289 Q4581188 Q8851 Q10690 Q25748 Q9920 Q15688 Q12155 Q323801 Q15682 Q15684 Q170497 Q41876 Q749 Q39561 Q48329 Q3992 Q2132 Q7880 Q1930 Q949651 Q3846 Q81046 Q597 Q5831 Q22889 Q5836 Q132572 Q6157 Q1718 Q43631 Q15283655 Q4713350 Q428829 Q1335 Q1895 Q1034159 Q1155 Q103717 Q28911 Q3400328 Q14323 Q186237 Q14325 Q180233 Q484799 Q14328 Q576110 Q5083 Q1524 Q1489 Q209055 Q2020203 Q3561 Q40347 Q406 Q234178 Q739452 Q8678 Q15468 Q490 Q6346 Q495 Q2044 Q887 Q576165 Q5465 Q2141 Q54217 Q1679567 Q2814 Q15093 Q2280 Q162279 Q3141 Q671288 Q72 Q17151 Q1490 Q1191195 Q102217 Q237 Q334 Q16559 Q16554 Q16555 Q16557 Q486306 Q621 Q8686 Q994 Q1513 Q192517 Q1296 Q3033 Q936183 Q1563 Q170263 Q35381 Q45412 Q87 Q40269 Q2081145 Q1024911 Q193478 Q5112 Q2103 Q1741 Q178093 Q191133 Q11959 Q35493 Q538915 Q78 Q2617448 Q37100 Q38022 Q36405 Q270 Q286048 Q1235510 Q15678 Q1931927 Q49241 Q3183 Q172157 Q1781 Q33935 Q582121 Q16567 Q1861 Q14318 Q15090 Q134620 Q956 Q15095 Q15098 Q437 Q8745 Q1479 Q13580 Q2766547 Q18419 Q2941325 Q12258 Q202158 Q1017331 Q2090 Q49145 Q42735 Q242478 Q327022 Q23154 Q340 Q342 Q10282 Q26421 Q429676 Q672545 Q188304 Q617 Q634054 Q37995 Q6576 Q6761 Q28249 Q13666 Q761 Q9580 Q569661 Q2634 Q8356 Q3584 Q49179 Q735583 Q1724 Q11967 Q1729 Q3519 Q65 Q159232 Q207891 Q2028 Q62 Q3395358 Q683512 Q18125 Q3889 Q9125 Q5818 Q1867 Q204382 Q12439 Q27393 Q470445 Q126148 Q1352 Q771986 Q49229 Q33405 Q79990 Q8385 Q493794 Q6537 Q6106 Q2391194 Q72259 Q1295 Q19785 Q647 Q193367 Q727 Q59169 Q669171 Q204720 Q206988 Q3012 Q24826 Q15699 Q15695 Q985271 Q28848 Q128306 Q15088 Q3366952 Q997170 Q203263 Q580 Q213898 Q193180 Q585 Q34370 Q47048 Q178277 Q192155 Q883 Q207639 Q41262 Q125080 Q2066 Q12303 Q156990 Q3834 Q81137 Q40840 Q955640 Q281839 Q485172 Q26793 Q3426 Q10686 Q211020 Q181854 Q648 Q487786 Q172 Q216 Q646620 Q720627 Q13972 Q215277 Q129610 Q179385 Q1348 Q29303 Q628667 Q127159 Q14336 Q34647
(c(Q2342494)|c(Q1002697),P291,c(Q56061))
action count
action less
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
action count
action filter_multi_types
action find_reverse
entity Q8692
relation P291
type Q2342494
type Q1002697
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q1002697'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) ?z WHERE { VALUES ( ?l ) { ( ontology:Q1002697 ) ( ontology:Q2342494 ) } . ?m rdf:type ?l } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:P291 resource:Q8692 . { ?h rdf:type ?k . VALUES ( ?k ) { ( ontology:Q2342494 ) ( ontology:Q1002697 ) } } } } . FILTER ( ?s < ?q ) }
Lausanne Godalming Crickhowell Eppegem Mikkeli Bad Rappenau Toronto Tremadog Luanda Turku Belgrade Norwich Kemi Szczecin Mühlacker Uppsala Hellerup Daytona Beach Yaoundé Schleswig Mineola Jena Berkeley Las Palmas de Gran Canaria Tiberias Pisa Fribourg Glasgow Athol Zaragoza Crumlin Salt Lake City Nice New Delhi Swansea Bonn Palermo Grenoble Straume Málaga Cardiff Gävle Haarlem Ávila Soria Nampula Cádiz Segovia Gloucester Reims Groningen Burbank Mariehamn Liège Victoria Toulouse Ottawa Wilmington Minden Charleroi Lisbon Melilla Bath Toledo Tiraspol Seinäjoki Düsseldorf Leiden Elverum Alcones Caernarfon Montevideo Petrozavodsk Harstad Busto Arsizio Rovaniemi Lahti St Athan Mérida Joensuu Logroño Pori Marbella Santa Cruz de Tenerife Nauvoo Seattle Athens Mexico City Torquay Rhyl Algiers Norman Istanbul Bangor Garden City Rio de Janeiro Badalona Milan Indianapolis Turin Florence Yekaterinburg Warsaw Cape Town Halifax Norwalk Jakobstad Halle (Saale) Ciudad Real Minsk Kuopio Melbourne Bend Zürich Thessaloniki Tokyo Mold Vitebsk Vatican City Singapore Austin Denver Houston Dallas Pensacola Versailles Shanghai Tbilisi Nagpur Boulder Ghent Göttingen Tonbridge Havana Chester Colombo Coimbra Alexandria Porto Alegre Milborne Port Welshpool Buda Adelaide Bochum Vienna Poughkeepsie Fátima Alicante Almaty Mjölby Basel Edinburgh Auckland St. Louis Aberdeen Warsaw New Glasgow, Nova Scotia Dolgellau Cáceres Bracon Ash Lexington Perth Winchester Budapest Tel Aviv Bradenton Columbus Bangkok Vitoria-Gasteiz Lleida Jyväskylä Beijing Albacete Cuenca Ljubljana Vigo Bordeaux Metro Manila 's-Hertogenbosch Brooklyn Corbin Sabadell Hämeenlinna Westport, County Mayo Nuremberg New Haven Olympia Levoča Rockville Bristol Montreal Quimper Pamplona Dordrecht Sereď Barmouth Sunderland Padua Conwy Yangon Irkutsk Livorno Concord Messina Białystok Burgos Königstein im Taunus Naples Valladolid Nový Jičín Worcester Ylivieska Saarbrücken Huesca Erfurt Bari Los Angeles Santa Cruz Kokkola Verona San Francisco Kidwelly Savonlinna Manchester Maputo Winterthur Córdoba Taipei Kouvola Detroit Herning Prostějov Tangier Chennai Chepstow Durham Little Rock Christchurch Ostrava Dubuque Vicenza Portland Saint-Idesbald Portsmouth Dortmund Harpenden Rennes Porvoo Amsterdam Mo i Rana Newtown Hereford Cheltenham Ulm Liverpool León Salamanca The Dalles Saint Paul Denton Tarragona Alta Waterville Athens Łódź Preveza Kajaani Oslo Rotterdam Oulu Montvale Kotka Novosibirsk Chichester Nottingham Vaasa Essen Jerez de la Frontera Monmouth Konstanz Olomouc Tampere Glasgow Englewood Cliffs, New Jersey Ann Arbor Bergen Voronezh Belfast Imatra Lappeenranta Lille Orihuela Toronto Vilnius Estella-Lizarra Kanhangad Tartu Jaffna Galway Greenwich Kolkata Canterbury Spangenberg Bletchley Teruel Johannesburg
306
action count
action less
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
action count
action filter_multi_types
action find_reverse
entity Bilbao
relation place of publication
type collectable
type periodical literature
[[{'concept': 'collectable'}, {'concept': 'periodical literature'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) ?z WHERE { VALUES ( ?l ) { ( ontology:periodical_literature ) ( ontology:collectable ) } . ?m rdf:type ?l } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:place_of_publication resource:Bilbao . { ?h rdf:type ?k . VALUES ( ?k ) { ( ontology:collectable ) ( ontology:periodical_literature ) } } } } . FILTER ( ?s < ?q ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q10282
P291
Q56061 Q2342494 Q1002697
USER
And also tell me about Pamplona?
(c(Q2342494)|c(Q1002697),P291,c(Q56061))
action count
action less
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
action count
action filter_multi_types
action find_reverse
entity Q10282
relation P291
type Q2342494
type Q1002697
[[{'concept': 'Q2342494'}, {'concept': 'Q1002697'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?q ) WHERE { ?l rdf:type ?m . VALUES ( ?m ) { ( ontology:Q1002697 ) ( ontology:Q2342494 ) } } GROUP BY ?j } . FILTER ( ?q < ?g ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:P291 resource:Q10282 . { { ?p rdf:type ontology:Q2342494 } UNION { ?p rdf:type ontology:Q1002697 } } } } }
Pamplona
action count
action less
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
action count
action filter_multi_types
action find_reverse
entity Pamplona
relation place of publication
type collectable
type periodical literature
[[{'concept': 'collectable'}, {'concept': 'periodical literature'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?q ) WHERE { ?l rdf:type ?m . VALUES ( ?m ) { ( ontology:periodical_literature ) ( ontology:collectable ) } } GROUP BY ?j } . FILTER ( ?q < ?g ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:place_of_publication resource:Pamplona . { { ?p rdf:type ontology:collectable } UNION { ?p rdf:type ontology:periodical_literature } } } } }
[]
administrative territorial entity collectable periodical literature
SYSTEM
288
Q807 Q909146 Q2536016 Q2512312 Q190583 Q27918 Q736775 Q2035368 Q3897 Q38511 Q3711 Q130191 Q203619 Q393 Q80670 Q1544563 Q490595 Q3808 Q501661 Q982367 Q484678 Q11974 Q151920 Q13375 Q36378 Q4093 Q2560090 Q10305 Q3404679 Q23337 Q33959 Q987 Q23051 Q2656 Q4581188 Q10690 Q25748 Q9920 Q15688 Q12155 Q323801 Q15682 Q15684 Q170497 Q41876 Q749 Q39561 Q48329 Q2132 Q7880 Q1930 Q949651 Q3846 Q81046 Q597 Q5831 Q22889 Q5836 Q132572 Q6157 Q1718 Q43631 Q15283655 Q4713350 Q428829 Q1335 Q1895 Q1034159 Q1155 Q103717 Q28911 Q3400328 Q14323 Q186237 Q14325 Q180233 Q484799 Q14328 Q576110 Q5083 Q1524 Q209055 Q2020203 Q3561 Q40347 Q406 Q234178 Q739452 Q8678 Q15468 Q6346 Q495 Q2044 Q887 Q576165 Q5465 Q2141 Q54217 Q1679567 Q2814 Q15093 Q2280 Q162279 Q3141 Q671288 Q72 Q17151 Q1191195 Q102217 Q237 Q334 Q16559 Q16554 Q16555 Q16557 Q486306 Q621 Q994 Q1513 Q192517 Q1296 Q3033 Q936183 Q1563 Q170263 Q35381 Q45412 Q87 Q40269 Q2081145 Q1024911 Q193478 Q5112 Q2103 Q1741 Q178093 Q191133 Q11959 Q35493 Q538915 Q78 Q2617448 Q37100 Q38022 Q36405 Q286048 Q1235510 Q1931927 Q49241 Q3183 Q172157 Q33935 Q582121 Q16567 Q1861 Q14318 Q15090 Q134620 Q956 Q15095 Q15098 Q437 Q8745 Q1479 Q13580 Q2766547 Q18419 Q2941325 Q12258 Q202158 Q1017331 Q2090 Q49145 Q42735 Q242478 Q327022 Q23154 Q340 Q26421 Q429676 Q672545 Q188304 Q617 Q634054 Q37995 Q6576 Q6761 Q28249 Q13666 Q761 Q9580 Q2634 Q8356 Q3584 Q49179 Q735583 Q1724 Q11967 Q1729 Q3519 Q65 Q159232 Q207891 Q2028 Q62 Q3395358 Q683512 Q18125 Q3889 Q9125 Q5818 Q1867 Q204382 Q12439 Q27393 Q470445 Q126148 Q1352 Q771986 Q49229 Q33405 Q79990 Q8385 Q493794 Q6537 Q6106 Q2391194 Q72259 Q1295 Q19785 Q647 Q193367 Q727 Q59169 Q669171 Q204720 Q206988 Q3012 Q24826 Q15699 Q15695 Q985271 Q28848 Q128306 Q15088 Q3366952 Q997170 Q203263 Q580 Q213898 Q193180 Q585 Q47048 Q178277 Q192155 Q883 Q207639 Q41262 Q125080 Q2066 Q12303 Q156990 Q3834 Q40840 Q955640 Q281839 Q485172 Q26793 Q3426 Q10686 Q211020 Q181854 Q648 Q487786 Q172 Q216 Q646620 Q720627 Q13972 Q215277 Q129610 Q179385 Q1348 Q29303 Q628667 Q127159 Q14336 Q34647
(c(Q2342494)|c(Q1002697),P291,c(Q56061))
action count
action less
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
action count
action filter_multi_types
action find_reverse
entity Q10282
relation P291
type Q2342494
type Q1002697
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q1002697'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?q ) WHERE { ?l rdf:type ?m . VALUES ( ?m ) { ( ontology:Q1002697 ) ( ontology:Q2342494 ) } } GROUP BY ?j } . FILTER ( ?q < ?g ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:P291 resource:Q10282 . { { ?p rdf:type ontology:Q2342494 } UNION { ?p rdf:type ontology:Q1002697 } } } } }
Lausanne Godalming Crickhowell Eppegem Mikkeli Bad Rappenau Toronto Tremadog Luanda Turku Belgrade Norwich Kemi Szczecin Mühlacker Hellerup Daytona Beach Yaoundé Schleswig Mineola Berkeley Las Palmas de Gran Canaria Tiberias Pisa Fribourg Glasgow Athol Zaragoza Crumlin Salt Lake City Nice New Delhi Swansea Palermo Straume Cardiff Gävle Haarlem Ávila Soria Nampula Cádiz Segovia Gloucester Reims Groningen Burbank Mariehamn Victoria Toulouse Ottawa Wilmington Minden Charleroi Lisbon Melilla Bath Toledo Tiraspol Seinäjoki Düsseldorf Leiden Elverum Alcones Caernarfon Montevideo Petrozavodsk Harstad Busto Arsizio Rovaniemi Lahti St Athan Mérida Joensuu Logroño Pori Marbella Santa Cruz de Tenerife Nauvoo Seattle Athens Torquay Rhyl Algiers Norman Istanbul Bangor Garden City Rio de Janeiro Badalona Indianapolis Turin Florence Yekaterinburg Warsaw Cape Town Halifax Norwalk Jakobstad Halle (Saale) Ciudad Real Minsk Kuopio Melbourne Bend Zürich Thessaloniki Mold Vitebsk Vatican City Singapore Austin Denver Houston Dallas Pensacola Versailles Tbilisi Nagpur Boulder Ghent Göttingen Tonbridge Havana Chester Colombo Coimbra Alexandria Porto Alegre Milborne Port Welshpool Buda Adelaide Bochum Vienna Poughkeepsie Fátima Alicante Almaty Mjölby Basel Edinburgh Auckland St. Louis Aberdeen New Glasgow, Nova Scotia Dolgellau Bracon Ash Lexington Perth Winchester Tel Aviv Bradenton Columbus Bangkok Vitoria-Gasteiz Lleida Jyväskylä Beijing Albacete Cuenca Ljubljana Vigo Bordeaux Metro Manila 's-Hertogenbosch Brooklyn Corbin Sabadell Hämeenlinna Westport, County Mayo Nuremberg New Haven Olympia Levoča Rockville Bristol Montreal Dordrecht Sereď Barmouth Sunderland Padua Conwy Yangon Irkutsk Livorno Concord Messina Białystok Burgos Naples Valladolid Nový Jičín Worcester Ylivieska Saarbrücken Huesca Erfurt Bari Los Angeles Santa Cruz Kokkola Verona San Francisco Kidwelly Savonlinna Manchester Maputo Winterthur Córdoba Taipei Kouvola Detroit Herning Prostějov Tangier Chennai Chepstow Durham Little Rock Christchurch Ostrava Dubuque Vicenza Portland Saint-Idesbald Portsmouth Dortmund Harpenden Rennes Porvoo Amsterdam Mo i Rana Newtown Hereford Cheltenham Ulm Liverpool León Salamanca The Dalles Saint Paul Denton Tarragona Alta Waterville Athens Łódź Preveza Kajaani Oslo Oulu Montvale Kotka Novosibirsk Chichester Nottingham Vaasa Essen Jerez de la Frontera Monmouth Konstanz Tampere Glasgow Englewood Cliffs, New Jersey Ann Arbor Bergen Voronezh Belfast Imatra Lappeenranta Lille Orihuela Toronto Vilnius Estella-Lizarra Kanhangad Tartu Jaffna Galway Greenwich Kolkata Canterbury Spangenberg Bletchley Teruel Johannesburg
288
action count
action less
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
action count
action filter_multi_types
action find_reverse
entity Pamplona
relation place of publication
type collectable
type periodical literature
[[{'concept': 'collectable'}, {'concept': 'periodical literature'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?q ) WHERE { ?l rdf:type ?m . VALUES ( ?m ) { ( ontology:periodical_literature ) ( ontology:collectable ) } } GROUP BY ?j } . FILTER ( ?q < ?g ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:place_of_publication resource:Pamplona . { { ?p rdf:type ontology:collectable } UNION { ?p rdf:type ontology:periodical_literature } } } } }
[]