Simple Question (Direct)
Simple Question
Q12742056
P20
Q515
USER
Where did Teodor Bălan expire ?
(Q12742056,P20,c(Q515))
action filter_type
action find
entity Q12742056
relation P20
type Q515
['Q12742056', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?a WHERE { resource:Q12742056 property:P20 ?a . ?a rdf:type ontology:Q515 }
Teodor Bălan
action filter_type
action find
entity Teodor Bălan
relation place of death
type city
['Teodor Bălan', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?a WHERE { resource:Teodor_Bălan property:place_of_death ?a . ?a rdf:type ontology:city }
[]
city
Q837170
SYSTEM
Gura Humorului
Q837170
(Q12742056,P20,c(Q515))
action filter_type
action find
entity Q12742056
relation P20
type Q515
Teodor Bălan expired in [ANSWER]
['Q12742056', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?a WHERE { resource:Q12742056 property:P20 ?a . ?a rdf:type ontology:Q515 }
Gura Humorului
Teodor Bălan expired in Gura Humorului
Gura Humorului
action filter_type
action find
entity Teodor Bălan
relation place of death
type city
['Teodor Bălan', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?a WHERE { resource:Teodor_Bălan property:place_of_death ?a . ?a rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q837170
P190
Q20667921
USER
Which french administrative division is partner town of that city ?
(c(Q20667921),P190,Q837170)
action filter_type
action find
entity Q837170
relation P190
type Q20667921
[{'concept': 'Q20667921'}, 'P190', 'Q837170']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q20667921 . resource:Q837170 property:P190 ?n }
Gura Humorului
action filter_type
action find
entity Gura Humorului
relation sister city
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'sister city', 'Gura Humorului']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:type_of_french_administrative_division . resource:Gura_Humorului property:sister_city ?n }
[]
type of french administrative division
Q656505
SYSTEM
Marly-le-Roi
Q656505
(c(Q20667921),P190,Q837170)
action filter_type
action find
entity Q837170
relation P190
type Q20667921
[ANSWER] is partner town of that city
[{'concept': 'Q20667921'}, 'P190', 'Q837170']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q20667921 . resource:Q837170 property:P190 ?n }
Marly-le-Roi
Marly-le-Roi is partner town of that city
Marly-le-Roi
action filter_type
action find
entity Gura Humorului
relation sister city
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'sister city', 'Gura Humorului']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:type_of_french_administrative_division . resource:Gura_Humorului property:sister_city ?n }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q656505
P36
Q20667921
USER
Which french administrative division is that one the capital of ?
(c(Q20667921),P36,Q656505)
action filter_type
action find_reverse
entity Q656505
relation P36
type Q20667921
[{'concept': 'Q20667921'}, 'P36', 'Q656505']
SELECT DISTINCT ?z WHERE { ?z property:P36 resource:Q656505 . ?z rdf:type ontology:Q20667921 }
Marly-le-Roi
action filter_type
action find_reverse
entity Marly-le-Roi
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Marly-le-Roi']
SELECT DISTINCT ?z WHERE { ?z property:capital resource:Marly-le-Roi . ?z rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q600145
SYSTEM
canton of Marly-le-Roi
Q600145
(c(Q20667921),P36,Q656505)
action filter_type
action find_reverse
entity Q656505
relation P36
type Q20667921
The [ANSWER] is that one the capital of
[{'concept': 'Q20667921'}, 'P36', 'Q656505']
SELECT DISTINCT ?z WHERE { ?z property:P36 resource:Q656505 . ?z rdf:type ontology:Q20667921 }
canton of Marly-le-Roi
The canton of Marly-le-Roi is that one the capital of
canton of Marly-le-Roi
action filter_type
action find_reverse
entity Marly-le-Roi
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Marly-le-Roi']
SELECT DISTINCT ?z WHERE { ?z property:capital resource:Marly-le-Roi . ?z rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P159
Q20667921 Q874405 Q7210356
USER
Which french administrative divisions are the HQ of max number of social groups or political organizations ?
(c(Q874405)|c(Q7210356),P159,c(Q20667921))
action argmax
action union
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q874405
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q7210356
[[{'concept': 'Q874405'}, {'concept': 'Q7210356'}], 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?p ) { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?j ) WHERE { { ?t rdf:type ontology:Q20667921 . ?r rdf:type ontology:Q874405 . ?r property:P159 ?t } UNION { ?r property:P159 ?t . ?t rdf:type ontology:Q20667921 . ?r rdf:type ontology:Q7210356 } } GROUP BY ?t } } . FILTER ( ?w = ?p ) . { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?w ) WHERE { VALUES ( ?x ) { ( ontology:Q874405 ) ( ontology:Q7210356 ) } . ?n rdf:type ?x } GROUP BY ?h } }
action argmax
action union
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type social group
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type political organization
[[{'concept': 'social group'}, {'concept': 'political organization'}], 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?p ) { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?j ) WHERE { { ?t rdf:type ontology:type_of_french_administrative_division . ?r rdf:type ontology:social_group . ?r property:headquarters_location ?t } UNION { ?r property:headquarters_location ?t . ?t rdf:type ontology:type_of_french_administrative_division . ?r rdf:type ontology:political_organization } } GROUP BY ?t } } . FILTER ( ?w = ?p ) . { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?w ) WHERE { VALUES ( ?x ) { ( ontology:social_group ) ( ontology:political_organization ) } . ?n rdf:type ?x } GROUP BY ?h } }
[]
type of french administrative division social group political organization
Q9733
SYSTEM
Nouméa
Q9733
(c(Q874405)|c(Q7210356),P159,c(Q20667921))
action argmax
action union
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q874405
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q7210356
[ANSWER] is the HQ of max number of social groups or political organizations
[[{'concept': 'Q874405'}, {'concept': 'Q7210356'}], 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?p ) { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?j ) WHERE { { ?t rdf:type ontology:Q20667921 . ?r rdf:type ontology:Q874405 . ?r property:P159 ?t } UNION { ?r property:P159 ?t . ?t rdf:type ontology:Q20667921 . ?r rdf:type ontology:Q7210356 } } GROUP BY ?t } } . FILTER ( ?w = ?p ) . { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?w ) WHERE { VALUES ( ?x ) { ( ontology:Q874405 ) ( ontology:Q7210356 ) } . ?n rdf:type ?x } GROUP BY ?h } }
Nouméa
Nouméa is the HQ of max number of social groups or political organizations
Nouméa
action argmax
action union
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type social group
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type political organization
[[{'concept': 'social group'}, {'concept': 'political organization'}], 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?p ) { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?j ) WHERE { { ?t rdf:type ontology:type_of_french_administrative_division . ?r rdf:type ontology:social_group . ?r property:headquarters_location ?t } UNION { ?r property:headquarters_location ?t . ?t rdf:type ontology:type_of_french_administrative_division . ?r rdf:type ontology:political_organization } } GROUP BY ?t } } . FILTER ( ?w = ?p ) . { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?w ) WHERE { VALUES ( ?x ) { ( ontology:social_group ) ( ontology:political_organization ) } . ?n rdf:type ?x } GROUP BY ?h } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q853477
P1376
Q7275 Q20667921
USER
Which states have more number of french administrative divisions as their county seat than Lan Xang ?
(c(Q20667921),P1376,c(Q7275))
action greater
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action count
action filter_type
action find
entity Q853477
relation P1376
type Q7275
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?d ) WHERE { ?l property:P1376 ?c . ?c rdf:type ontology:Q7275 . ?l rdf:type ontology:Q20667921 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { resource:Q853477 property:P1376 ?h . ?h rdf:type ontology:Q7275 } } . FILTER ( ?d > ?x ) }
Lan Xang
action greater
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action count
action filter_type
action find
entity Lan Xang
relation capital of
type state
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?d ) WHERE { ?l property:capital_of ?c . ?c rdf:type ontology:state . ?l rdf:type ontology:type_of_french_administrative_division } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { resource:Lan_Xang property:capital_of ?h . ?h rdf:type ontology:state } } . FILTER ( ?d > ?x ) }
[]
state type of french administrative division
Q3456417 Q842091 Q112558
SYSTEM
Republic of Saint-Malo, Duchy of Normandy, Republic of Saugeais
Q3456417 Q842091 Q112558
(c(Q20667921),P1376,c(Q7275))
action greater
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action count
action filter_type
action find
entity Q853477
relation P1376
type Q7275
[ANSWERS] have more number of french administrative divisions as their county seat than Lan Xang
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?d ) WHERE { ?l property:P1376 ?c . ?c rdf:type ontology:Q7275 . ?l rdf:type ontology:Q20667921 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { resource:Q853477 property:P1376 ?h . ?h rdf:type ontology:Q7275 } } . FILTER ( ?d > ?x ) }
Republic of Saint-Malo Duchy of Normandy Republic of Saugeais
Republic of Saint-Malo, Duchy of Normandy and Republic of Saugeais have more number of french administrative divisions as their county seat than Lan Xang
Republic of Saint-Malo Duchy of Normandy Republic of Saugeais
action greater
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action count
action filter_type
action find
entity Lan Xang
relation capital of
type state
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?d ) WHERE { ?l property:capital_of ?c . ?c rdf:type ontology:state . ?l rdf:type ontology:type_of_french_administrative_division } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { resource:Lan_Xang property:capital_of ?h . ?h rdf:type ontology:state } } . FILTER ( ?d > ?x ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q25227
P1376
Q7275 Q20667921
USER
And also tell me about Netherlands Antilles?
(c(Q20667921),P1376,c(Q7275))
action greater
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action count
action filter_type
action find
entity Q25227
relation P1376
type Q7275
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?w ) WHERE { ?d rdf:type ontology:Q7275 . ?y rdf:type ontology:Q20667921 . ?y property:P1376 ?d } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Q25227 property:P1376 ?u . ?u rdf:type ontology:Q7275 } } . FILTER ( ?w > ?x ) }
Netherlands Antilles
action greater
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action count
action filter_type
action find
entity Netherlands Antilles
relation capital of
type state
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?w ) WHERE { ?d rdf:type ontology:state . ?y rdf:type ontology:type_of_french_administrative_division . ?y property:capital_of ?d } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Netherlands_Antilles property:capital_of ?u . ?u rdf:type ontology:state } } . FILTER ( ?w > ?x ) }
[]
state type of french administrative division
Q3456417 Q842091 Q112558
SYSTEM
Republic of Saint-Malo, Duchy of Normandy, Republic of Saugeais
Q3456417 Q842091 Q112558
(c(Q20667921),P1376,c(Q7275))
action greater
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action count
action filter_type
action find
entity Q25227
relation P1376
type Q7275
[ANSWERS]
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?w ) WHERE { ?d rdf:type ontology:Q7275 . ?y rdf:type ontology:Q20667921 . ?y property:P1376 ?d } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Q25227 property:P1376 ?u . ?u rdf:type ontology:Q7275 } } . FILTER ( ?w > ?x ) }
Republic of Saint-Malo Duchy of Normandy Republic of Saugeais
Republic of Saint-Malo Duchy of Normandy Republic of Saugeais
action greater
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action count
action filter_type
action find
entity Netherlands Antilles
relation capital of
type state
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?w ) WHERE { ?d rdf:type ontology:state . ?y rdf:type ontology:type_of_french_administrative_division . ?y property:capital_of ?d } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Netherlands_Antilles property:capital_of ?u . ?u rdf:type ontology:state } } . FILTER ( ?w > ?x ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q305640
P1376
Q13220204 Q515 Q515
USER
Which cities are center of administration for lesser number of administrative country subdivisions or cities than Abashiri ?
(c(Q515),P1376,c(Q13220204)|c(Q515))
action less
action union
action find_tuple_counts
relation P1376
type Q515
type Q13220204
action find_tuple_counts
relation P1376
type Q515
type Q515
action count
action filter_multi_types
action find
entity Q305640
relation P1376
type Q13220204
type Q515
[{'concept': 'Q515'}, 'P1376', [{'concept': 'Q13220204'}, {'concept': 'Q515'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) ?r WHERE { VALUES ( ?z ) { ( ontology:Q515 ) ( ontology:Q13220204 ) } . ?f rdf:type ?z } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:Q305640 property:P1376 ?y . { { ?y rdf:type ontology:Q13220204 } UNION { ?y rdf:type ontology:Q515 } } } } . FILTER ( ?i < ?u ) }
Abashiri
action less
action union
action find_tuple_counts
relation capital of
type city
type second-level administrative country subdivision
action find_tuple_counts
relation capital of
type city
type city
action count
action filter_multi_types
action find
entity Abashiri
relation capital of
type second-level administrative country subdivision
type city
[{'concept': 'city'}, 'capital of', [{'concept': 'second-level administrative country subdivision'}, {'concept': 'city'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) ?r WHERE { VALUES ( ?z ) { ( ontology:city ) ( ontology:second-level_administrative_country_subdivision ) } . ?f rdf:type ?z } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:Abashiri property:capital_of ?y . { { ?y rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?y rdf:type ontology:city } } } } . FILTER ( ?i < ?u ) }
[]
second-level administrative country subdivision city city
Q1486 Q1773 Q1899
SYSTEM
Buenos Aires, Riga, Kyiv
Q15826 Q373542 Q780731 Q39738 Q3572 Q10126 Q843001 Q1710 Q843006 Q843009 Q14525 Q3042 Q3974 Q861296 Q637647 Q240026 Q19689 Q873377 Q853746 Q8131 Q83786 Q854913 Q19833195 Q293558 Q192271 Q854918 Q460835 Q60037 Q217432 Q827041 Q4024 Q379030 Q1711 Q27860 Q240504 Q3806 Q281371 Q258884 Q3624 Q592338 Q52607 Q766168 Q933645 Q58650 Q214938 Q830394 Q205607 Q193050 Q71305 Q841296 Q911600 Q789256 Q7473516 Q903177 Q3870 Q243293 Q5779 Q932806 Q377834 Q295367 Q653389 Q851097 Q1696 Q861292 Q41474 Q57953 Q917888 Q1070920 Q174096 Q174091 Q740800 Q855082 Q633945 Q843031 Q593314 Q783255 Q197687 Q111739 Q842967 Q329768 Q843035 Q246723 Q696388 Q185719 Q18970 Q80989 Q14424 Q304803 Q432169 Q147738 Q853744 Q2135 Q43196 Q855032 Q404529 Q5954 Q3926 Q11462 Q834567 Q851675 Q3214 Q842908 Q1000336 Q911530 Q5838 Q181276 Q583137 Q3692 Q847546 Q330409 Q1019949 Q847543 Q854956 Q235004 Q379160 Q132997 Q478038 Q725168 Q580722 Q389515 Q394453 Q278017 Q321778 Q850359 Q535534 Q745657 Q748797 Q1899 Q494777 Q221283 Q2419449 Q854969 Q842934 Q1794 Q793405 Q665 Q375097 Q911558 Q59144 Q12062 Q629471 Q209766 Q178878 Q5316658 Q203027 Q1486 Q2966 Q220445 Q34217 Q625154 Q4348183 Q179608 Q847594 Q790370 Q154540 Q1467 Q1461 Q843018 Q14499 Q2865 Q607625 Q526335 Q13630 Q424813 Q578343 Q366220 Q12245 Q16959 Q1844 Q10389 Q650015 Q30340 Q23430 Q225257 Q35925 Q44215 Q629849 Q680656 Q854996 Q207408 Q214956 Q1362 Q15379 Q588606 Q5540 Q58401 Q161176 Q850508 Q840986 Q1723 Q288413 Q1519 Q8684 Q270704 Q3838 Q167109 Q3104 Q734378 Q459787 Q585630 Q855529 Q7248 Q4346 Q1107569 Q1025387 Q602042 Q237699 Q207406 Q517407 Q23661 Q191651 Q7856199 Q3904 Q325164 Q14819 Q5285 Q14182 Q740810 Q1069007 Q861221 Q911667 Q7568 Q842971 Q842976 Q3866 Q181007 Q385864 Q755686 Q3599 Q1731 Q3861 Q43433 Q1636 Q3852 Q846652 Q7786 Q10104 Q3859 Q155975 Q19660 Q1020939 Q674311 Q3915 Q155674 Q863747 Q841125 Q314686 Q487439 Q385591 Q1953 Q124375 Q933641 Q854940 Q2180 Q335427 Q9005 Q2337 Q633789 Q1330294 Q14960 Q8158 Q385070 Q116417 Q830404 Q861262 Q781435 Q26600 Q2025433 Q740853 Q749320 Q874270 Q911628 Q632146 Q52564 Q4905 Q207876 Q2978 Q2973 Q34261 Q137271 Q855060 Q843028 Q842996 Q1773 Q679249 Q843021 Q14821 Q680743 Q564234 Q3958 Q488990 Q3955 Q668318 Q2079 Q2773 Q6829 Q260522 Q8156 Q752838 Q993064 Q276534 Q41773 Q42007 Q1858 Q2096 Q329775 Q1854 Q1856 Q855016 Q3787 Q855011 Q308657 Q4007 Q480421 Q14168 Q823907 Q7070 Q3826 Q642031 Q55598 Q498011 Q214948 Q214945 Q182852 Q755681 Q214942 Q68481 Q549427 Q335506 Q320798 Q386655 Q245126 Q1826 Q1533 Q200077 Q47916 Q80484 Q3183016 Q328601 Q542154 Q2526233 Q946769 Q846351 Q739304 Q789233 Q7253 Q2936 Q530634 Q4827 Q877227 Q5753 Q429409 Q2749 Q193719 Q170454 Q211243 Q841603 Q7929221 Q911576 Q42751 Q42750 Q185684 Q187861 Q207311 Q11194 Q386682 Q63145 Q2119 Q390796 Q5972 Q1720 Q1721 Q1645 Q7578 Q390798 Q11443 Q7033 Q14126 Q57906 Q44244 Q855052 Q11449 Q547479 Q404817 Q183584 Q2907 Q15847 Q843014 Q2844 Q11725 Q604516 Q73156 Q732300 Q789510 Q20073 Q1863 Q1865 Q2209 Q2200 Q18342086 Q16506 Q14155 Q430207 Q756273 Q14409 Q188247 Q206872 Q72778 Q1355 Q146363 Q208818 Q187136 Q5869 Q46845 Q57951 Q830411 Q171943 Q728438 Q427769 Q189823 Q40626 Q55740 Q250733 Q146317 Q187821 Q203344 Q107401 Q71159 Q3355306 Q57944 Q189761 Q189769 Q1761 Q57948 Q2795 Q378225 Q954569 Q2887 Q738275 Q69060 Q8179 Q727383 Q2061 Q2069869 Q184998 Q5217 Q854965 Q1020709 Q489147 Q755701 Q679224 Q168648 Q2152435 Q843043 Q850676 Q2833 Q36063 Q3935 Q3931 Q726993 Q3919 Q3751 Q3750 Q3616 Q42666 Q738013 Q894059 Q933638 Q183111 Q40584 Q1067897 Q25475 Q11506 Q613813 Q375862 Q107624 Q1530 Q680963 Q66485 Q649214 Q646850 Q209988 Q582209 Q209983 Q877190 Q2900 Q845792 Q684494 Q170525 Q503411 Q842925 Q842923 Q302526 Q1231003 Q8042 Q911642 Q187284 Q158245 Q50179 Q284480 Q632080 Q207309 Q187812 Q104125 Q2999 Q16666
(c(Q515),P1376,c(Q13220204)|c(Q515))
action less
action union
action find_tuple_counts
relation P1376
type Q515
type Q13220204
action find_tuple_counts
relation P1376
type Q515
type Q515
action count
action filter_multi_types
action find
entity Q305640
relation P1376
type Q13220204
type Q515
[ANSWERS] are center of administration for lesser number of administrative country subdivisions or cities than Abashiri
[{'concept': 'Q515'}, 'P1376', [{'concept': 'Q13220204'}, {'concept': 'Q515'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) ?r WHERE { VALUES ( ?z ) { ( ontology:Q515 ) ( ontology:Q13220204 ) } . ?f rdf:type ?z } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:Q305640 property:P1376 ?y . { { ?y rdf:type ontology:Q13220204 } UNION { ?y rdf:type ontology:Q515 } } } } . FILTER ( ?i < ?u ) }
Palu Szigetvár Szeghalom Laoag Tunis Serang Csorna Isabela City Nagykálló Marcali Gorontalo Offenbach am Main Landshut Nōgata Pásztó Jászapáti Tirana Dumaguete Bátonyterenye Palembang Shimla Szikszó Barcelos Ózd Guiyang Szécsény Marugame Zalaegerszeg Port Harcourt Beroun Frankfurt (Oder) Zalaszentgrót Potsdam Jayapura Makó Tübingen Jászberény Bélapátfalva Addis Ababa Marawi Mar del Plata Nagykáta Kunhegyes Zhangjiakou Gyula Nagykőrös Zirc Érd Ezhou Příbram Vásárosnamény Balatonalmádi Tokyo Tiszafüred Nairobi Sekondi-Takoradi Banda Aceh Polgárdi Szentes Nagyatád Nobeoka Iiyama Legazpi Hitoyoshi Kingstown Schwarzenberg Vinaròs Mamuju Sorsogon City Changsha Paks Csenger Saijō Vasvár Sárbogárd Kapuvár Miercurea Sibiului Puerto Princesa Gönc Tata Celldömölk Záhony Toyooka Pétervására Ambon Bhopal Nagykanizsa Mezőcsát Dipolog Saint Helier Devecser Winnipeg Cincinnati Mezőkovácsháza Xuchang Binjai Pretoria Surabaya Bonyhád Takahashi Cottbus Gyál Tandil Hajdúhadház Kabul Szolnok Kidapawan Riyadh Saiki Ústí nad Orlicí Surigao City Katsuyama Ibrány Vigan Kunszentmárton Florianópolis Kiskunfélegyháza Tagum Őriszentpéter Kariya Žďár nad Sázavou Tiszavasvári Hodonín Kitsuki Hohhot Fehérgyarmat Dorog Kyiv Alcoi Cape Coast Polgár Letenye Püspökladány Frankfurt Berettyóújfalu Lugdunum Tiszaújváros Putnok Zhanjiang Torgau Kiskunmajsa Saga Békéscsaba Durjaya Tsu Buenos Aires Heidelberg Kuching Oxford Komárom Athkatla Nanning Shimabara Barcs Sásd Cebu City Manila Kunszentmiklós Samarinda Kassel Tamási Keszthely Olbia Akō Szentlőrinc Adony Stanley Ürümqi Vaduz Bandung Pannonhalma Zhengzhou Ulaanbaatar Rupea Tabuk Santa Rosa Hatvan Sümeg Szerencs Vác Znojmo Islamabad Kendari Fonyód Penza Shijiazhuang Fukushima Taketa Törökszentmiklós Batangas City Tapolca Abu Dhabi Seoul Třebíč Kinshasa Eger Koblenz Yonezawa Iloilo City Yanagawa Kistelek Bukittinggi Waren (Müritz) Kerma Maasin Baktalórántháza Aizuwakamatsu Mosonmagyaróvár Sondershausen Wellington Masbate City Turquoise Mountain Mbabane Kayes Freiberg Tarlac Banjarmasin Békés Washukanni Nakatsu Elek Yogyakarta Sellye Mátészalka Dodoma Hattusa Ōsakasayama Nyírbátor Bicske Dresden Doha Chandigarh Antipolo Worms Cigánd Pekanbaru Tanjung Pinang Kigali Kutná Hora Bucharest Digos Kisvárda Antananarivo Tandag Uda Tsuyama Mati Oral Ōmura Yerevan Hódmezővásárhely Martonvásár Dabas Malolos Kisarazu Brussels Smolensk Dombóvár Jiankang Brno Metro, Indonesia Burriana Sátoraljaújhely Hajdúszoboszló Uto Derecske Fukuoka Calimport Szigetszentmiklós Monor Pagadian Kemecse Enying Maloe Verevo Druzhnaya Gorka Yamaguchi Regensburg Darmstadt Port-au-Prince Kota Kinabalu Encs Oroszlány Pécsvárad Riga Kalocsa Tolna Coburg Balatonfüred Annaka Neubrandenburg Kostanay Weimar Sárospatak Leipzig Braunschweig Speyer Bácsalmás Bandar Lampung Aszód Saint Anne Wau, South Sudan Obama Szombathely Hanoi Edmonton Kiskunhalas Ho Chi Minh City Malaybalay Csurgó Abuja Heves Minas Tirith Rosenheim Abony Pontianak HigashiMatsuyama Eisenach Muscat Gárdony Palayan Sakura Cegléd Pápa Kunming Várpalota Kazincbarcika Fuzhou Jánoshalma Salto Mohács Ōzu Siófok Tagbilaran Caracas Morioka Lucknow Patna Ungaran Hirado Koronadal Carn Dûm Mórahalom Miyazu Hajdúnánás Balassagyarmat Padang Oldenburg Pilisvörösvár Vyritsa Ogi Samarkand Szob Augsburg Cheb Agartala Yinchuan Tiszakécske Vijaya Rétság Palikir Vojskovitsy Hefei Wollongong Suzuka Sarajevo Khost Imus Mannheim Orosháza Medan Mainz Wiesbaden Cagayan de Oro Jambi Szentendre Kediri Nordhausen Mataram Yangzhou Santa Fe Mezőtúr Pasuruan Dunakeszi Shangqiu Lanzhou Sucre Manado Szarvas Brasília Chongqing Szentgotthárd Linfen Gyomaendrőd Balmazújváros Hohenstein-Ernstthal Andorra la Vella Kuala Lumpur Roxas Tuguegarao Oyo-Ile České Budějovice Kupang Komló Karcag Palangkaraya Sarkad Ajka Taiyuan Bangalore Most Fuchū Luoyang Lhasa Oelsnitz, Vogtland Marienberg Körmend Nanchang Siklós Kisbér Haikou Tacloban San Fernando Wa Veszprém Tatabánya Baja Sivas Brand-Erbisdorf Fukuchiyama Annaberg-Buchholz Szekszárd Salgótarján Dublin Aue Chemnitz Hagi Vyškov Santiago Karatsu Xining Pangkal Pinang Sokolov Yellowknife Edoras Kaposvár Bacolod Lenti Catbalogan Schmalkalden Ráckeve Hajdúböszörmény Sopron Miramar Sárvár Blansko Freiburg im Breisgau Vecsés Windhoek Brandenburg an der Havel Cotabato City Gaborone Praia Gera Tehran Shaoxing Xàtiva Borongan Mezőkövesd Jihlava San Fernando Oroquieta Batumi Denpasar Kőszeg Nyíradony Calapan Baghdad Mór Jaipur Csongrád Kiskőrös Gödöllő Tokaj Gyöngyös Tatsuno Quito Usuki Kashima Agadir Inuyama Edelény Pomáz Tab Cocentaina Bengkulu Füzesabony Hurghada Písek Ilagan Bóly Tét Tokushima Dunaújváros Lucena Würzburg Nanjing
Buenos Aires, Riga and Kyiv are center of administration for lesser number of administrative country subdivisions or cities than Abashiri
Buenos Aires Riga Kyiv
action less
action union
action find_tuple_counts
relation capital of
type city
type second-level administrative country subdivision
action find_tuple_counts
relation capital of
type city
type city
action count
action filter_multi_types
action find
entity Abashiri
relation capital of
type second-level administrative country subdivision
type city
[{'concept': 'city'}, 'capital of', [{'concept': 'second-level administrative country subdivision'}, {'concept': 'city'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) ?r WHERE { VALUES ( ?z ) { ( ontology:city ) ( ontology:second-level_administrative_country_subdivision ) } . ?f rdf:type ?z } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:Abashiri property:capital_of ?y . { { ?y rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?y rdf:type ontology:city } } } } . FILTER ( ?i < ?u ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1410
P1376
Q13220204 Q515 Q515
USER
And how about Gibraltar?
(c(Q515),P1376,c(Q13220204)|c(Q515))
action less
action union
action find_tuple_counts
relation P1376
type Q515
type Q13220204
action find_tuple_counts
relation P1376
type Q515
type Q515
action count
action filter_multi_types
action find
entity Q1410
relation P1376
type Q13220204
type Q515
[{'concept': 'Q515'}, 'P1376', [{'concept': 'Q13220204'}, {'concept': 'Q515'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?a ) WHERE { { ?g property:P1376 ?u . ?g rdf:type ontology:Q515 . ?u rdf:type ontology:Q13220204 } UNION { ?g rdf:type ontology:Q515 . ?u rdf:type ontology:Q515 . ?g property:P1376 ?u } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { resource:Q1410 property:P1376 ?s . { VALUES ( ?z ) { ( ontology:Q515 ) ( ontology:Q13220204 ) } . ?s rdf:type ?z } } } . FILTER ( ?a < ?d ) }
Gibraltar
action less
action union
action find_tuple_counts
relation capital of
type city
type second-level administrative country subdivision
action find_tuple_counts
relation capital of
type city
type city
action count
action filter_multi_types
action find
entity Gibraltar
relation capital of
type second-level administrative country subdivision
type city
[{'concept': 'city'}, 'capital of', [{'concept': 'second-level administrative country subdivision'}, {'concept': 'city'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?a ) WHERE { { ?g property:capital_of ?u . ?g rdf:type ontology:city . ?u rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?g rdf:type ontology:city . ?u rdf:type ontology:city . ?g property:capital_of ?u } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { resource:Gibraltar property:capital_of ?s . { VALUES ( ?z ) { ( ontology:city ) ( ontology:second-level_administrative_country_subdivision ) } . ?s rdf:type ?z } } } . FILTER ( ?a < ?d ) }
[]
second-level administrative country subdivision city city
Q1486 Q1773 Q1899
SYSTEM
Buenos Aires, Riga, Kyiv
Q15826 Q373542 Q780731 Q39738 Q3572 Q10126 Q843001 Q1710 Q843006 Q843009 Q14525 Q3042 Q3974 Q861296 Q637647 Q240026 Q19689 Q873377 Q853746 Q8131 Q83786 Q854913 Q19833195 Q293558 Q192271 Q854918 Q460835 Q60037 Q217432 Q827041 Q4024 Q379030 Q1711 Q27860 Q240504 Q3806 Q281371 Q258884 Q3624 Q592338 Q52607 Q766168 Q933645 Q58650 Q214938 Q830394 Q205607 Q193050 Q71305 Q841296 Q911600 Q789256 Q7473516 Q903177 Q3870 Q243293 Q5779 Q932806 Q377834 Q295367 Q653389 Q851097 Q1696 Q861292 Q41474 Q57953 Q917888 Q1070920 Q174096 Q174091 Q740800 Q855082 Q633945 Q843031 Q593314 Q783255 Q197687 Q111739 Q842967 Q329768 Q843035 Q246723 Q696388 Q185719 Q18970 Q80989 Q14424 Q304803 Q432169 Q147738 Q853744 Q2135 Q43196 Q855032 Q404529 Q5954 Q3926 Q11462 Q834567 Q851675 Q3214 Q842908 Q1000336 Q911530 Q5838 Q181276 Q583137 Q3692 Q847546 Q330409 Q1019949 Q847543 Q854956 Q235004 Q379160 Q132997 Q478038 Q725168 Q580722 Q389515 Q394453 Q278017 Q321778 Q850359 Q535534 Q745657 Q748797 Q1899 Q494777 Q221283 Q2419449 Q854969 Q842934 Q1794 Q793405 Q665 Q375097 Q911558 Q59144 Q12062 Q629471 Q209766 Q178878 Q5316658 Q203027 Q1486 Q2966 Q220445 Q34217 Q625154 Q4348183 Q179608 Q847594 Q790370 Q154540 Q1467 Q1461 Q843018 Q14499 Q2865 Q607625 Q526335 Q13630 Q424813 Q578343 Q366220 Q12245 Q16959 Q1844 Q10389 Q650015 Q30340 Q23430 Q225257 Q35925 Q44215 Q629849 Q680656 Q854996 Q207408 Q214956 Q1362 Q15379 Q588606 Q5540 Q58401 Q161176 Q850508 Q840986 Q1723 Q288413 Q1519 Q8684 Q270704 Q3838 Q167109 Q3104 Q734378 Q459787 Q585630 Q855529 Q7248 Q4346 Q1107569 Q1025387 Q602042 Q237699 Q207406 Q517407 Q23661 Q191651 Q7856199 Q3904 Q325164 Q14819 Q5285 Q14182 Q740810 Q1069007 Q861221 Q911667 Q7568 Q842971 Q842976 Q3866 Q181007 Q385864 Q755686 Q3599 Q1731 Q3861 Q43433 Q1636 Q3852 Q846652 Q7786 Q10104 Q3859 Q155975 Q19660 Q1020939 Q674311 Q3915 Q155674 Q863747 Q841125 Q314686 Q487439 Q385591 Q1953 Q124375 Q933641 Q854940 Q2180 Q335427 Q9005 Q2337 Q633789 Q1330294 Q14960 Q8158 Q385070 Q116417 Q830404 Q861262 Q781435 Q26600 Q2025433 Q740853 Q749320 Q874270 Q911628 Q632146 Q52564 Q4905 Q207876 Q2978 Q2973 Q34261 Q137271 Q855060 Q843028 Q842996 Q1773 Q679249 Q843021 Q14821 Q680743 Q564234 Q3958 Q488990 Q3955 Q668318 Q2079 Q2773 Q6829 Q260522 Q8156 Q752838 Q993064 Q276534 Q41773 Q42007 Q1858 Q2096 Q329775 Q1854 Q1856 Q855016 Q3787 Q855011 Q308657 Q4007 Q480421 Q14168 Q823907 Q7070 Q3826 Q642031 Q55598 Q498011 Q214948 Q214945 Q182852 Q755681 Q214942 Q68481 Q549427 Q335506 Q320798 Q386655 Q245126 Q1826 Q1533 Q200077 Q47916 Q80484 Q3183016 Q328601 Q542154 Q2526233 Q946769 Q846351 Q739304 Q789233 Q7253 Q2936 Q530634 Q4827 Q877227 Q5753 Q429409 Q2749 Q193719 Q170454 Q211243 Q841603 Q7929221 Q911576 Q42751 Q42750 Q185684 Q187861 Q207311 Q11194 Q386682 Q63145 Q2119 Q390796 Q5972 Q1720 Q1721 Q1645 Q7578 Q390798 Q11443 Q7033 Q14126 Q57906 Q44244 Q855052 Q11449 Q547479 Q404817 Q183584 Q2907 Q15847 Q843014 Q2844 Q11725 Q604516 Q73156 Q732300 Q789510 Q20073 Q1863 Q1865 Q2209 Q2200 Q18342086 Q16506 Q14155 Q430207 Q756273 Q14409 Q188247 Q206872 Q72778 Q1355 Q146363 Q208818 Q187136 Q5869 Q46845 Q57951 Q830411 Q171943 Q728438 Q427769 Q189823 Q40626 Q55740 Q250733 Q146317 Q187821 Q203344 Q107401 Q71159 Q3355306 Q57944 Q189761 Q189769 Q1761 Q57948 Q2795 Q378225 Q954569 Q2887 Q738275 Q69060 Q8179 Q727383 Q2061 Q2069869 Q184998 Q5217 Q854965 Q1020709 Q489147 Q755701 Q679224 Q168648 Q2152435 Q843043 Q850676 Q2833 Q36063 Q3935 Q3931 Q726993 Q3919 Q3751 Q3750 Q3616 Q42666 Q738013 Q894059 Q933638 Q183111 Q40584 Q1067897 Q25475 Q11506 Q613813 Q375862 Q107624 Q1530 Q680963 Q66485 Q649214 Q646850 Q209988 Q582209 Q209983 Q877190 Q2900 Q845792 Q684494 Q170525 Q503411 Q842925 Q842923 Q302526 Q1231003 Q8042 Q911642 Q187284 Q158245 Q50179 Q284480 Q632080 Q207309 Q187812 Q104125 Q2999 Q16666
(c(Q515),P1376,c(Q13220204)|c(Q515))
action less
action union
action find_tuple_counts
relation P1376
type Q515
type Q13220204
action find_tuple_counts
relation P1376
type Q515
type Q515
action count
action filter_multi_types
action find
entity Q1410
relation P1376
type Q13220204
type Q515
[ANSWERS]
[{'concept': 'Q515'}, 'P1376', [{'concept': 'Q13220204'}, {'concept': 'Q515'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?a ) WHERE { { ?g property:P1376 ?u . ?g rdf:type ontology:Q515 . ?u rdf:type ontology:Q13220204 } UNION { ?g rdf:type ontology:Q515 . ?u rdf:type ontology:Q515 . ?g property:P1376 ?u } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { resource:Q1410 property:P1376 ?s . { VALUES ( ?z ) { ( ontology:Q515 ) ( ontology:Q13220204 ) } . ?s rdf:type ?z } } } . FILTER ( ?a < ?d ) }
Palu Szigetvár Szeghalom Laoag Tunis Serang Csorna Isabela City Nagykálló Marcali Gorontalo Offenbach am Main Landshut Nōgata Pásztó Jászapáti Tirana Dumaguete Bátonyterenye Palembang Shimla Szikszó Barcelos Ózd Guiyang Szécsény Marugame Zalaegerszeg Port Harcourt Beroun Frankfurt (Oder) Zalaszentgrót Potsdam Jayapura Makó Tübingen Jászberény Bélapátfalva Addis Ababa Marawi Mar del Plata Nagykáta Kunhegyes Zhangjiakou Gyula Nagykőrös Zirc Érd Ezhou Příbram Vásárosnamény Balatonalmádi Tokyo Tiszafüred Nairobi Sekondi-Takoradi Banda Aceh Polgárdi Szentes Nagyatád Nobeoka Iiyama Legazpi Hitoyoshi Kingstown Schwarzenberg Vinaròs Mamuju Sorsogon City Changsha Paks Csenger Saijō Vasvár Sárbogárd Kapuvár Miercurea Sibiului Puerto Princesa Gönc Tata Celldömölk Záhony Toyooka Pétervására Ambon Bhopal Nagykanizsa Mezőcsát Dipolog Saint Helier Devecser Winnipeg Cincinnati Mezőkovácsháza Xuchang Binjai Pretoria Surabaya Bonyhád Takahashi Cottbus Gyál Tandil Hajdúhadház Kabul Szolnok Kidapawan Riyadh Saiki Ústí nad Orlicí Surigao City Katsuyama Ibrány Vigan Kunszentmárton Florianópolis Kiskunfélegyháza Tagum Őriszentpéter Kariya Žďár nad Sázavou Tiszavasvári Hodonín Kitsuki Hohhot Fehérgyarmat Dorog Kyiv Alcoi Cape Coast Polgár Letenye Püspökladány Frankfurt Berettyóújfalu Lugdunum Tiszaújváros Putnok Zhanjiang Torgau Kiskunmajsa Saga Békéscsaba Durjaya Tsu Buenos Aires Heidelberg Kuching Oxford Komárom Athkatla Nanning Shimabara Barcs Sásd Cebu City Manila Kunszentmiklós Samarinda Kassel Tamási Keszthely Olbia Akō Szentlőrinc Adony Stanley Ürümqi Vaduz Bandung Pannonhalma Zhengzhou Ulaanbaatar Rupea Tabuk Santa Rosa Hatvan Sümeg Szerencs Vác Znojmo Islamabad Kendari Fonyód Penza Shijiazhuang Fukushima Taketa Törökszentmiklós Batangas City Tapolca Abu Dhabi Seoul Třebíč Kinshasa Eger Koblenz Yonezawa Iloilo City Yanagawa Kistelek Bukittinggi Waren (Müritz) Kerma Maasin Baktalórántháza Aizuwakamatsu Mosonmagyaróvár Sondershausen Wellington Masbate City Turquoise Mountain Mbabane Kayes Freiberg Tarlac Banjarmasin Békés Washukanni Nakatsu Elek Yogyakarta Sellye Mátészalka Dodoma Hattusa Ōsakasayama Nyírbátor Bicske Dresden Doha Chandigarh Antipolo Worms Cigánd Pekanbaru Tanjung Pinang Kigali Kutná Hora Bucharest Digos Kisvárda Antananarivo Tandag Uda Tsuyama Mati Oral Ōmura Yerevan Hódmezővásárhely Martonvásár Dabas Malolos Kisarazu Brussels Smolensk Dombóvár Jiankang Brno Metro, Indonesia Burriana Sátoraljaújhely Hajdúszoboszló Uto Derecske Fukuoka Calimport Szigetszentmiklós Monor Pagadian Kemecse Enying Maloe Verevo Druzhnaya Gorka Yamaguchi Regensburg Darmstadt Port-au-Prince Kota Kinabalu Encs Oroszlány Pécsvárad Riga Kalocsa Tolna Coburg Balatonfüred Annaka Neubrandenburg Kostanay Weimar Sárospatak Leipzig Braunschweig Speyer Bácsalmás Bandar Lampung Aszód Saint Anne Wau, South Sudan Obama Szombathely Hanoi Edmonton Kiskunhalas Ho Chi Minh City Malaybalay Csurgó Abuja Heves Minas Tirith Rosenheim Abony Pontianak HigashiMatsuyama Eisenach Muscat Gárdony Palayan Sakura Cegléd Pápa Kunming Várpalota Kazincbarcika Fuzhou Jánoshalma Salto Mohács Ōzu Siófok Tagbilaran Caracas Morioka Lucknow Patna Ungaran Hirado Koronadal Carn Dûm Mórahalom Miyazu Hajdúnánás Balassagyarmat Padang Oldenburg Pilisvörösvár Vyritsa Ogi Samarkand Szob Augsburg Cheb Agartala Yinchuan Tiszakécske Vijaya Rétság Palikir Vojskovitsy Hefei Wollongong Suzuka Sarajevo Khost Imus Mannheim Orosháza Medan Mainz Wiesbaden Cagayan de Oro Jambi Szentendre Kediri Nordhausen Mataram Yangzhou Santa Fe Mezőtúr Pasuruan Dunakeszi Shangqiu Lanzhou Sucre Manado Szarvas Brasília Chongqing Szentgotthárd Linfen Gyomaendrőd Balmazújváros Hohenstein-Ernstthal Andorra la Vella Kuala Lumpur Roxas Tuguegarao Oyo-Ile České Budějovice Kupang Komló Karcag Palangkaraya Sarkad Ajka Taiyuan Bangalore Most Fuchū Luoyang Lhasa Oelsnitz, Vogtland Marienberg Körmend Nanchang Siklós Kisbér Haikou Tacloban San Fernando Wa Veszprém Tatabánya Baja Sivas Brand-Erbisdorf Fukuchiyama Annaberg-Buchholz Szekszárd Salgótarján Dublin Aue Chemnitz Hagi Vyškov Santiago Karatsu Xining Pangkal Pinang Sokolov Yellowknife Edoras Kaposvár Bacolod Lenti Catbalogan Schmalkalden Ráckeve Hajdúböszörmény Sopron Miramar Sárvár Blansko Freiburg im Breisgau Vecsés Windhoek Brandenburg an der Havel Cotabato City Gaborone Praia Gera Tehran Shaoxing Xàtiva Borongan Mezőkövesd Jihlava San Fernando Oroquieta Batumi Denpasar Kőszeg Nyíradony Calapan Baghdad Mór Jaipur Csongrád Kiskőrös Gödöllő Tokaj Gyöngyös Tatsuno Quito Usuki Kashima Agadir Inuyama Edelény Pomáz Tab Cocentaina Bengkulu Füzesabony Hurghada Písek Ilagan Bóly Tét Tokushima Dunaújváros Lucena Würzburg Nanjing
Buenos Aires Riga Kyiv
action less
action union
action find_tuple_counts
relation capital of
type city
type second-level administrative country subdivision
action find_tuple_counts
relation capital of
type city
type city
action count
action filter_multi_types
action find
entity Gibraltar
relation capital of
type second-level administrative country subdivision
type city
[{'concept': 'city'}, 'capital of', [{'concept': 'second-level administrative country subdivision'}, {'concept': 'city'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?a ) WHERE { { ?g property:capital_of ?u . ?g rdf:type ontology:city . ?u rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?g rdf:type ontology:city . ?u rdf:type ontology:city . ?g property:capital_of ?u } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { resource:Gibraltar property:capital_of ?s . { VALUES ( ?z ) { ( ontology:city ) ( ontology:second-level_administrative_country_subdivision ) } . ?s rdf:type ?z } } } . FILTER ( ?a < ?d ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q752838
P1376
Q13220204 Q20667921 Q515
USER
Which cities are the county seat of greater number of administrative country subdivisions or french administrative divisions than Aszód ?
(c(Q515),P1376,c(Q13220204)|c(Q20667921))
action greater
action union
action find_tuple_counts
relation P1376
type Q515
type Q13220204
action find_tuple_counts
relation P1376
type Q515
type Q20667921
action count
action filter_multi_types
action find
entity Q752838
relation P1376
type Q13220204
type Q20667921
[{'concept': 'Q515'}, 'P1376', [{'concept': 'Q13220204'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?c ) WHERE { ?e rdf:type ?t . VALUES ( ?t ) { ( ontology:Q13220204 ) ( ontology:Q20667921 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { resource:Q752838 property:P1376 ?v . { ?v rdf:type ?u . VALUES ( ?u ) { ( ontology:Q13220204 ) ( ontology:Q20667921 ) } } } } . FILTER ( ?c > ?p ) }
Aszód
action greater
action union
action find_tuple_counts
relation capital of
type city
type second-level administrative country subdivision
action find_tuple_counts
relation capital of
type city
type type of french administrative division
action count
action filter_multi_types
action find
entity Aszód
relation capital of
type second-level administrative country subdivision
type type of french administrative division
[{'concept': 'city'}, 'capital of', [{'concept': 'second-level administrative country subdivision'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?c ) WHERE { ?e rdf:type ?t . VALUES ( ?t ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:type_of_french_administrative_division ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { resource:Aszód property:capital_of ?v . { ?v rdf:type ?u . VALUES ( ?u ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:type_of_french_administrative_division ) } } } } . FILTER ( ?c > ?p ) }
[]
second-level administrative country subdivision type of french administrative division city
Q23482 Q456 Q7003
SYSTEM
Marseille, Lyon, Dijon
Q496667 Q23482 Q505208 Q117676 Q6602 Q305640 Q6807568 Q714628 Q177149 Q271000 Q271917 Q83247 Q3768 Q693264 Q6582 Q502205 Q456 Q267894 Q7003
(c(Q515),P1376,c(Q13220204)|c(Q20667921))
action greater
action union
action find_tuple_counts
relation P1376
type Q515
type Q13220204
action find_tuple_counts
relation P1376
type Q515
type Q20667921
action count
action filter_multi_types
action find
entity Q752838
relation P1376
type Q13220204
type Q20667921
[ANSWERS] are the county seat of greater number of administrative country subdivisions or french administrative divisions than Aszód
[{'concept': 'Q515'}, 'P1376', [{'concept': 'Q13220204'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?c ) WHERE { ?e rdf:type ?t . VALUES ( ?t ) { ( ontology:Q13220204 ) ( ontology:Q20667921 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { resource:Q752838 property:P1376 ?v . { ?v rdf:type ?u . VALUES ( ?u ) { ( ontology:Q13220204 ) ( ontology:Q20667921 ) } } } } . FILTER ( ?c > ?p ) }
Muroran Marseille Ouarzazate Viseu Strasbourg Abashiri Emmen Rumoi Obihiro Bouaké Kushiro Braga Yamoussoukro Iwamizawa Carcassonne Nemuro Lyon Wakkanai Dijon
Marseille, Lyon and Dijon are the county seat of greater number of administrative country subdivisions or french administrative divisions than Aszód
Marseille Lyon Dijon
action greater
action union
action find_tuple_counts
relation capital of
type city
type second-level administrative country subdivision
action find_tuple_counts
relation capital of
type city
type type of french administrative division
action count
action filter_multi_types
action find
entity Aszód
relation capital of
type second-level administrative country subdivision
type type of french administrative division
[{'concept': 'city'}, 'capital of', [{'concept': 'second-level administrative country subdivision'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?c ) WHERE { ?e rdf:type ?t . VALUES ( ?t ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:type_of_french_administrative_division ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { resource:Aszód property:capital_of ?v . { ?v rdf:type ?u . VALUES ( ?u ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:type_of_french_administrative_division ) } } } } . FILTER ( ?c > ?p ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q633789
P1376
Q13220204 Q20667921 Q515
USER
And also tell me about Dombóvár?
(c(Q515),P1376,c(Q13220204)|c(Q20667921))
action greater
action union
action find_tuple_counts
relation P1376
type Q515
type Q13220204
action find_tuple_counts
relation P1376
type Q515
type Q20667921
action count
action filter_multi_types
action find
entity Q633789
relation P1376
type Q13220204
type Q20667921
[{'concept': 'Q515'}, 'P1376', [{'concept': 'Q13220204'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) ?p WHERE { { ?p property:P1376 ?w . ?p rdf:type ontology:Q515 . ?w rdf:type ontology:Q13220204 } UNION { ?p property:P1376 ?w . ?p rdf:type ontology:Q515 . ?w rdf:type ontology:Q20667921 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { { ?q rdf:type ?f . VALUES ( ?f ) { ( ontology:Q13220204 ) ( ontology:Q20667921 ) } } . resource:Q633789 property:P1376 ?q } } . FILTER ( ?x > ?k ) }
Dombóvár
action greater
action union
action find_tuple_counts
relation capital of
type city
type second-level administrative country subdivision
action find_tuple_counts
relation capital of
type city
type type of french administrative division
action count
action filter_multi_types
action find
entity Dombóvár
relation capital of
type second-level administrative country subdivision
type type of french administrative division
[{'concept': 'city'}, 'capital of', [{'concept': 'second-level administrative country subdivision'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) ?p WHERE { { ?p property:capital_of ?w . ?p rdf:type ontology:city . ?w rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?p property:capital_of ?w . ?p rdf:type ontology:city . ?w rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { { ?q rdf:type ?f . VALUES ( ?f ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:type_of_french_administrative_division ) } } . resource:Dombóvár property:capital_of ?q } } . FILTER ( ?x > ?k ) }
[]
second-level administrative country subdivision type of french administrative division city
Q23482 Q456 Q7003
SYSTEM
Marseille, Lyon, Dijon
Q496667 Q23482 Q505208 Q117676 Q6602 Q305640 Q6807568 Q714628 Q177149 Q271000 Q271917 Q83247 Q3768 Q693264 Q6582 Q502205 Q456 Q267894 Q7003
(c(Q515),P1376,c(Q13220204)|c(Q20667921))
action greater
action union
action find_tuple_counts
relation P1376
type Q515
type Q13220204
action find_tuple_counts
relation P1376
type Q515
type Q20667921
action count
action filter_multi_types
action find
entity Q633789
relation P1376
type Q13220204
type Q20667921
[ANSWERS]
[{'concept': 'Q515'}, 'P1376', [{'concept': 'Q13220204'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) ?p WHERE { { ?p property:P1376 ?w . ?p rdf:type ontology:Q515 . ?w rdf:type ontology:Q13220204 } UNION { ?p property:P1376 ?w . ?p rdf:type ontology:Q515 . ?w rdf:type ontology:Q20667921 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { { ?q rdf:type ?f . VALUES ( ?f ) { ( ontology:Q13220204 ) ( ontology:Q20667921 ) } } . resource:Q633789 property:P1376 ?q } } . FILTER ( ?x > ?k ) }
Muroran Marseille Ouarzazate Viseu Strasbourg Abashiri Emmen Rumoi Obihiro Bouaké Kushiro Braga Yamoussoukro Iwamizawa Carcassonne Nemuro Lyon Wakkanai Dijon
Marseille Lyon Dijon
action greater
action union
action find_tuple_counts
relation capital of
type city
type second-level administrative country subdivision
action find_tuple_counts
relation capital of
type city
type type of french administrative division
action count
action filter_multi_types
action find
entity Dombóvár
relation capital of
type second-level administrative country subdivision
type type of french administrative division
[{'concept': 'city'}, 'capital of', [{'concept': 'second-level administrative country subdivision'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) ?p WHERE { { ?p property:capital_of ?w . ?p rdf:type ontology:city . ?w rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?p property:capital_of ?w . ?p rdf:type ontology:city . ?w rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { { ?q rdf:type ?f . VALUES ( ?f ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:type_of_french_administrative_division ) } } . resource:Dombóvár property:capital_of ?q } } . FILTER ( ?x > ?k ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4871644
P276
Q1190554
USER
Are Battle of Majdel Anjar situated at those cities ?
(Q4871644,P276,Q23482) (Q4871644,P276,Q456) (Q4871644,P276,Q7003)
action is_in
entity prev_answer
action find
entity Q4871644
relation P276
['Q4871644', 'P276', 'Q23482'] ['Q4871644', 'P276', 'Q456'] ['Q4871644', 'P276', 'Q7003']
ASK WHERE { VALUES ( ?i ) { ( resource:Q496667 ) ( resource:Q23482 ) ( resource:Q505208 ) } . resource:Q4871644 property:P276 ?i }
Battle of Majdel Anjar
action is_in
entity prev_answer
action find
entity Battle of Majdel Anjar
relation location
['Battle of Majdel Anjar', 'location', 'Marseille'] ['Battle of Majdel Anjar', 'location', 'Lyon'] ['Battle of Majdel Anjar', 'location', 'Dijon']
ASK WHERE { VALUES ( ?i ) { ( resource:Muroran ) ( resource:Marseille ) ( resource:Ouarzazate ) } . resource:Battle_of_Majdel_Anjar property:location ?i }
[]
event
SYSTEM
NO
(Q4871644,P276,Q23482) (Q4871644,P276,Q456) (Q4871644,P276,Q7003)
action is_in
entity prev_answer
action find
entity Q4871644
relation P276
[ANSWER]
['Q4871644', 'P276', 'Q23482'] ['Q4871644', 'P276', 'Q456'] ['Q4871644', 'P276', 'Q7003']
ASK WHERE { VALUES ( ?i ) { ( resource:Q496667 ) ( resource:Q23482 ) ( resource:Q505208 ) } . resource:Q4871644 property:P276 ?i }
No
action is_in
entity prev_answer
action find
entity Battle of Majdel Anjar
relation location
['Battle of Majdel Anjar', 'location', 'Marseille'] ['Battle of Majdel Anjar', 'location', 'Lyon'] ['Battle of Majdel Anjar', 'location', 'Dijon']
ASK WHERE { VALUES ( ?i ) { ( resource:Muroran ) ( resource:Marseille ) ( resource:Ouarzazate ) } . resource:Battle_of_Majdel_Anjar property:location ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23482
P915
Q838948
USER
What were filmed at Marseille ?
(c(Q838948),P915,Q23482)
action filter_type
action find_reverse
entity Q23482
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q23482']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q838948 . ?h property:P915 resource:Q23482 }
Marseille
action filter_type
action find_reverse
entity Marseille
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Marseille']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:work_of_art . ?h property:filming_location resource:Marseille }
[]
work of art
Q190588 Q894172 Q1033136
SYSTEM
Love Actually, Borsalino, Declaration of War
Q1241684 Q3223236 Q819972 Q3202461 Q277648 Q1961758 Q86427 Q215319 Q3548877 Q3110361 Q943447 Q12138538 Q16654535 Q929220 Q151711 Q3561465 Q815550 Q803974 Q1536329 Q726215 Q2986062 Q1140062 Q894172 Q2397097 Q3576826 Q1101794 Q1424889 Q3204767 Q2929140 Q1322784 Q756574 Q17174401 Q3214258 Q3293881 Q756572 Q1768064 Q220735 Q3226974 Q1661961 Q3222987 Q3231564 Q13553881 Q2849832 Q16314359 Q2601067 Q2443227 Q2859040 Q1395728 Q1195192 Q912877 Q1430568 Q3023905 Q850338 Q1033136 Q3443185 Q3213738 Q3442494 Q3110359 Q1283793 Q1416440 Q3235471 Q261415 Q3349169 Q5627325 Q3354995 Q190588 Q905959
(c(Q838948),P915,Q23482)
action filter_type
action find_reverse
entity Q23482
relation P915
type Q838948
[ANSWERS] were filmed at Marseille
[{'concept': 'Q838948'}, 'P915', 'Q23482']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q838948 . ?h property:P915 resource:Q23482 }
Pépé le Moko The Big Brother The Transporter L'Assaut Taxi 3 Moon in the Gutter Breathless 22 Bullets A Man Named Rocca Gomez & Tavarès, la suite Fanny Nous, princesses de Clèves Journey to the West César Marie-Jo and Her Two Lovers Vive la France Transporter 3 Baise-moi Traitor Taxi Comme un aimant Mademoiselle Chambon Borsalino Chouchou Til Death Do Us Part High Crime Crustacés et Coquillages The Overeater Bye-Bye French Connection II Taxi 4 Ariane's Thread The Town Is Quiet Marius and Jeannette Taxi 2 MR 73 The French Connection Le schpountz Law Breakers Forbidden Fruit The Five Cents of Lavarede Suzanne Angèle La French 1, 2, 3 Marius Heat Wave Fanny Legionnaire A Good Year The Marseille Contract Last Summer Betty Blue Declaration of War Rouge midi The Shameless Old Lady Roselyne and the Lions Payoff Time to Live Le Cercle rouge Seven Thunders My Mother's Castle Odette Le Gitan Orage Love Actually My Father's Glory
Love Actually, Borsalino and Declaration of War were filmed at Marseille
Love Actually Borsalino Declaration of War
action filter_type
action find_reverse
entity Marseille
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Marseille']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:work_of_art . ?h property:filming_location resource:Marseille }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q190588 Q894172 Q1033136
P915
Q515
USER
Which cities were those works of art filmed on ?
(Q190588,P915,c(Q515)) (Q894172,P915,c(Q515)) (Q1033136,P915,c(Q515))
action filter_type
action find
entity prev_answer
relation P915
type Q515
['Q190588', 'P915', {'concept': 'Q515'}] ['Q894172', 'P915', {'concept': 'Q515'}] ['Q1033136', 'P915', {'concept': 'Q515'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?e ) { ( resource:Q1241684 ) ( resource:Q3223236 ) ( resource:Q819972 ) } . ?e property:P915 ?y . ?y rdf:type ontology:Q515 }
Love Actually Borsalino Declaration of War
action filter_type
action find
entity prev_answer
relation filming location
type city
['Love Actually', 'filming location', {'concept': 'city'}] ['Borsalino', 'filming location', {'concept': 'city'}] ['Declaration of War', 'filming location', {'concept': 'city'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?e ) { ( resource:Pépé_le_Moko ) ( resource:The_Big_Brother ) ( resource:The_Transporter ) } . ?e property:filming_location ?y . ?y rdf:type ontology:city }
[]
city
Q23482 Q23482 Q23482
SYSTEM
Marseille
Q23482 Q23482 Q23482
(Q190588,P915,c(Q515)) (Q894172,P915,c(Q515)) (Q1033136,P915,c(Q515))
action filter_type
action find
entity prev_answer
relation P915
type Q515
Those works of art were filmed in [ANSWER], [ANSWER] and [ANSWER]
['Q190588', 'P915', {'concept': 'Q515'}] ['Q894172', 'P915', {'concept': 'Q515'}] ['Q1033136', 'P915', {'concept': 'Q515'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?e ) { ( resource:Q1241684 ) ( resource:Q3223236 ) ( resource:Q819972 ) } . ?e property:P915 ?y . ?y rdf:type ontology:Q515 }
Marseille Marseille Marseille
Those works of art were filmed in Marseille, Marseille and Marseille
Marseille Marseille Marseille
action filter_type
action find
entity prev_answer
relation filming location
type city
['Love Actually', 'filming location', {'concept': 'city'}] ['Borsalino', 'filming location', {'concept': 'city'}] ['Declaration of War', 'filming location', {'concept': 'city'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?e ) { ( resource:Pépé_le_Moko ) ( resource:The_Big_Brother ) ( resource:The_Transporter ) } . ?e property:filming_location ?y . ?y rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23482
P366
Q47574
USER
Which unit of measurement is mainly used as that city ?
(c(Q47574),P366,Q23482) (c(Q47574),P366,Q23482) (c(Q47574),P366,Q23482)
action filter_type
action find_reverse
entity Q23482
relation P366
type Q47574
[{'concept': 'Q47574'}, 'P366', 'Q23482'] [{'concept': 'Q47574'}, 'P366', 'Q23482'] [{'concept': 'Q47574'}, 'P366', 'Q23482']
SELECT DISTINCT ?l WHERE { ?l property:P366 resource:Q23482 . ?l rdf:type ontology:Q47574 }
Marseille
action filter_type
action find_reverse
entity Marseille
relation use
type unit of measurement
[{'concept': 'unit of measurement'}, 'use', 'Marseille'] [{'concept': 'unit of measurement'}, 'use', 'Marseille'] [{'concept': 'unit of measurement'}, 'use', 'Marseille']
SELECT DISTINCT ?l WHERE { ?l property:use resource:Marseille . ?l rdf:type ontology:unit_of_measurement }
[]
unit of measurement
Q26267942
SYSTEM
Panal
Q26267942
(c(Q47574),P366,Q23482) (c(Q47574),P366,Q23482) (c(Q47574),P366,Q23482)
action filter_type
action find_reverse
entity Q23482
relation P366
type Q47574
[ANSWER] is mainly used as that city
[{'concept': 'Q47574'}, 'P366', 'Q23482'] [{'concept': 'Q47574'}, 'P366', 'Q23482'] [{'concept': 'Q47574'}, 'P366', 'Q23482']
SELECT DISTINCT ?l WHERE { ?l property:P366 resource:Q23482 . ?l rdf:type ontology:Q47574 }
Panal
Panal is mainly used as that city
Panal
action filter_type
action find_reverse
entity Marseille
relation use
type unit of measurement
[{'concept': 'unit of measurement'}, 'use', 'Marseille'] [{'concept': 'unit of measurement'}, 'use', 'Marseille'] [{'concept': 'unit of measurement'}, 'use', 'Marseille']
SELECT DISTINCT ?l WHERE { ?l property:use resource:Marseille . ?l rdf:type ontology:unit_of_measurement }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P361
Q1914636 Q47574
USER
Which activities are min number of units of measurement a portion of ?
(c(Q47574),P361,Q686831)
action argmin
action find_reverse_tuple_counts
relation P361
type Q1914636
type Q47574
[{'concept': 'Q47574'}, 'P361', 'Q686831']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?o ) { SELECT DISTINCT ?m ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:P361 ?m . ?m rdf:type ontology:Q1914636 . ?z rdf:type ontology:Q47574 } GROUP BY ?m } } . { SELECT DISTINCT ?f ( COUNT ( ?i ) AS ?j ) WHERE { ?i property:P361 ?f . ?f rdf:type ontology:Q1914636 . ?i rdf:type ontology:Q47574 } GROUP BY ?f } . FILTER ( ?j = ?o ) }
action argmin
action find_reverse_tuple_counts
relation part of
type activity
type unit of measurement
[{'concept': 'unit of measurement'}, 'part of', 'book design']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?o ) { SELECT DISTINCT ?m ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:part_of ?m . ?m rdf:type ontology:activity . ?z rdf:type ontology:unit_of_measurement } GROUP BY ?m } } . { SELECT DISTINCT ?f ( COUNT ( ?i ) AS ?j ) WHERE { ?i property:part_of ?f . ?f rdf:type ontology:activity . ?i rdf:type ontology:unit_of_measurement } GROUP BY ?f } . FILTER ( ?j = ?o ) }
[]
activity unit of measurement
Q23058648 Q7598 Q2319878
SYSTEM
protests against Donald Trump, GNU Project, Barbican Estate
Q1069 Q3077373 Q1803786 Q861623 Q10843872 Q383695 Q7202 Q11635 Q7205 Q179661 Q309100 Q4622769 Q12271 Q33761 Q159964 Q5172476 Q2301555 Q484937 Q7598 Q309162 Q2319878 Q8421 Q10979515 Q3720660 Q11372 Q163082 Q159452 Q2313702 Q34187 Q26997005 Q11650 Q191072 Q1408288 Q300920 Q517003 Q5386 Q944537 Q36649 Q49389 Q11410 Q1475717 Q1273108 Q221096 Q127050 Q638 Q1924397 Q897511 Q8242 Q828812 Q16861871 Q853077 Q8162 Q242791 Q752021 Q210005 Q474100 Q614380 Q22081761 Q514 Q36389 Q242864 Q1425343 Q180834 Q9166713 Q861581 Q177777 Q15243731 Q932522 Q539067 Q190993 Q25261 Q9350 Q23058648 Q120931 Q11467 Q80993 Q1283318 Q18156118 Q13654274 Q8789 Q189594 Q629636 Q1319035 Q1386523 Q686876 Q2144042 Q1194492 Q7141 Q494452 Q626503 Q5246046 Q953652 Q949180 Q861654 Q5157540 Q215501 Q31728 Q50675 Q52109 Q931309 Q686831
(c(Q47574),P361,Q686831)
action argmin
action find_reverse_tuple_counts
relation P361
type Q1914636
type Q47574
The [ANSWERS] are min number of units of measurement a portion of
[{'concept': 'Q47574'}, 'P361', 'Q686831']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?o ) { SELECT DISTINCT ?m ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:P361 ?m . ?m rdf:type ontology:Q1914636 . ?z rdf:type ontology:Q47574 } GROUP BY ?m } } . { SELECT DISTINCT ?f ( COUNT ( ?i ) AS ?j ) WHERE { ?i property:P361 ?f . ?f rdf:type ontology:Q1914636 . ?i rdf:type ontology:Q47574 } GROUP BY ?f } . FILTER ( ?j = ?o ) }
geology test method power engineering Education in the Netherlands process in engineering flight training molecular biology theater paleontology therapy planning 2011 United Kingdom anti-austerity protests architecture Arab Spring typography Corporate media open-loop controller Breitensport GNU Project extreme sport Barbican Estate aeronautics general economics 2012–2013 Egyptian protests physical chemistry petrology Capoeira Sprengtechnik religious studies Renaissance art electronics cadastre manufacturing process eSports Soviet manned lunar programs auto racing Geisteswissenschaft visual arts tourism game test automation E-Commerce public-private partnership Manhattan Project music measurement technology cryptanalysis literature vocational education job training mathematics education linguistics Kyokushin kaikan Budō 2011 Yemeni revolution pyrotechnics education in France Just For The Record anatomy taekwondo Bahraini uprising radio electronics 2006 protests in Hungary tertiary education Education in Italy logistics 2013–14 Thai political crisis strategic planning Ninjutsu malacology meteorology yoga protests against Donald Trump Thai boxing metallurgy software engineering Chest radiograph Hong Kong Civil Service Post-coup unrest in Egypt (2013–2014) cryptography Islamic art 2011–13 Russian protests adult education Production Planning and Productioncontrol space colonization Process engineering angling cell biology blazonry swinging academic publishing Hello! Project financial accounting education in the United States computer file management pedology public administration historiography geomorphology medical imaging book design
The protests against Donald Trump, GNU Project and Barbican Estate are min number of units of measurement a portion of
protests against Donald Trump GNU Project Barbican Estate
action argmin
action find_reverse_tuple_counts
relation part of
type activity
type unit of measurement
[{'concept': 'unit of measurement'}, 'part of', 'book design']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?o ) { SELECT DISTINCT ?m ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:part_of ?m . ?m rdf:type ontology:activity . ?z rdf:type ontology:unit_of_measurement } GROUP BY ?m } } . { SELECT DISTINCT ?f ( COUNT ( ?i ) AS ?j ) WHERE { ?i property:part_of ?f . ?f rdf:type ontology:activity . ?i rdf:type ontology:unit_of_measurement } GROUP BY ?f } . FILTER ( ?j = ?o ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P159
Q20667921 Q895526 Q1269299
USER
Which french administrative divisions are the headquarter locations of max number of authority organs or business organizations ?
(c(Q895526)|c(Q1269299),P159,c(Q20667921))
action argmax
action union
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q895526
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q1269299
[[{'concept': 'Q895526'}, {'concept': 'Q1269299'}], 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?b ) WHERE { { ?w property:P159 ?t . ?t rdf:type ontology:Q20667921 . ?w rdf:type ontology:Q895526 } UNION { ?t rdf:type ontology:Q20667921 . ?w rdf:type ontology:Q1269299 . ?w property:P159 ?t } } GROUP BY ?t } . FILTER ( ?b = ?p ) . { SELECT DISTINCT ( MAX ( ?i ) AS ?p ) { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?i ) WHERE { VALUES ( ?a ) { ( ontology:Q1269299 ) ( ontology:Q895526 ) } . ?h rdf:type ?a } GROUP BY ?e } } }
action argmax
action union
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type authority organ
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type type of business entity
[[{'concept': 'authority organ'}, {'concept': 'type of business entity'}], 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?b ) WHERE { { ?w property:headquarters_location ?t . ?t rdf:type ontology:type_of_french_administrative_division . ?w rdf:type ontology:authority_organ } UNION { ?t rdf:type ontology:type_of_french_administrative_division . ?w rdf:type ontology:type_of_business_entity . ?w property:headquarters_location ?t } } GROUP BY ?t } . FILTER ( ?b = ?p ) . { SELECT DISTINCT ( MAX ( ?i ) AS ?p ) { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?i ) WHERE { VALUES ( ?a ) { ( ontology:type_of_business_entity ) ( ontology:authority_organ ) } . ?h rdf:type ?a } GROUP BY ?e } } }
[]
type of french administrative division authority organ type of business entity
Q172455
SYSTEM
Boulogne-Billancourt
Q172455
(c(Q895526)|c(Q1269299),P159,c(Q20667921))
action argmax
action union
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q895526
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q1269299
[ANSWER] is the headquarter locations of max number of authority organs or business organizations
[[{'concept': 'Q895526'}, {'concept': 'Q1269299'}], 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?b ) WHERE { { ?w property:P159 ?t . ?t rdf:type ontology:Q20667921 . ?w rdf:type ontology:Q895526 } UNION { ?t rdf:type ontology:Q20667921 . ?w rdf:type ontology:Q1269299 . ?w property:P159 ?t } } GROUP BY ?t } . FILTER ( ?b = ?p ) . { SELECT DISTINCT ( MAX ( ?i ) AS ?p ) { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?i ) WHERE { VALUES ( ?a ) { ( ontology:Q1269299 ) ( ontology:Q895526 ) } . ?h rdf:type ?a } GROUP BY ?e } } }
Boulogne-Billancourt
Boulogne-Billancourt is the headquarter locations of max number of authority organs or business organizations
Boulogne-Billancourt
action argmax
action union
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type authority organ
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type type of business entity
[[{'concept': 'authority organ'}, {'concept': 'type of business entity'}], 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?b ) WHERE { { ?w property:headquarters_location ?t . ?t rdf:type ontology:type_of_french_administrative_division . ?w rdf:type ontology:authority_organ } UNION { ?t rdf:type ontology:type_of_french_administrative_division . ?w rdf:type ontology:type_of_business_entity . ?w property:headquarters_location ?t } } GROUP BY ?t } . FILTER ( ?b = ?p ) . { SELECT DISTINCT ( MAX ( ?i ) AS ?p ) { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?i ) WHERE { VALUES ( ?a ) { ( ontology:type_of_business_entity ) ( ontology:authority_organ ) } . ?h rdf:type ?a } GROUP BY ?e } } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q172455 Q490008 Q206493
P47
Q20667921
USER
Does Boulogne-Billancourt share border with Offignies and Sèvres ?
(Q172455,P47,Q490008) (Q172455,P47,Q206493)
action is_in
entity Q172455
action intersection
action find_reverse
entity Q490008
relation P47
action find_reverse
entity Q206493
relation P47
['Q172455', 'P47', 'Q490008'] ['Q172455', 'P47', 'Q206493']
ASK WHERE { resource:Q172455 property:P47 resource:Q490008 . resource:Q172455 property:P47 resource:Q206493 }
Boulogne-Billancourt Offignies Sèvres
action is_in
entity Boulogne-Billancourt
action intersection
action find_reverse
entity Offignies
relation shares border with
action find_reverse
entity Sèvres
relation shares border with
['Boulogne-Billancourt', 'shares border with', 'Offignies'] ['Boulogne-Billancourt', 'shares border with', 'Sèvres']
ASK WHERE { resource:Boulogne-Billancourt property:shares_border_with resource:Offignies . resource:Boulogne-Billancourt property:shares_border_with resource:Sèvres }
[]
type of french administrative division
SYSTEM
NO and YES respectively
(Q172455,P47,Q490008) (Q172455,P47,Q206493)
action is_in
entity Q172455
action intersection
action find_reverse
entity Q490008
relation P47
action find_reverse
entity Q206493
relation P47
[ANSWER]
['Q172455', 'P47', 'Q490008'] ['Q172455', 'P47', 'Q206493']
ASK WHERE { resource:Q172455 property:P47 resource:Q490008 . resource:Q172455 property:P47 resource:Q206493 }
NO and YES respectively
action is_in
entity Boulogne-Billancourt
action intersection
action find_reverse
entity Offignies
relation shares border with
action find_reverse
entity Sèvres
relation shares border with
['Boulogne-Billancourt', 'shares border with', 'Offignies'] ['Boulogne-Billancourt', 'shares border with', 'Sèvres']
ASK WHERE { resource:Boulogne-Billancourt property:shares_border_with resource:Offignies . resource:Boulogne-Billancourt property:shares_border_with resource:Sèvres }
[]