Simple Question (Direct)
Simple Question
Q2544007
P39
Q12737077
USER
What was the position held by Walter Duddins ?
(Q2544007,P39,c(Q12737077))
action filter_type
action find
entity Q2544007
relation P39
type Q12737077
['Q2544007', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q12737077 . resource:Q2544007 property:P39 ?d }
Walter Duddins
action filter_type
action find
entity Walter Duddins
relation position held
type occupation
['Walter Duddins', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:occupation . resource:Walter_Duddins property:position_held ?d }
[]
occupation
Q18627832
SYSTEM
Member of Landtag of Prussia
Q18627832
(Q2544007,P39,c(Q12737077))
action filter_type
action find
entity Q2544007
relation P39
type Q12737077
The position held by Walter Duddins was a [ANSWER]
['Q2544007', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q12737077 . resource:Q2544007 property:P39 ?d }
Member of Landtag of Prussia
The position held by Walter Duddins was a Member of Landtag of Prussia
Member of Landtag of Prussia
action filter_type
action find
entity Walter Duddins
relation position held
type occupation
['Walter Duddins', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:occupation . resource:Walter_Duddins property:position_held ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18627832
P1001
Q7275
USER
Which state applies to jurisdiction of that occupation ?
(Q18627832,P1001,c(Q7275))
action filter_type
action find
entity Q18627832
relation P1001
type Q7275
['Q18627832', 'P1001', {'concept': 'Q7275'}]
SELECT DISTINCT ?v WHERE { resource:Q18627832 property:P1001 ?v . ?v rdf:type ontology:Q7275 }
Member of Landtag of Prussia
action filter_type
action find
entity Member of Landtag of Prussia
relation applies to jurisdiction
type state
['Member of Landtag of Prussia', 'applies to jurisdiction', {'concept': 'state'}]
SELECT DISTINCT ?v WHERE { resource:Member_of_Landtag_of_Prussia property:applies_to_jurisdiction ?v . ?v rdf:type ontology:state }
[]
state
Q161036
SYSTEM
Free State of Prussia
Q161036
(Q18627832,P1001,c(Q7275))
action filter_type
action find
entity Q18627832
relation P1001
type Q7275
The [ANSWER] applies to jurisdiction of that occupation
['Q18627832', 'P1001', {'concept': 'Q7275'}]
SELECT DISTINCT ?v WHERE { resource:Q18627832 property:P1001 ?v . ?v rdf:type ontology:Q7275 }
Free State of Prussia
The Free State of Prussia applies to jurisdiction of that occupation
Free State of Prussia
action filter_type
action find
entity Member of Landtag of Prussia
relation applies to jurisdiction
type state
['Member of Landtag of Prussia', 'applies to jurisdiction', {'concept': 'state'}]
SELECT DISTINCT ?v WHERE { resource:Member_of_Landtag_of_Prussia property:applies_to_jurisdiction ?v . ?v rdf:type ontology:state }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q161036
P30
Q2221906
USER
Which geographic location is that state located in ?
(Q161036,P30,c(Q2221906))
action filter_type
action find
entity Q161036
relation P30
type Q2221906
['Q161036', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q2221906 . resource:Q161036 property:P30 ?j }
Free State of Prussia
action filter_type
action find
entity Free State of Prussia
relation continent
type geographic location
['Free State of Prussia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:geographic_location . resource:Free_State_of_Prussia property:continent ?j }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q161036,P30,c(Q2221906))
action filter_type
action find
entity Q161036
relation P30
type Q2221906
That state is located in [ANSWER]
['Q161036', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q2221906 . resource:Q161036 property:P30 ?j }
Europe
That state is located in Europe
Europe
action filter_type
action find
entity Free State of Prussia
relation continent
type geographic location
['Free State of Prussia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:geographic_location . resource:Free_State_of_Prussia property:continent ?j }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q46 Q165170
P138
Q15619164
USER
Is Europa namesake of Europe ?
(Q46,P138,Q165170)
action is_in
entity Q165170
action find
entity Q46
relation P138
['Q46', 'P138', 'Q165170']
ASK WHERE { resource:Q46 property:P138 resource:Q165170 }
Europe Europa
action is_in
entity Europa
action find
entity Europe
relation named after
['Europe', 'named after', 'Europa']
ASK WHERE { resource:Europe property:named_after resource:Europa }
[]
abstract being
SYSTEM
YES
(Q46,P138,Q165170)
action is_in
entity Q165170
action find
entity Q46
relation P138
[ANSWER]
['Q46', 'P138', 'Q165170']
ASK WHERE { resource:Q46 property:P138 resource:Q165170 }
Yes
action is_in
entity Europa
action find
entity Europe
relation named after
['Europe', 'named after', 'Europa']
ASK WHERE { resource:Europe property:named_after resource:Europa }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q2544007 Q183
P27
Q1048835
USER
Is Germany the country of citizenship of that person ?
(Q2544007,P27,Q183)
action is_in
entity Q183
action find
entity Q2544007
relation P27
['Q2544007', 'P27', 'Q183']
ASK WHERE { resource:Q2544007 property:P27 resource:Q183 }
Walter Duddins Germany
action is_in
entity Germany
action find
entity Walter Duddins
relation country of citizenship
['Walter Duddins', 'country of citizenship', 'Germany']
ASK WHERE { resource:Walter_Duddins property:country_of_citizenship resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q2544007,P27,Q183)
action is_in
entity Q183
action find
entity Q2544007
relation P27
[ANSWER]
['Q2544007', 'P27', 'Q183']
ASK WHERE { resource:Q2544007 property:P27 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Walter Duddins
relation country of citizenship
['Walter Duddins', 'country of citizenship', 'Germany']
ASK WHERE { resource:Walter_Duddins property:country_of_citizenship resource:Germany }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q28025
P194
Q11204 Q1752346 Q7275
USER
How many states have approximately the same number of legislatures and assemblies as their legislative body as Ryukyu Kingdom ?
(c(Q7275),P194,c(Q11204)|c(Q1752346))
action count
action approx
action union
action find_tuple_counts
relation P194
type Q7275
type Q11204
action find_tuple_counts
relation P194
type Q7275
type Q1752346
action count
action filter_multi_types
action find
entity Q28025
relation P194
type Q11204
type Q1752346
[{'concept': 'Q7275'}, 'P194', [{'concept': 'Q11204'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?z ) WHERE { { ?j property:P194 ?l . ?j rdf:type ontology:Q7275 . ?l rdf:type ontology:Q11204 } UNION { ?j property:P194 ?l . ?j rdf:type ontology:Q7275 . ?l rdf:type ontology:Q1752346 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:Q28025 property:P194 ?i . { VALUES ( ?t ) { ( ontology:Q11204 ) ( ontology:Q1752346 ) } . ?i rdf:type ?t } } } . FILTER ( ?z = ?e ) }
Ryukyu Kingdom
action count
action approx
action union
action find_tuple_counts
relation legislative body
type state
type legislature
action find_tuple_counts
relation legislative body
type state
type assembly
action count
action filter_multi_types
action find
entity Ryukyu Kingdom
relation legislative body
type legislature
type assembly
[{'concept': 'state'}, 'legislative body', [{'concept': 'legislature'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?z ) WHERE { { ?j property:legislative_body ?l . ?j rdf:type ontology:state . ?l rdf:type ontology:legislature } UNION { ?j property:legislative_body ?l . ?j rdf:type ontology:state . ?l rdf:type ontology:assembly } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:Ryukyu_Kingdom property:legislative_body ?i . { VALUES ( ?t ) { ( ontology:legislature ) ( ontology:assembly ) } . ?i rdf:type ?t } } } . FILTER ( ?z = ?e ) }
[]
legislature assembly state
SYSTEM
42
Q211853 Q476757 Q207272 Q965174 Q1078602 Q201038 Q208545 Q167360 Q1811029 Q209062 Q204920 Q2006542 Q133356 Q191077 Q903779 Q16957 Q1649871 Q55502 Q62623 Q842794 Q71747 Q1423581 Q83286 Q1277557 Q330362 Q212439 Q28025 Q153015 Q83618 Q964024 Q487829 Q4948 Q49683 Q2342822 Q199841 Q12557 Q217196 Q23541302 Q1775277 Q70972 Q427941 Q216173
(c(Q7275),P194,c(Q11204)|c(Q1752346))
action count
action approx
action union
action find_tuple_counts
relation P194
type Q7275
type Q11204
action find_tuple_counts
relation P194
type Q7275
type Q1752346
action count
action filter_multi_types
action find
entity Q28025
relation P194
type Q11204
type Q1752346
[ANSWER]
[{'concept': 'Q7275'}, 'P194', [{'concept': 'Q11204'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?z ) WHERE { { ?j property:P194 ?l . ?j rdf:type ontology:Q7275 . ?l rdf:type ontology:Q11204 } UNION { ?j property:P194 ?l . ?j rdf:type ontology:Q7275 . ?l rdf:type ontology:Q1752346 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:Q28025 property:P194 ?i . { VALUES ( ?t ) { ( ontology:Q11204 ) ( ontology:Q1752346 ) } . ?i rdf:type ?t } } } . FILTER ( ?z = ?e ) }
Republic of Serbian Krajina Democratic Republic of Afghanistan Second Polish Republic Coalition Provisional Authority Kingdom of Nepal Roman Kingdom Socialist Republic of Bosnia and Herzegovina First Portuguese Republic Finnish Socialist Workers' Republic Socialist Republic of Croatia Crown of Aragon Dominion of Pakistan Ukrainian Soviet Socialist Republic Kingdom of Yugoslavia United Kingdom of Portugal, Brazil and the Algarves East Germany Kingdom of Poland Kingdom of Jerusalem Kalmar Union Socialist Republic of Romania Duchy of Brittany Italian Regency of Carnaro Socialist Federal Republic of Yugoslavia Democratic Federal Yugoslavia Commonwealth of England Cossack Hetmanate Ryukyu Kingdom Kingdom of Saxony Maratha Empire Moldavian Democratic Republic Chagatai Khanate Republic of Venice Grand Duchy of Lithuania West Pakistan South Yemen Mongol Empire Crown of Castile Kaluga Soviet Republic Dominion of India Kingdom of France Islamic Emirate of Afghanistan Free City of Danzig
42
action count
action approx
action union
action find_tuple_counts
relation legislative body
type state
type legislature
action find_tuple_counts
relation legislative body
type state
type assembly
action count
action filter_multi_types
action find
entity Ryukyu Kingdom
relation legislative body
type legislature
type assembly
[{'concept': 'state'}, 'legislative body', [{'concept': 'legislature'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?z ) WHERE { { ?j property:legislative_body ?l . ?j rdf:type ontology:state . ?l rdf:type ontology:legislature } UNION { ?j property:legislative_body ?l . ?j rdf:type ontology:state . ?l rdf:type ontology:assembly } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:Ryukyu_Kingdom property:legislative_body ?i . { VALUES ( ?t ) { ( ontology:legislature ) ( ontology:assembly ) } . ?i rdf:type ?t } } } . FILTER ( ?z = ?e ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q745121
P706
Q56061 Q2221906
USER
How many administrative territories are the location where greater number of geographic locations are located than Alsace Wine Region ?
(c(Q2221906),P706,c(Q56061))
action count
action greater
action find_reverse_tuple_counts
relation P706
type Q56061
type Q2221906
action count
action filter_type
action find
entity Q745121
relation P706
type Q56061
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?m ) AS ?l ) WHERE { ?m property:P706 ?k . ?k rdf:type ontology:Q56061 . ?m rdf:type ontology:Q2221906 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { resource:Q745121 property:P706 ?u . ?u rdf:type ontology:Q56061 } } . FILTER ( ?l > ?c ) }
Alsace Wine Region
action count
action greater
action find_reverse_tuple_counts
relation located on terrain feature
type administrative territorial entity
type geographic location
action count
action filter_type
action find
entity Alsace Wine Region
relation located on terrain feature
type administrative territorial entity
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?m ) AS ?l ) WHERE { ?m property:located_on_terrain_feature ?k . ?k rdf:type ontology:administrative_territorial_entity . ?m rdf:type ontology:geographic_location } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { resource:Alsace_Wine_Region property:located_on_terrain_feature ?u . ?u rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?l > ?c ) }
[]
administrative territorial entity geographic location
SYSTEM
3
Q105206 Q849441 Q605001
(c(Q2221906),P706,c(Q56061))
action count
action greater
action find_reverse_tuple_counts
relation P706
type Q56061
type Q2221906
action count
action filter_type
action find
entity Q745121
relation P706
type Q56061
[ANSWER]
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?m ) AS ?l ) WHERE { ?m property:P706 ?k . ?k rdf:type ontology:Q56061 . ?m rdf:type ontology:Q2221906 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { resource:Q745121 property:P706 ?u . ?u rdf:type ontology:Q56061 } } . FILTER ( ?l > ?c ) }
Bukovina Saint John Svaneke
3
action count
action greater
action find_reverse_tuple_counts
relation located on terrain feature
type administrative territorial entity
type geographic location
action count
action filter_type
action find
entity Alsace Wine Region
relation located on terrain feature
type administrative territorial entity
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?m ) AS ?l ) WHERE { ?m property:located_on_terrain_feature ?k . ?k rdf:type ontology:administrative_territorial_entity . ?m rdf:type ontology:geographic_location } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { resource:Alsace_Wine_Region property:located_on_terrain_feature ?u . ?u rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?l > ?c ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q12317764
P706
Q56061 Q2221906
USER
And what about Højer?
(c(Q2221906),P706,c(Q56061))
action count
action greater
action find_reverse_tuple_counts
relation P706
type Q56061
type Q2221906
action count
action filter_type
action find
entity Q12317764
relation P706
type Q56061
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?c ) WHERE { ?k property:P706 ?g . ?g rdf:type ontology:Q56061 . ?k rdf:type ontology:Q2221906 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { resource:Q12317764 property:P706 ?s . ?s rdf:type ontology:Q56061 } } . FILTER ( ?c > ?m ) }
Højer
action count
action greater
action find_reverse_tuple_counts
relation located on terrain feature
type administrative territorial entity
type geographic location
action count
action filter_type
action find
entity Højer
relation located on terrain feature
type administrative territorial entity
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?c ) WHERE { ?k property:located_on_terrain_feature ?g . ?g rdf:type ontology:administrative_territorial_entity . ?k rdf:type ontology:geographic_location } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { resource:Højer property:located_on_terrain_feature ?s . ?s rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?c > ?m ) }
[]
administrative territorial entity geographic location
SYSTEM
3
Q105206 Q849441 Q605001
(c(Q2221906),P706,c(Q56061))
action count
action greater
action find_reverse_tuple_counts
relation P706
type Q56061
type Q2221906
action count
action filter_type
action find
entity Q12317764
relation P706
type Q56061
[ANSWER]
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?c ) WHERE { ?k property:P706 ?g . ?g rdf:type ontology:Q56061 . ?k rdf:type ontology:Q2221906 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { resource:Q12317764 property:P706 ?s . ?s rdf:type ontology:Q56061 } } . FILTER ( ?c > ?m ) }
Bukovina Saint John Svaneke
3
action count
action greater
action find_reverse_tuple_counts
relation located on terrain feature
type administrative territorial entity
type geographic location
action count
action filter_type
action find
entity Højer
relation located on terrain feature
type administrative territorial entity
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?c ) WHERE { ?k property:located_on_terrain_feature ?g . ?g rdf:type ontology:administrative_territorial_entity . ?k rdf:type ontology:geographic_location } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { resource:Højer property:located_on_terrain_feature ?s . ?s rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?c > ?m ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q161036 Q2565342
P27
Q502895
USER
How many people are a citizen of Free State of Prussia or Spanish battleship España ?
(c(Q502895),P27,Q161036) (c(Q502895),P27,Q2565342)
action count
action union
action filter_type
action find_reverse
entity Q161036
relation P27
type Q502895
action filter_type
action find_reverse
entity Q2565342
relation P27
type Q502895
[{'concept': 'Q502895'}, 'P27', 'Q161036'] [{'concept': 'Q502895'}, 'P27', 'Q2565342']
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:P27 ?a . VALUES ( ?a ) { ( resource:Q161036 ) ( resource:Q2565342 ) } }
Free State of Prussia Spanish battleship España
action count
action union
action filter_type
action find_reverse
entity Free State of Prussia
relation country of citizenship
type common name
action filter_type
action find_reverse
entity Spanish battleship España
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Free State of Prussia'] [{'concept': 'common name'}, 'country of citizenship', 'Spanish battleship España']
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:country_of_citizenship ?a . VALUES ( ?a ) { ( resource:Free_State_of_Prussia ) ( resource:Spanish_battleship_España ) } }
[]
common name
SYSTEM
2
Q20656303 Q1426487
(c(Q502895),P27,Q161036) (c(Q502895),P27,Q2565342)
action count
action union
action filter_type
action find_reverse
entity Q161036
relation P27
type Q502895
action filter_type
action find_reverse
entity Q2565342
relation P27
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P27', 'Q161036'] [{'concept': 'Q502895'}, 'P27', 'Q2565342']
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:P27 ?a . VALUES ( ?a ) { ( resource:Q161036 ) ( resource:Q2565342 ) } }
Martín Garrido Baron Friedrich Grebe
2
action count
action union
action filter_type
action find_reverse
entity Free State of Prussia
relation country of citizenship
type common name
action filter_type
action find_reverse
entity Spanish battleship España
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Free State of Prussia'] [{'concept': 'common name'}, 'country of citizenship', 'Spanish battleship España']
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:country_of_citizenship ?a . VALUES ( ?a ) { ( resource:Free_State_of_Prussia ) ( resource:Spanish_battleship_España ) } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P706
Q2221906 Q811979
USER
Which architectural structures have their location as min number of geographic locations ?
(c(Q811979),P706,c(Q2221906))
action argmin
action find_tuple_counts
relation P706
type Q811979
type Q2221906
[{'concept': 'Q811979'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?n ) { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?q ) WHERE { ?d rdf:type ontology:Q2221906 . ?s rdf:type ontology:Q811979 . ?s property:P706 ?d } GROUP BY ?s } } . FILTER ( ?j = ?n ) . { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?j ) WHERE { ?l property:P706 ?t . ?l rdf:type ontology:Q811979 . ?t rdf:type ontology:Q2221906 } GROUP BY ?l } }
action argmin
action find_tuple_counts
relation located on terrain feature
type architectural structure
type geographic location
[{'concept': 'architectural structure'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?n ) { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?q ) WHERE { ?d rdf:type ontology:geographic_location . ?s rdf:type ontology:architectural_structure . ?s property:located_on_terrain_feature ?d } GROUP BY ?s } } . FILTER ( ?j = ?n ) . { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?j ) WHERE { ?l property:located_on_terrain_feature ?t . ?l rdf:type ontology:architectural_structure . ?t rdf:type ontology:geographic_location } GROUP BY ?l } }
[]
geographic location architectural structure
Q3076267 Q404416 Q326528
SYSTEM
fontaine du Château d'eau, Stockholm Stock Exchange Building, Børsen
Q27510809 Q5110637 Q20829079 Q3471001 Q10577966 Q19979588 Q11701416 Q7006696 Q6513455 Q685755 Q2985016 Q1319325 Q24035685 Q1055970 Q10510512 Q2026601 Q11694698 Q6371948 Q114160 Q2299354 Q14935869 Q12556819 Q23848306 Q3315941 Q26707101 Q11996388 Q12076825 Q26883434 Q23924632 Q10715859 Q20828324 Q3389946 Q2027080 Q26270537 Q17562765 Q7071305 Q10648564 Q20652573 Q5455200 Q1345155 Q326528 Q23930039 Q811859 Q19251655 Q14764153 Q20828373 Q23893344 Q648483 Q24026055 Q23828935 Q11834860 Q26885373 Q20827762 Q20831161 Q12309643 Q24572884 Q12787696 Q27640071 Q5400656 Q23893375 Q24449579 Q23827729 Q24571923 Q10699035 Q10430998 Q2887454 Q1134683 Q24067117 Q1433477 Q24067108 Q16957641 Q3362818 Q10688590 Q3390686 Q6771090 Q403404 Q24314226 Q12885865 Q12794207 Q2720522 Q17013466 Q10494168 Q1621883 Q1535247 Q23894221 Q4957678 Q4566657 Q3375895 Q16254388 Q2551725 Q26883275 Q117767 Q5420069 Q23924642 Q7629892 Q23937506 Q23848218 Q4141464 Q829294 Q26883401 Q24026070 Q265512 Q24045536 Q24029433 Q6432431 Q3079841 Q1550037 Q27012565 Q333875 Q23894167 Q24705184 Q7579804 Q26883247 Q10726959 Q7332366 Q23933950 Q20829844 Q1777016 Q1354838 Q1753542 Q23828035 Q23937519 Q3433033 Q4712981 Q24033261 Q5769470 Q1810430 Q20830632 Q24555774 Q23829138 Q16331939 Q4681034 Q10681017 Q24050277 Q24576116 Q23924636 Q5532406 Q10709194 Q27489823 Q6112842 Q3363786 Q1196667 Q20828364 Q12313611 Q20830825 Q3652404 Q3439847 Q23907533 Q16964407 Q10502451 Q5625943 Q7861751 Q23848646 Q871941 Q10658323 Q404416 Q23937037 Q2073308 Q24556649 Q170103 Q963509 Q2385048 Q20828303 Q23937532 Q631733 Q16999453 Q24237074 Q20826635 Q6949958 Q26825001 Q3048023 Q10500796 Q3389937 Q12799481 Q4566667 Q14629344 Q24500126 Q20828358 Q10489195 Q10412359 Q10508707 Q12332361 Q16894103 Q1327827 Q10427890 Q19828249 Q20828319 Q1196688 Q20828315 Q6936733 Q1735173 Q385597 Q20828313 Q23835375 Q7856623 Q3076267 Q10666210 Q8342981 Q1121496 Q10604793
(c(Q811979),P706,c(Q2221906))
action argmin
action find_tuple_counts
relation P706
type Q811979
type Q2221906
[ANSWERS] have their location as min number of geographic locations
[{'concept': 'Q811979'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?n ) { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?q ) WHERE { ?d rdf:type ontology:Q2221906 . ?s rdf:type ontology:Q811979 . ?s property:P706 ?d } GROUP BY ?s } } . FILTER ( ?j = ?n ) . { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?j ) WHERE { ?l property:P706 ?t . ?l rdf:type ontology:Q811979 . ?t rdf:type ontology:Q2221906 } GROUP BY ?l } }
North Mesa mine group Christiansborg Slotsplads Kronprindsens Gade 87 Pavillon de l'eau Maskrosbollen Caomhan's Church Grmovškov dom pod Veliko Kopo New Cornelia mine Skjervøy Bridge Ruška koča Pagode de Vincennes St Anthony's Battery Shiromaru mine Cerro Rico Guldfjärdsplan Charax Dom na Smrekovcu Karl Johans torg Medborgarplatsen Solsteinhaus Mount Keith mine Nurqabay Apatitovyi tsirk mire du Sud Green River formation (Sweetwater Co.) Proviantgården C.A.H.S. Stadium Esquire No. 7 claim Severniy mine Vintertullstorget Quarters B place Louis-Lépine Meret Oppenheim Fountain California State gem mine Valli-Tarama Nytorget Ragnar Östbergs plan Lame Dog Hut Fisketorget St. Mary's Tower Børsen Gun claim Bauschänzli Water Boat fountain Pont sur le Doubs Lutheran Parsonage Umbozero mine Stockholm City Hall Alum Cave Bluff Palitra pegmatite, Karnasurt mine Ribniška koča Erzwies area Legislature Building Government House Exercerhuset Heftetjern pegmatite Dom Planika pod Triglavom Mohawk Island Lighthouse Estate Catherineberg Natrolite stock, Karnasurt mount Gonzen iron mine Kovdor phlogopite mine Jabel Harmun Tjärhovsplan Blasieholmstorg Bassin d'Apollo Sugarloaf Cable Car Clear Creek claim Arosa airfield Velikaya Guba uran-vanadium deposit Childs Restaurants Birger Jarls torg Södermalmstorg place du Pont-Neuf Markland Locks and Dam Axel Oxenstierna palace Molinello mine Frankish Tower Koča na Loki pod Raduho parvis Notre-Dame - place Jean-Paul-II Miaoulis Square Farsta fountain Hochheideturm Palais de Tokyo Buckwheat pit Brantingtorget Brända tomten Bertel Thorvaldsens Plads Bernic Lake mine Belvedere water tower Bird Nest drift Fløibanen Exercishuset Oktyabr'skoe Cu-Ni deposit Stânca-Costeşti Dam Hilarion mine Tsentral'nyi mine Castillo de Colomares Schloßplatz Esquire No. 8 claim Buca della Vena mine Mariborska koča Kapalagulu intrusion Roua mines Kornhamnstorg Roman theatre of Tarraco Krunkelbach valley uranium deposit Starlera mine Meoto Iwa Chinglusuai river valley pegmatite No. 22, Gottcha claim Sports and Fitness Center Aga mine Åsötorget Riddarhustorget Harstigen mine Mount Theodore Roosevelt Monument Elostirion Lionel Roberts Park Mariina skála Kovdor Zheleznyi mine Christiana mine Mynttorget Alcazaba of Antequera Wood mine Cine Callao place Dauphine Bluebeard's Castle southern Hatrurim formation, Negev desert Karnasurt mine, Karnasurt mount Chalkida Bridge Addelita Cancryn Junior High School Ground Stora Hornsberg Tashelginskoe formation West Sunday mine Komsomol'skii mine Generalens Lysthus Umeå rådhus Gjerdingselva outcrops Aquaria water museum Christian IV's Brewhouse Pont Louis-Philippe Villa Notman Generalkommandoen Danish Custom House Högvaktsterrassen Köpmantorget N'Chwaning mines Mayak mine Gamla bankhuset Gåstorget Tyska brunnsplan Koashva open pit Märchenbrunnen Ryssgården Stockholm Stock Exchange Building Esperanza mine Pont de l'Archevêché Lukkulaisvaara ultrabasic massif Gendarmenmarkt Pont Marie mire du Nord Commercial Hotel and Coffee House Serpieri mine Ytterby mine Wessels mine Esquire no. 1 claim Government House Mälartorget Låven island Stortorget Färgargårdstorget place Louis-Aragon Prešernova koča na Stolu Järntorget Koča pri Triglavskih jezerih Gurim anticline Old Unity Lodge Essingetorget Anna Lindhs plats Greta Garbos torg Prins Jørgens Gård Lengenbach quarry Pont au Change Bellman house Phra That Si Surat Villa Santana Pont de Sully Hotel 1829 Munkbron Paul E. Joseph Stadium Liuskasaari Jacob H.S. Lind House Kirovskii apatite mine Turów Coal Mine fontaine du Château d'eau Sergelfontänen Cava Gran Crimean Atomic Energy Station Nymble
Fontaine du Château d'eau, Stockholm Stock Exchange Building and Børsen have their location as min number of geographic locations
fontaine du Château d'eau Stockholm Stock Exchange Building Børsen
action argmin
action find_tuple_counts
relation located on terrain feature
type architectural structure
type geographic location
[{'concept': 'architectural structure'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?n ) { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?q ) WHERE { ?d rdf:type ontology:geographic_location . ?s rdf:type ontology:architectural_structure . ?s property:located_on_terrain_feature ?d } GROUP BY ?s } } . FILTER ( ?j = ?n ) . { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?j ) WHERE { ?l property:located_on_terrain_feature ?t . ?l rdf:type ontology:architectural_structure . ?t rdf:type ontology:geographic_location } GROUP BY ?l } }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P138
Q811979 Q1048835 Q34442
USER
Which architectural structures are greater number of political territories and roads named after than that architectural structure ?
(c(Q1048835)|c(Q34442),P138,c(Q811979))
[[{'concept': 'Q1048835'}, {'concept': 'Q34442'}], 'P138', {'concept': 'Q811979'}]
SELECT DISTINCT ?y WHERE { { ?k property:P138 ?y . VALUES ( ?k ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q811979 . ?x rdf:type ontology:Q34442 }
[[{'concept': 'political territorial entity'}, {'concept': 'road'}], 'named after', {'concept': 'architectural structure'}]
SELECT DISTINCT ?y WHERE { { ?k property:named_after ?y . VALUES ( ?k ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:architectural_structure . ?x rdf:type ontology:road }
[]
architectural structure political territorial entity road
Comparative|More/Less|Mult. entity type|Clarification
Q3076267
SYSTEM
Did you mean fontaine du Château d'eau ?
(c(Q1048835)|c(Q34442),P138,c(Q811979))
[ANSWER]
[[{'concept': 'Q1048835'}, {'concept': 'Q34442'}], 'P138', {'concept': 'Q811979'}]
SELECT DISTINCT ?y WHERE { { ?k property:P138 ?y . VALUES ( ?k ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q811979 . ?x rdf:type ontology:Q34442 }
Did you mean fontaine du Château d'eau ?
fontaine du Château d'eau
[[{'concept': 'political territorial entity'}, {'concept': 'road'}], 'named after', {'concept': 'architectural structure'}]
SELECT DISTINCT ?y WHERE { { ?k property:named_after ?y . VALUES ( ?k ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:architectural_structure . ?x rdf:type ontology:road }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q1048835)|c(Q34442),P138,c(Q811979))
[[{'concept': 'Q1048835'}, {'concept': 'Q34442'}], 'P138', {'concept': 'Q811979'}]
[[{'concept': 'political territorial entity'}, {'concept': 'road'}], 'named after', {'concept': 'architectural structure'}]
[]
Q38888 Q2919893 Q334186
SYSTEM
Olympia, place Blanche, Abbey of Saint-Germain-des-Prés
Q884433 Q38888 Q2346256 Q13404 Q7430924 Q7071305 Q1196667 Q108325 Q10549272 Q4920798 Q16560 Q1820520 Q4566667 Q1407236 Q2919893 Q334186 Q179426 Q10595668 Q17831979 Q10681017 Q785952 Q15132834 Q10508950 Q1110010 Q9060456 Q18674701 Q15135369 Q5620963 Q6936733 Q15132823
(c(Q1048835)|c(Q34442),P138,c(Q811979))
[ANSWERS] are greater number of political territories and roads named after than that architectural structure
[[{'concept': 'Q1048835'}, {'concept': 'Q34442'}], 'P138', {'concept': 'Q811979'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P138 ?y } UNION { ?x property:P138 ?y } } . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q811979 . ?x rdf:type ontology:Q34442 }
Poppelsdorf Palace Olympia Stettbrunnen Poterne des Peupliers Schafteløkken Nytorget Pont Louis-Philippe chapel Kristinehov Black Friars' Monastery of Stockholm palace Les Frigos Järntorget weigh house place Blanche Abbey of Saint-Germain-des-Prés Ahoy Rotterdam Nedre Manilla Hvitfeldtsplatsen Stora Hornsberg public bath Big and Small Somen's mill Groens malmgård Collège de Navarre Madrid Planetarium St Anne Cloister Big and Small Pryssan Gustaf Adolfs torg Munkbron Christian Hansson's mill
Olympia, place Blanche and Abbey of Saint-Germain-des-Prés are greater number of political territories and roads named after than that architectural structure
Olympia place Blanche Abbey of Saint-Germain-des-Prés
[[{'concept': 'political territorial entity'}, {'concept': 'road'}], 'named after', {'concept': 'architectural structure'}]
SELECT DISTINCT ?y WHERE { { { ?z property:named_after ?y } UNION { ?x property:named_after ?y } } . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:architectural_structure . ?x rdf:type ontology:road }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P190
Q15617994 Q20667921
USER
How many administrative territories or french administrative divisions are partner town of that architectural structure ?
(c(Q15617994),P190,Q38888) (c(Q20667921),P190,Q38888) (c(Q15617994),P190,Q38888) (c(Q20667921),P190,Q38888) (c(Q15617994),P190,Q2919893) (c(Q20667921),P190,Q2919893) (c(Q15617994),P190,Q334186) (c(Q20667921),P190,Q334186)
[{'concept': 'Q15617994'}, 'P190', 'Q38888'] [{'concept': 'Q20667921'}, 'P190', 'Q38888'] [{'concept': 'Q15617994'}, 'P190', 'Q38888'] [{'concept': 'Q20667921'}, 'P190', 'Q38888'] [{'concept': 'Q15617994'}, 'P190', 'Q2919893'] [{'concept': 'Q20667921'}, 'P190', 'Q2919893'] [{'concept': 'Q15617994'}, 'P190', 'Q334186'] [{'concept': 'Q20667921'}, 'P190', 'Q334186']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:P190 resource:Q20469628 } UNION { ?y property:P190 resource:Q20469628 } UNION { ?z property:P190 resource:Q20469628 } UNION { ?y property:P190 resource:Q20469628 } UNION { ?z property:P190 resource:Q2919893 } UNION { ?y property:P190 resource:Q2919893 } UNION { ?z property:P190 resource:Q334186 } UNION { ?y property:P190 resource:Q334186 } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q20667921 }
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Olympia'] [{'concept': 'type of french administrative division'}, 'sister city', 'Olympia'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Olympia'] [{'concept': 'type of french administrative division'}, 'sister city', 'Olympia'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'place Blanche'] [{'concept': 'type of french administrative division'}, 'sister city', 'place Blanche'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Abbey of Saint-Germain-des-Prés'] [{'concept': 'type of french administrative division'}, 'sister city', 'Abbey of Saint-Germain-des-Prés']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:sister_city resource:Olympia } UNION { ?y property:sister_city resource:Olympia } UNION { ?z property:sister_city resource:Olympia } UNION { ?y property:sister_city resource:Olympia } UNION { ?z property:sister_city resource:place_Blanche } UNION { ?y property:sister_city resource:place_Blanche } UNION { ?z property:sister_city resource:Abbey_of_Saint-Germain-des-Prés } UNION { ?y property:sister_city resource:Abbey_of_Saint-Germain-des-Prés } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:type_of_french_administrative_division }
[]
designation for an administrative territorial entity type of french administrative division
Quantitative|Count|Mult. entity type|Clarification
Q334186
SYSTEM
Did you mean Abbey of Saint-Germain-des-Prés ?
[ANSWER]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:P190 resource:Q20469628 } UNION { ?y property:P190 resource:Q20469628 } UNION { ?z property:P190 resource:Q20469628 } UNION { ?y property:P190 resource:Q20469628 } UNION { ?z property:P190 resource:Q2919893 } UNION { ?y property:P190 resource:Q2919893 } UNION { ?z property:P190 resource:Q334186 } UNION { ?y property:P190 resource:Q334186 } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q20667921 }
Did you mean Abbey of Saint-Germain-des-Prés ?
Abbey of Saint-Germain-des-Prés
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:sister_city resource:Olympia } UNION { ?y property:sister_city resource:Olympia } UNION { ?z property:sister_city resource:Olympia } UNION { ?y property:sister_city resource:Olympia } UNION { ?z property:sister_city resource:place_Blanche } UNION { ?y property:sister_city resource:place_Blanche } UNION { ?z property:sister_city resource:Abbey_of_Saint-Germain-des-Prés } UNION { ?y property:sister_city resource:Abbey_of_Saint-Germain-des-Prés } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Olympia. Could you tell me the answer for that?
(c(Q15617994),P190,Q38888) (c(Q20667921),P190,Q38888) (c(Q15617994),P190,Q38888) (c(Q20667921),P190,Q38888) (c(Q15617994),P190,Q2919893) (c(Q20667921),P190,Q2919893) (c(Q15617994),P190,Q334186) (c(Q20667921),P190,Q334186)
Q38888
[{'concept': 'Q15617994'}, 'P190', 'Q38888'] [{'concept': 'Q20667921'}, 'P190', 'Q38888'] [{'concept': 'Q15617994'}, 'P190', 'Q38888'] [{'concept': 'Q20667921'}, 'P190', 'Q38888'] [{'concept': 'Q15617994'}, 'P190', 'Q2919893'] [{'concept': 'Q20667921'}, 'P190', 'Q2919893'] [{'concept': 'Q15617994'}, 'P190', 'Q334186'] [{'concept': 'Q20667921'}, 'P190', 'Q334186']
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Olympia'] [{'concept': 'type of french administrative division'}, 'sister city', 'Olympia'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Olympia'] [{'concept': 'type of french administrative division'}, 'sister city', 'Olympia'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'place Blanche'] [{'concept': 'type of french administrative division'}, 'sister city', 'place Blanche'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Abbey of Saint-Germain-des-Prés'] [{'concept': 'type of french administrative division'}, 'sister city', 'Abbey of Saint-Germain-des-Prés']
[]
SYSTEM
2
Q126898 Q265271
(c(Q15617994),P190,Q38888) (c(Q20667921),P190,Q38888) (c(Q15617994),P190,Q38888) (c(Q20667921),P190,Q38888) (c(Q15617994),P190,Q2919893) (c(Q20667921),P190,Q2919893) (c(Q15617994),P190,Q334186) (c(Q20667921),P190,Q334186)
[ANSWER]
[{'concept': 'Q15617994'}, 'P190', 'Q38888'] [{'concept': 'Q20667921'}, 'P190', 'Q38888'] [{'concept': 'Q15617994'}, 'P190', 'Q38888'] [{'concept': 'Q20667921'}, 'P190', 'Q38888'] [{'concept': 'Q15617994'}, 'P190', 'Q2919893'] [{'concept': 'Q20667921'}, 'P190', 'Q2919893'] [{'concept': 'Q15617994'}, 'P190', 'Q334186'] [{'concept': 'Q20667921'}, 'P190', 'Q334186']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:P190 resource:Q20469628 } UNION { ?y property:P190 resource:Q20469628 } UNION { ?z property:P190 resource:Q20469628 } UNION { ?y property:P190 resource:Q20469628 } UNION { ?z property:P190 resource:Q2919893 } UNION { ?y property:P190 resource:Q2919893 } UNION { ?z property:P190 resource:Q334186 } UNION { ?y property:P190 resource:Q334186 } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q20667921 }
Antibes Cogoleto
2
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Olympia'] [{'concept': 'type of french administrative division'}, 'sister city', 'Olympia'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Olympia'] [{'concept': 'type of french administrative division'}, 'sister city', 'Olympia'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'place Blanche'] [{'concept': 'type of french administrative division'}, 'sister city', 'place Blanche'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Abbey of Saint-Germain-des-Prés'] [{'concept': 'type of french administrative division'}, 'sister city', 'Abbey of Saint-Germain-des-Prés']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:sister_city resource:Olympia } UNION { ?y property:sister_city resource:Olympia } UNION { ?z property:sister_city resource:Olympia } UNION { ?y property:sister_city resource:Olympia } UNION { ?z property:sister_city resource:place_Blanche } UNION { ?y property:sister_city resource:place_Blanche } UNION { ?z property:sister_city resource:Abbey_of_Saint-Germain-des-Prés } UNION { ?y property:sister_city resource:Abbey_of_Saint-Germain-des-Prés } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q3076267
P669
Q34442 Q811979
USER
How many roads and architectural structures are the locations of fontaine du Château d'eau ?
(Q3076267,P669,c(Q34442)) (Q3076267,P669,c(Q811979))
action count
action union
action filter_type
action find
entity Q3076267
relation P669
type Q34442
action filter_type
action find
entity Q3076267
relation P669
type Q811979
['Q3076267', 'P669', {'concept': 'Q34442'}] ['Q3076267', 'P669', {'concept': 'Q811979'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { { resource:Q3076267 property:P669 ?q . ?q rdf:type ontology:Q34442 } UNION { resource:Q3076267 property:P669 ?q . ?q rdf:type ontology:Q811979 } }
fontaine du Château d'eau
action count
action union
action filter_type
action find
entity fontaine du Château d'eau
relation located on street
type road
action filter_type
action find
entity fontaine du Château d'eau
relation located on street
type architectural structure
["fontaine du Château d'eau", 'located on street', {'concept': 'road'}] ["fontaine du Château d'eau", 'located on street', {'concept': 'architectural structure'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { { resource:fontaine_du_Château_d'eau property:located_on_street ?q . ?q rdf:type ontology:road } UNION { resource:fontaine_du_Château_d'eau property:located_on_street ?q . ?q rdf:type ontology:architectural_structure } }
[]
road architectural structure
SYSTEM
1 roads and 2 architectural structures
Q178297 Q175055 Q3390360
(Q3076267,P669,c(Q34442)) (Q3076267,P669,c(Q811979))
action count
action union
action filter_type
action find
entity Q3076267
relation P669
type Q34442
action filter_type
action find
entity Q3076267
relation P669
type Q811979
[ANSWER]
['Q3076267', 'P669', {'concept': 'Q34442'}] ['Q3076267', 'P669', {'concept': 'Q811979'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { { resource:Q3076267 property:P669 ?q . ?q rdf:type ontology:Q34442 } UNION { resource:Q3076267 property:P669 ?q . ?q rdf:type ontology:Q811979 } }
rue René-Boulanger place de la République place de la Fontaine-aux-Lions
1 roads and 2 architectural structures
action count
action union
action filter_type
action find
entity fontaine du Château d'eau
relation located on street
type road
action filter_type
action find
entity fontaine du Château d'eau
relation located on street
type architectural structure
["fontaine du Château d'eau", 'located on street', {'concept': 'road'}] ["fontaine du Château d'eau", 'located on street', {'concept': 'architectural structure'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { { resource:fontaine_du_Château_d'eau property:located_on_street ?q . ?q rdf:type ontology:road } UNION { resource:fontaine_du_Château_d'eau property:located_on_street ?q . ?q rdf:type ontology:architectural_structure } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q7809
P137
Q43229 Q811979
USER
Which organizations are the facility operator of greater number of architectural structures than United Nations Educational, Scientific and Cultural Organization ?
(c(Q811979),P137,c(Q43229))
action greater
action find_reverse_tuple_counts
relation P137
type Q43229
type Q811979
action count
action filter_type
action find
entity Q7809
relation P137
type Q43229
[{'concept': 'Q811979'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?x ) WHERE { ?k property:P137 ?m . ?k rdf:type ontology:Q811979 . ?m rdf:type ontology:Q43229 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { ?p rdf:type ontology:Q43229 . resource:Q7809 property:P137 ?p } } . FILTER ( ?x > ?e ) }
United Nations Educational, Scientific and Cultural Organization
action greater
action find_reverse_tuple_counts
relation operator
type organization
type architectural structure
action count
action filter_type
action find
entity United Nations Educational, Scientific and Cultural Organization
relation operator
type organization
[{'concept': 'architectural structure'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?x ) WHERE { ?k property:operator ?m . ?k rdf:type ontology:architectural_structure . ?m rdf:type ontology:organization } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { ?p rdf:type ontology:organization . resource:United_Nations_Educational,_Scientific_and_Cultural_Organization property:operator ?p } } . FILTER ( ?x > ?e ) }
[]
organization architectural structure
Q1422 Q18656 Q1284261
SYSTEM
Juventus F.C., Manchester United F.C., Norilsk Nickel
Q1369170 Q18656 Q6655313 Q1275336 Q17088423 Q15882594 Q569417 Q5549508 Q357600 Q4680631 Q541076 Q20648697 Q1232862 Q203453 Q320466 Q671990 Q38676 Q1422 Q1345267 Q6548008 Q1156731 Q644289 Q1284261 Q11292651 Q5514583 Q5310599 Q4974584 Q7096505 Q5017081 Q1431781 Q1185319 Q157169 Q1411661 Q1061903 Q3414855 Q2927468 Q4036429 Q6109362 Q6381798 Q892498 Q5604859
(c(Q811979),P137,c(Q43229))
action greater
action find_reverse_tuple_counts
relation P137
type Q43229
type Q811979
action count
action filter_type
action find
entity Q7809
relation P137
type Q43229
[ANSWERS] are the facility operator of greater number of architectural structures than United Nations Educational, Scientific and Cultural Organization
[{'concept': 'Q811979'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?x ) WHERE { ?k property:P137 ?m . ?k rdf:type ontology:Q811979 . ?m rdf:type ontology:Q43229 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { ?p rdf:type ontology:Q43229 . resource:Q7809 property:P137 ?p } } . FILTER ( ?x > ?e ) }
Interhotel Manchester United F.C. Live Nation UK Endesa SMG FARYS Anschutz Entertainment Group Grupo CIE Aditya Birla Group Adani Group AngloGold Ashanti South32 Eldorado Gold Westdeutscher Rundfunk White Star Line Kempinski Agnico-Eagle Mines Juventus F.C. Suntory Lillehammer Olympiapark Mizuno Corporation Cablevision Norilsk Nickel Orix Real Estate GSL Holdings Ltd. Dubai Properties Brookfield Office Properties Opening Day Partners Cafaro Company Walt Disney Parks and Resorts Maple Leaf Sports & Entertainment YMCA REFER Live Nation Entertainment Québecor Média Ohio State Buckeyes Comcast Spectacor J D Wetherspoon True North Sports & Entertainment Caesars Entertainment Corporation Greenwich Leisure Limited
Juventus F.C., Manchester United F.C. and Norilsk Nickel are the facility operator of greater number of architectural structures than United Nations Educational, Scientific and Cultural Organization
Juventus F.C. Manchester United F.C. Norilsk Nickel
action greater
action find_reverse_tuple_counts
relation operator
type organization
type architectural structure
action count
action filter_type
action find
entity United Nations Educational, Scientific and Cultural Organization
relation operator
type organization
[{'concept': 'architectural structure'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?x ) WHERE { ?k property:operator ?m . ?k rdf:type ontology:architectural_structure . ?m rdf:type ontology:organization } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { ?p rdf:type ontology:organization . resource:United_Nations_Educational,_Scientific_and_Cultural_Organization property:operator ?p } } . FILTER ( ?x > ?e ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q2990078
P137
Q43229 Q811979
USER
And how about Ponant?
(c(Q811979),P137,c(Q43229))
action greater
action find_reverse_tuple_counts
relation P137
type Q43229
type Q811979
action count
action filter_type
action find
entity Q2990078
relation P137
type Q43229
[{'concept': 'Q811979'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?q ) WHERE { ?i property:P137 ?a . ?i rdf:type ontology:Q811979 . ?a rdf:type ontology:Q43229 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { resource:Q2990078 property:P137 ?p . ?p rdf:type ontology:Q43229 } } . FILTER ( ?q > ?n ) }
Ponant
action greater
action find_reverse_tuple_counts
relation operator
type organization
type architectural structure
action count
action filter_type
action find
entity Ponant
relation operator
type organization
[{'concept': 'architectural structure'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?q ) WHERE { ?i property:operator ?a . ?i rdf:type ontology:architectural_structure . ?a rdf:type ontology:organization } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { resource:Ponant property:operator ?p . ?p rdf:type ontology:organization } } . FILTER ( ?q > ?n ) }
[]
organization architectural structure
Q1422 Q18656 Q1284261
SYSTEM
Juventus F.C., Manchester United F.C., Norilsk Nickel
Q1369170 Q18656 Q6655313 Q1275336 Q17088423 Q15882594 Q569417 Q5549508 Q357600 Q4680631 Q541076 Q20648697 Q1232862 Q203453 Q320466 Q671990 Q38676 Q1422 Q1345267 Q6548008 Q1156731 Q644289 Q1284261 Q11292651 Q5514583 Q5310599 Q4974584 Q7096505 Q5017081 Q1431781 Q1185319 Q157169 Q1411661 Q1061903 Q3414855 Q2927468 Q4036429 Q6109362 Q6381798 Q892498 Q5604859
(c(Q811979),P137,c(Q43229))
action greater
action find_reverse_tuple_counts
relation P137
type Q43229
type Q811979
action count
action filter_type
action find
entity Q2990078
relation P137
type Q43229
[ANSWERS]
[{'concept': 'Q811979'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?q ) WHERE { ?i property:P137 ?a . ?i rdf:type ontology:Q811979 . ?a rdf:type ontology:Q43229 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { resource:Q2990078 property:P137 ?p . ?p rdf:type ontology:Q43229 } } . FILTER ( ?q > ?n ) }
Interhotel Manchester United F.C. Live Nation UK Endesa SMG FARYS Anschutz Entertainment Group Grupo CIE Aditya Birla Group Adani Group AngloGold Ashanti South32 Eldorado Gold Westdeutscher Rundfunk White Star Line Kempinski Agnico-Eagle Mines Juventus F.C. Suntory Lillehammer Olympiapark Mizuno Corporation Cablevision Norilsk Nickel Orix Real Estate GSL Holdings Ltd. Dubai Properties Brookfield Office Properties Opening Day Partners Cafaro Company Walt Disney Parks and Resorts Maple Leaf Sports & Entertainment YMCA REFER Live Nation Entertainment Québecor Média Ohio State Buckeyes Comcast Spectacor J D Wetherspoon True North Sports & Entertainment Caesars Entertainment Corporation Greenwich Leisure Limited
Juventus F.C. Manchester United F.C. Norilsk Nickel
action greater
action find_reverse_tuple_counts
relation operator
type organization
type architectural structure
action count
action filter_type
action find
entity Ponant
relation operator
type organization
[{'concept': 'architectural structure'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?q ) WHERE { ?i property:operator ?a . ?i rdf:type ontology:architectural_structure . ?a rdf:type ontology:organization } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { resource:Ponant property:operator ?p . ?p rdf:type ontology:organization } } . FILTER ( ?q > ?n ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1422 Q18656 Q1284261
P159
Q56061
USER
Which administrative territories are the HQ of Juventus F.C., Manchester United F.C. and Norilsk Nickel ?
(Q1422,P159,c(Q56061)) (Q18656,P159,c(Q56061)) (Q1284261,P159,c(Q56061))
action union
action filter_type
action find
entity Q1422
relation P159
type Q56061
action filter_type
action find
entity Q18656
relation P159
type Q56061
action filter_type
action find
entity Q1284261
relation P159
type Q56061
['Q1422', 'P159', {'concept': 'Q56061'}] ['Q18656', 'P159', {'concept': 'Q56061'}] ['Q1284261', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { ?s property:P159 ?x . VALUES ( ?s ) { ( resource:Q1422 ) ( resource:Q18656 ) } }
Juventus F.C. Manchester United F.C. Norilsk Nickel
action union
action filter_type
action find
entity Juventus F.C.
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity Manchester United F.C.
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity Norilsk Nickel
relation headquarters location
type administrative territorial entity
['Juventus F.C.', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Manchester United F.C.', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Norilsk Nickel', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?s property:headquarters_location ?x . VALUES ( ?s ) { ( resource:Juventus_F.C. ) ( resource:Manchester_United_F.C. ) } }
[]
administrative territorial entity
Q495 Q18125 Q649
SYSTEM
Turin, Manchester, Moscow
Q495 Q18125 Q649
(Q1422,P159,c(Q56061)) (Q18656,P159,c(Q56061)) (Q1284261,P159,c(Q56061))
action union
action filter_type
action find
entity Q1422
relation P159
type Q56061
action filter_type
action find
entity Q18656
relation P159
type Q56061
action filter_type
action find
entity Q1284261
relation P159
type Q56061
[ANSWERS] are the HQ of Juventus F.C., Manchester United F.C. and Norilsk Nickel
['Q1422', 'P159', {'concept': 'Q56061'}] ['Q18656', 'P159', {'concept': 'Q56061'}] ['Q1284261', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { ?s property:P159 ?x . VALUES ( ?s ) { ( resource:Q1422 ) ( resource:Q18656 ) } }
Turin Manchester Moscow
Turin, Manchester and Moscow are the HQ of Juventus F.C., Manchester United F.C. and Norilsk Nickel
Turin Manchester Moscow
action union
action filter_type
action find
entity Juventus F.C.
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity Manchester United F.C.
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity Norilsk Nickel
relation headquarters location
type administrative territorial entity
['Juventus F.C.', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Manchester United F.C.', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Norilsk Nickel', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?s property:headquarters_location ?x . VALUES ( ?s ) { ( resource:Juventus_F.C. ) ( resource:Manchester_United_F.C. ) } }
[]