Simple Question (Direct)
Simple Question
Q110207
P21
Q290
USER
Which sex does Friedrich Wilken belong to ?
(Q110207,P21,c(Q290))
action filter_type
action find
entity Q110207
relation P21
type Q290
['Q110207', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q290 . resource:Q110207 property:P21 ?h }
Friedrich Wilken
action filter_type
action find
entity Friedrich Wilken
relation gender
type sex
['Friedrich Wilken', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sex . resource:Friedrich_Wilken property:gender ?h }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q110207,P21,c(Q290))
action filter_type
action find
entity Q110207
relation P21
type Q290
Friedrich Wilken belongs to [ANSWER]
['Q110207', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q290 . resource:Q110207 property:P21 ?h }
male
Friedrich Wilken belongs to male
male
action filter_type
action find
entity Friedrich Wilken
relation gender
type sex
['Friedrich Wilken', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sex . resource:Friedrich_Wilken property:gender ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q110207
P69
Q811979
USER
Which architectural structure was Friedrich Wilken educated at ?
(Q110207,P69,c(Q811979))
action filter_type
action find
entity Q110207
relation P69
type Q811979
['Q110207', 'P69', {'concept': 'Q811979'}]
SELECT DISTINCT ?a WHERE { resource:Q110207 property:P69 ?a . ?a rdf:type ontology:Q811979 }
Friedrich Wilken
action filter_type
action find
entity Friedrich Wilken
relation educated at
type architectural structure
['Friedrich Wilken', 'educated at', {'concept': 'architectural structure'}]
SELECT DISTINCT ?a WHERE { resource:Friedrich_Wilken property:educated_at ?a . ?a rdf:type ontology:architectural_structure }
[]
architectural structure
Q152838
SYSTEM
University of Göttingen
Q152838
(Q110207,P69,c(Q811979))
action filter_type
action find
entity Q110207
relation P69
type Q811979
Friedrich Wilken was educated [ANSWER]
['Q110207', 'P69', {'concept': 'Q811979'}]
SELECT DISTINCT ?a WHERE { resource:Q110207 property:P69 ?a . ?a rdf:type ontology:Q811979 }
University of Göttingen
Friedrich Wilken was educated University of Göttingen
University of Göttingen
action filter_type
action find
entity Friedrich Wilken
relation educated at
type architectural structure
['Friedrich Wilken', 'educated at', {'concept': 'architectural structure'}]
SELECT DISTINCT ?a WHERE { resource:Friedrich_Wilken property:educated_at ?a . ?a rdf:type ontology:architectural_structure }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q76770
Q811979
USER
And what about Beno Gutenberg?
(Q76770,P69,c(Q811979))
action filter_type
action find
entity Q76770
relation P69
type Q811979
['Q76770', 'P69', {'concept': 'Q811979'}]
SELECT DISTINCT ?q WHERE { resource:Q76770 property:P69 ?q . ?q rdf:type ontology:Q811979 }
Beno Gutenberg
action filter_type
action find
entity Beno Gutenberg
relation educated at
type architectural structure
['Beno Gutenberg', 'educated at', {'concept': 'architectural structure'}]
SELECT DISTINCT ?q WHERE { resource:Beno_Gutenberg property:educated_at ?q . ?q rdf:type ontology:architectural_structure }
[]
architectural structure
Q152838
SYSTEM
University of Göttingen
Q152838
(Q76770,P69,c(Q811979))
action filter_type
action find
entity Q76770
relation P69
type Q811979
[ANSWER]
['Q76770', 'P69', {'concept': 'Q811979'}]
SELECT DISTINCT ?q WHERE { resource:Q76770 property:P69 ?q . ?q rdf:type ontology:Q811979 }
University of Göttingen
University of Göttingen
action filter_type
action find
entity Beno Gutenberg
relation educated at
type architectural structure
['Beno Gutenberg', 'educated at', {'concept': 'architectural structure'}]
SELECT DISTINCT ?q WHERE { resource:Beno_Gutenberg property:educated_at ?q . ?q rdf:type ontology:architectural_structure }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P108
Q811979 Q502895
USER
How many architectural structures employ less number of people than that architectural structure ?
(c(Q502895),P108,c(Q811979))
action count
action less
action find_reverse_tuple_counts
relation P108
type Q811979
type Q502895
action count
action filter_type
action find_reverse
entity Q152838
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', {'concept': 'Q811979'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { FILTER ( ?y < ?z ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { ?s property:P108 resource:Q152838 . ?s rdf:type ontology:Q502895 } } . { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?y ) WHERE { ?d property:P108 ?n . ?n rdf:type ontology:Q811979 . ?d rdf:type ontology:Q502895 } GROUP BY ?n } }
action count
action less
action find_reverse_tuple_counts
relation employer
type architectural structure
type common name
action count
action filter_type
action find_reverse
entity University of Göttingen
relation employer
type common name
[{'concept': 'common name'}, 'employer', {'concept': 'architectural structure'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { FILTER ( ?y < ?z ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { ?s property:employer resource:University_of_Göttingen . ?s rdf:type ontology:common_name } } . { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?y ) WHERE { ?d property:employer ?n . ?n rdf:type ontology:architectural_structure . ?d rdf:type ontology:common_name } GROUP BY ?n } }
[]
architectural structure common name
SYSTEM
39
Q1050032 Q469476 Q665475 Q827401 Q7581760 Q1771717 Q15142 Q1966699 Q4010904 Q3527872 Q5562167 Q1110010 Q4381563 Q5121553 Q249139 Q1496027 Q131262 Q4304240 Q4890917 Q151510 Q2096604 Q541548 Q591115 Q6978772 Q1070546 Q1422458 Q1752043 Q1535247 Q1445750 Q658975 Q1781377 Q876640 Q1802939 Q6154491 Q294469 Q7440264 Q6079807 Q7369018 Q15575
(c(Q502895),P108,c(Q811979))
action count
action less
action find_reverse_tuple_counts
relation P108
type Q811979
type Q502895
action count
action filter_type
action find_reverse
entity Q152838
relation P108
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P108', {'concept': 'Q811979'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { FILTER ( ?y < ?z ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { ?s property:P108 resource:Q152838 . ?s rdf:type ontology:Q502895 } } . { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?y ) WHERE { ?d property:P108 ?n . ?n rdf:type ontology:Q811979 . ?d rdf:type ontology:Q502895 } GROUP BY ?n } }
Museu Picasso American University in Cairo Hayden Planetarium turputamadre Spyken Portland State University University of Massachusetts Amherst National Museum of Natural Sciences Boyne Viaduct Théâtre municipal de Tunis Teatro Chueca Collège de Navarre Massachusetts College of Art and Design Circo Price Zōjō-ji Pointe-à-Callière Museum University of Bologna Moscow Planetarium Municipal Conservatory of Barcelona University of Heidelberg Sharif University of Technology University of Neuchâtel University of Haifa National Superconducting Cyclotron Laboratory NHK Broadcasting Center University of Bath King Saud University Palais de Tokyo Okinawa Churaumi Aquarium University of Lausanne Stockholm City Theatre Konservatorium Wien KUNSTEN Museum of Modern Art Aalborg Janina Coal Mine Theresianum Seacliff Lunatic Asylum Isfahan University of Technology Roskilde Royal Mansion Flinders University
39
action count
action less
action find_reverse_tuple_counts
relation employer
type architectural structure
type common name
action count
action filter_type
action find_reverse
entity University of Göttingen
relation employer
type common name
[{'concept': 'common name'}, 'employer', {'concept': 'architectural structure'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { FILTER ( ?y < ?z ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { ?s property:employer resource:University_of_Göttingen . ?s rdf:type ontology:common_name } } . { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?y ) WHERE { ?d property:employer ?n . ?n rdf:type ontology:architectural_structure . ?d rdf:type ontology:common_name } GROUP BY ?n } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P2695
Q811979 Q11173 Q3977918
USER
Which architectural structures are the localities where atleast 2 chemical compounds and mineral supergroupss are found ?
(c(Q11173)|c(Q3977918),P2695,c(Q811979))
action atleast
action union
action find_reverse_tuple_counts
relation P2695
type Q811979
type Q11173
action find_reverse_tuple_counts
relation P2695
type Q811979
type Q3977918
value 2
[[{'concept': 'Q11173'}, {'concept': 'Q3977918'}], 'P2695', {'concept': 'Q811979'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?u WHERE { { ?j property:P2695 ?u . ?u rdf:type ontology:Q811979 . ?j rdf:type ontology:Q3977918 } UNION { ?j property:P2695 ?u . ?u rdf:type ontology:Q811979 . ?j rdf:type ontology:Q11173 } } GROUP BY ?u } . FILTER ( ?x >= 2 ) }
action atleast
action union
action find_reverse_tuple_counts
relation type locality
type architectural structure
type chemical compound
action find_reverse_tuple_counts
relation type locality
type architectural structure
type mineral supergroups
value 2
[[{'concept': 'chemical compound'}, {'concept': 'mineral supergroups'}], 'type locality', {'concept': 'architectural structure'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?u WHERE { { ?j property:type_locality ?u . ?u rdf:type ontology:architectural_structure . ?j rdf:type ontology:mineral_supergroups } UNION { ?j property:type_locality ?u . ?u rdf:type ontology:architectural_structure . ?j rdf:type ontology:chemical_compound } } GROUP BY ?u } . FILTER ( ?x >= 2 ) }
[]
architectural structure chemical compound mineral supergroups
Q746606 Q26453772 Q23835375
SYSTEM
Chuquicamata, Ivigtut cryolite deposit, Kirovskii apatite mine
Q26453772 Q24570697 Q746606 Q23835375 Q23723997
(c(Q11173)|c(Q3977918),P2695,c(Q811979))
action atleast
action union
action find_reverse_tuple_counts
relation P2695
type Q811979
type Q11173
action find_reverse_tuple_counts
relation P2695
type Q811979
type Q3977918
value 2
[ANSWERS] are the localities where atleast 2 chemical compounds and mineral supergroupss are found
[[{'concept': 'Q11173'}, {'concept': 'Q3977918'}], 'P2695', {'concept': 'Q811979'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?u WHERE { { ?j property:P2695 ?u . ?u rdf:type ontology:Q811979 . ?j rdf:type ontology:Q3977918 } UNION { ?j property:P2695 ?u . ?u rdf:type ontology:Q811979 . ?j rdf:type ontology:Q11173 } } GROUP BY ?u } . FILTER ( ?x >= 2 ) }
Ivigtut cryolite deposit Unnamed manganese deposit, Shobu Chuquicamata Kirovskii apatite mine Tsumeb mine
Chuquicamata, Ivigtut cryolite deposit and Kirovskii apatite mine are the localities where atleast 2 chemical compounds and mineral supergroupss are found
Chuquicamata Ivigtut cryolite deposit Kirovskii apatite mine
action atleast
action union
action find_reverse_tuple_counts
relation type locality
type architectural structure
type chemical compound
action find_reverse_tuple_counts
relation type locality
type architectural structure
type mineral supergroups
value 2
[[{'concept': 'chemical compound'}, {'concept': 'mineral supergroups'}], 'type locality', {'concept': 'architectural structure'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?u WHERE { { ?j property:type_locality ?u . ?u rdf:type ontology:architectural_structure . ?j rdf:type ontology:mineral_supergroups } UNION { ?j property:type_locality ?u . ?u rdf:type ontology:architectural_structure . ?j rdf:type ontology:chemical_compound } } GROUP BY ?u } . FILTER ( ?x >= 2 ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P1056
Q2424752 Q811979
USER
Which architectural structures produce greater number of products than that architectural structure ?
(c(Q811979),P1056,c(Q2424752))
[{'concept': 'Q811979'}, 'P1056', {'concept': 'Q2424752'}]
SELECT DISTINCT ?z WHERE { ?z property:Q21013285 ?y . ?z rdf:type ontology:Q811979 . ?y rdf:type ontology:Q21013285 }
[{'concept': 'architectural structure'}, 'product', {'concept': 'product'}]
SELECT DISTINCT ?z WHERE { ?z property:product ?y . ?z rdf:type ontology:architectural_structure . ?y rdf:type ontology:product }
[]
product architectural structure
Comparative|More/Less|Single entity type|Clarification
Q26453772
SYSTEM
Did you mean Ivigtut cryolite deposit ?
(c(Q811979),P1056,c(Q2424752))
[ANSWER]
[{'concept': 'Q811979'}, 'P1056', {'concept': 'Q2424752'}]
SELECT DISTINCT ?z WHERE { ?z property:Q21013285 ?y . ?z rdf:type ontology:Q811979 . ?y rdf:type ontology:Q21013285 }
Did you mean Ivigtut cryolite deposit ?
Ivigtut cryolite deposit
[{'concept': 'architectural structure'}, 'product', {'concept': 'product'}]
SELECT DISTINCT ?z WHERE { ?z property:product ?y . ?z rdf:type ontology:architectural_structure . ?y rdf:type ontology:product }
[]
Comparative Reasoning (All)
USER
No, I meant Chuquicamata. Could you tell me the answer for that?
(c(Q811979),P1056,c(Q2424752))
Q746606
[{'concept': 'Q811979'}, 'P1056', {'concept': 'Q2424752'}]
[{'concept': 'architectural structure'}, 'product', {'concept': 'product'}]
[]
Q27675874 Q943876
SYSTEM
Central Lechera Clesa, malt house
Q27675874 Q943876
(c(Q811979),P1056,c(Q2424752))
[ANSWERS] produce greater number of products than that architectural structure
[{'concept': 'Q811979'}, 'P1056', {'concept': 'Q2424752'}]
SELECT DISTINCT ?z WHERE { ?z property:Q21013285 ?y . ?z rdf:type ontology:Q811979 . ?y rdf:type ontology:Q21013285 }
Central Lechera Clesa malt house
Central Lechera Clesa and malt house produce greater number of products than that architectural structure
Central Lechera Clesa malt house
[{'concept': 'architectural structure'}, 'product', {'concept': 'product'}]
SELECT DISTINCT ?z WHERE { ?z property:product ?y . ?z rdf:type ontology:architectural_structure . ?y rdf:type ontology:product }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P84
Q502895
USER
How many people designed the architecture of that architectural structure ?
(Q27675874,P84,c(Q502895))
['Q27675874', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q27675874 property:Q42973 ?z . ?z rdf:type ontology:Q502895 }
['Central Lechera Clesa', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Central_Lechera_Clesa property:architect ?z . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q27675874
SYSTEM
Did you mean Central Lechera Clesa ?
(Q27675874,P84,c(Q502895)) (Q943876,P84,c(Q502895))
[ANSWER]
['Q27675874', 'P84', {'concept': 'Q502895'}] ['Q943876', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q27675874 property:Q42973 ?z . ?z rdf:type ontology:Q502895 }
Did you mean Central Lechera Clesa ?
Central Lechera Clesa
['Central Lechera Clesa', 'architect', {'concept': 'common name'}] ['malt house', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Central_Lechera_Clesa property:architect ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q27675874,P84,c(Q502895))
['Q27675874', 'P84', {'concept': 'Q502895'}]
['Central Lechera Clesa', 'architect', {'concept': 'common name'}]
[]
SYSTEM
1
Q3321064
(Q27675874,P84,c(Q502895))
[ANSWER]
['Q27675874', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q27675874 property:Q42973 ?z . ?z rdf:type ontology:Q502895 }
Alejandro de la Sota
1
['Central Lechera Clesa', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Central_Lechera_Clesa property:architect ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q27675874 Q1052908
P800
Q502895
USER
How many people have Central Lechera Clesa or Strawberry 100% as a notable work ?
(c(Q502895),P800,Q27675874) (c(Q502895),P800,Q1052908)
action count
action union
action filter_type
action find_reverse
entity Q27675874
relation P800
type Q502895
action filter_type
action find_reverse
entity Q1052908
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q27675874'] [{'concept': 'Q502895'}, 'P800', 'Q1052908']
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { { ?w property:P800 resource:Q27675874 . ?w rdf:type ontology:Q502895 } UNION { ?w property:P800 resource:Q1052908 . ?w rdf:type ontology:Q502895 } }
Central Lechera Clesa Strawberry 100%
action count
action union
action filter_type
action find_reverse
entity Central Lechera Clesa
relation notable work
type common name
action filter_type
action find_reverse
entity Strawberry 100%
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Central Lechera Clesa'] [{'concept': 'common name'}, 'notable work', 'Strawberry 100%']
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { { ?w property:notable_work resource:Central_Lechera_Clesa . ?w rdf:type ontology:common_name } UNION { ?w property:notable_work resource:Strawberry_100% . ?w rdf:type ontology:common_name } }
[]
common name
SYSTEM
2
Q256887 Q3321064
(c(Q502895),P800,Q27675874) (c(Q502895),P800,Q1052908)
action count
action union
action filter_type
action find_reverse
entity Q27675874
relation P800
type Q502895
action filter_type
action find_reverse
entity Q1052908
relation P800
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P800', 'Q27675874'] [{'concept': 'Q502895'}, 'P800', 'Q1052908']
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { { ?w property:P800 resource:Q27675874 . ?w rdf:type ontology:Q502895 } UNION { ?w property:P800 resource:Q1052908 . ?w rdf:type ontology:Q502895 } }
Mizuki Kawashita Alejandro de la Sota
2
action count
action union
action filter_type
action find_reverse
entity Central Lechera Clesa
relation notable work
type common name
action filter_type
action find_reverse
entity Strawberry 100%
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Central Lechera Clesa'] [{'concept': 'common name'}, 'notable work', 'Strawberry 100%']
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { { ?w property:notable_work resource:Central_Lechera_Clesa . ?w rdf:type ontology:common_name } UNION { ?w property:notable_work resource:Strawberry_100% . ?w rdf:type ontology:common_name } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q2393003
P137
Q4830453 Q811979
USER
Which business enterprises manages greater number of architectural structures than Autoroutes Paris-Rhin-Rhône ?
(c(Q811979),P137,c(Q4830453))
action greater
action find_reverse_tuple_counts
relation P137
type Q4830453
type Q811979
action count
action filter_type
action find
entity Q2393003
relation P137
type Q4830453
[{'concept': 'Q811979'}, 'P137', {'concept': 'Q4830453'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?d ) WHERE { ?p property:P137 ?e . ?e rdf:type ontology:Q4830453 . ?p rdf:type ontology:Q811979 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Q2393003 property:P137 ?v . ?v rdf:type ontology:Q4830453 } } . FILTER ( ?d > ?a ) }
Autoroutes Paris-Rhin-Rhône
action greater
action find_reverse_tuple_counts
relation operator
type business enterprise
type architectural structure
action count
action filter_type
action find
entity Autoroutes Paris-Rhin-Rhône
relation operator
type business enterprise
[{'concept': 'architectural structure'}, 'operator', {'concept': 'business enterprise'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?d ) WHERE { ?p property:operator ?e . ?e rdf:type ontology:business_enterprise . ?p rdf:type ontology:architectural_structure } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Autoroutes_Paris-Rhin-Rhône property:operator ?v . ?v rdf:type ontology:business_enterprise } } . FILTER ( ?d > ?a ) }
[]
business enterprise architectural structure
Q158276 Q20438616 Q378181
SYSTEM
AEG, KMKK Középkelet-magyarországi Közlekedési Központ, Chemins de fer du Midi
Q20438616 Q378181 Q158276 Q2990097
(c(Q811979),P137,c(Q4830453))
action greater
action find_reverse_tuple_counts
relation P137
type Q4830453
type Q811979
action count
action filter_type
action find
entity Q2393003
relation P137
type Q4830453
[ANSWERS] manage greater number of architectural structures than Autoroutes Paris-Rhin-Rhône
[{'concept': 'Q811979'}, 'P137', {'concept': 'Q4830453'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?d ) WHERE { ?p property:P137 ?e . ?e rdf:type ontology:Q4830453 . ?p rdf:type ontology:Q811979 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Q2393003 property:P137 ?v . ?v rdf:type ontology:Q4830453 } } . FILTER ( ?d > ?a ) }
KMKK Középkelet-magyarországi Közlekedési Központ Chemins de fer du Midi AEG Compagnie du chemin de fer de Bordeaux à La Teste
AEG, KMKK Középkelet-magyarországi Közlekedési Központ and Chemins de fer du Midi manage greater number of architectural structures than Autoroutes Paris-Rhin-Rhône
AEG KMKK Középkelet-magyarországi Közlekedési Központ Chemins de fer du Midi
action greater
action find_reverse_tuple_counts
relation operator
type business enterprise
type architectural structure
action count
action filter_type
action find
entity Autoroutes Paris-Rhin-Rhône
relation operator
type business enterprise
[{'concept': 'architectural structure'}, 'operator', {'concept': 'business enterprise'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?d ) WHERE { ?p property:operator ?e . ?e rdf:type ontology:business_enterprise . ?p rdf:type ontology:architectural_structure } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Autoroutes_Paris-Rhin-Rhône property:operator ?v . ?v rdf:type ontology:business_enterprise } } . FILTER ( ?d > ?a ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P137
Q811979
USER
How many architectural structures were managed by that business enterprise ?
(c(Q811979),P137,Q20438616)
[{'concept': 'Q811979'}, 'P137', 'Q20438616']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q131030 resource:Q20438616 . ?z rdf:type ontology:Q811979 }
[{'concept': 'architectural structure'}, 'operator', 'KMKK Középkelet-magyarországi Közlekedési Központ']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:operator resource:KMKK_Középkelet-magyarországi_Közlekedési_Központ . ?z rdf:type ontology:architectural_structure }
[]
architectural structure
Quantitative|Count|Single entity type|Clarification
Q378181
SYSTEM
Did you mean Chemins de fer du Midi ?
(c(Q811979),P137,Q158276) (c(Q811979),P137,Q20438616) (c(Q811979),P137,Q378181)
[ANSWER]
[{'concept': 'Q811979'}, 'P137', 'Q158276'] [{'concept': 'Q811979'}, 'P137', 'Q20438616'] [{'concept': 'Q811979'}, 'P137', 'Q378181']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q131030 resource:Q20438616 . ?z rdf:type ontology:Q811979 }
Did you mean Chemins de fer du Midi ?
Chemins de fer du Midi
[{'concept': 'architectural structure'}, 'operator', 'AEG'] [{'concept': 'architectural structure'}, 'operator', 'KMKK Középkelet-magyarországi Közlekedési Központ'] [{'concept': 'architectural structure'}, 'operator', 'Chemins de fer du Midi']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:operator resource:KMKK_Középkelet-magyarországi_Közlekedési_Központ . ?z rdf:type ontology:architectural_structure }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant KMKK Középkelet-magyarországi Közlekedési Központ. Could you tell me the answer for that?
(c(Q811979),P137,Q20438616)
Q20438616
[{'concept': 'Q811979'}, 'P137', 'Q20438616']
[{'concept': 'architectural structure'}, 'operator', 'KMKK Középkelet-magyarországi Közlekedési Központ']
[]
SYSTEM
1
Q25459662
(c(Q811979),P137,Q20438616)
[ANSWER]
[{'concept': 'Q811979'}, 'P137', 'Q20438616']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q131030 resource:Q20438616 . ?z rdf:type ontology:Q811979 }
New bus station of Hatvan
1
[{'concept': 'architectural structure'}, 'operator', 'KMKK Középkelet-magyarországi Közlekedési Központ']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:operator resource:KMKK_Középkelet-magyarországi_Közlekedési_Központ . ?z rdf:type ontology:architectural_structure }
[]