Simple Question (Direct)
Simple Question
Q72485
P22
Q502895
USER
Which person was the father of Friedrich Wilhelm Krummacher ?
(Q72485,P22,c(Q502895))
action filter_type
action find
entity Q72485
relation P22
type Q502895
['Q72485', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q72485 property:P22 ?d . ?d rdf:type ontology:Q502895 }
Friedrich Wilhelm Krummacher
action filter_type
action find
entity Friedrich Wilhelm Krummacher
relation father
type common name
['Friedrich Wilhelm Krummacher', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Friedrich_Wilhelm_Krummacher property:father ?d . ?d rdf:type ontology:common_name }
[]
common name
Q72492
SYSTEM
Friedrich Adolf Krummacher
Q72492
(Q72485,P22,c(Q502895))
action filter_type
action find
entity Q72485
relation P22
type Q502895
[ANSWER] was the father of Friedrich Wilhelm Krummacher
['Q72485', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q72485 property:P22 ?d . ?d rdf:type ontology:Q502895 }
Friedrich Adolf Krummacher
Friedrich Adolf Krummacher was the father of Friedrich Wilhelm Krummacher
Friedrich Adolf Krummacher
action filter_type
action find
entity Friedrich Wilhelm Krummacher
relation father
type common name
['Friedrich Wilhelm Krummacher', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Friedrich_Wilhelm_Krummacher property:father ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q72492
P20
Q486972
USER
Where did that person expire ?
(Q72492,P20,c(Q486972))
action filter_type
action find
entity Q72492
relation P20
type Q486972
['Q72492', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q486972 . resource:Q72492 property:P20 ?i }
Friedrich Adolf Krummacher
action filter_type
action find
entity Friedrich Adolf Krummacher
relation place of death
type human settlement
['Friedrich Adolf Krummacher', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:human_settlement . resource:Friedrich_Adolf_Krummacher property:place_of_death ?i }
[]
human settlement
Q24879
SYSTEM
Bremen
Q24879
(Q72492,P20,c(Q486972))
action filter_type
action find
entity Q72492
relation P20
type Q486972
That person expired in [ANSWER]
['Q72492', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q486972 . resource:Q72492 property:P20 ?i }
Bremen
That person expired in Bremen
Bremen
action filter_type
action find
entity Friedrich Adolf Krummacher
relation place of death
type human settlement
['Friedrich Adolf Krummacher', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:human_settlement . resource:Friedrich_Adolf_Krummacher property:place_of_death ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q72492
P21
Q290
USER
Which sex does that person belong to ?
(Q24879,P21,c(Q290))
action filter_type
action find
entity Q72492
relation P21
type Q290
['Q24879', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q72492 property:P21 ?q . ?q rdf:type ontology:Q290 }
Friedrich Adolf Krummacher
action filter_type
action find
entity Friedrich Adolf Krummacher
relation gender
type sex
['Bremen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Friedrich_Adolf_Krummacher property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q24879,P21,c(Q290))
action filter_type
action find
entity Q72492
relation P21
type Q290
That person belongs to [ANSWER]
['Q24879', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q72492 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Friedrich Adolf Krummacher
relation gender
type sex
['Bremen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Friedrich_Adolf_Krummacher property:gender ?q . ?q rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q72492
P27
Q1048835
USER
Which political territory is that person an inhabitant of ?
(Q6581097,P27,c(Q1048835))
action filter_type
action find
entity Q72492
relation P27
type Q1048835
['Q6581097', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q72492 property:P27 ?w . ?w rdf:type ontology:Q1048835 }
Friedrich Adolf Krummacher
action filter_type
action find
entity Friedrich Adolf Krummacher
relation country of citizenship
type political territorial entity
['male', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Friedrich_Adolf_Krummacher property:country_of_citizenship ?w . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q6581097,P27,c(Q1048835))
action filter_type
action find
entity Q72492
relation P27
type Q1048835
[ANSWER] is that person an inhabitant of
['Q6581097', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q72492 property:P27 ?w . ?w rdf:type ontology:Q1048835 }
Germany
Germany is that person an inhabitant of
Germany
action filter_type
action find
entity Friedrich Adolf Krummacher
relation country of citizenship
type political territorial entity
['male', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Friedrich_Adolf_Krummacher property:country_of_citizenship ?w . ?w rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P138
Q486972 Q13220204 Q56061
USER
Which human settlements are namesakes of max number of administrative country subdivisions and administrative territories ?
(c(Q13220204)|c(Q56061),P138,c(Q486972))
action argmax
action union
action find_reverse_tuple_counts
relation P138
type Q486972
type Q13220204
action find_reverse_tuple_counts
relation P138
type Q486972
type Q56061
[[{'concept': 'Q13220204'}, {'concept': 'Q56061'}], 'P138', {'concept': 'Q486972'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) ?o WHERE { { ?i property:P138 ?o . ?o rdf:type ontology:Q486972 . ?i rdf:type ontology:Q13220204 } UNION { ?i property:P138 ?o . ?o rdf:type ontology:Q486972 . ?i rdf:type ontology:Q56061 } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) ?w WHERE { VALUES ( ?d ) { ( ontology:Q13220204 ) ( ontology:Q56061 ) } . ?f rdf:type ?d } GROUP BY ?w } . FILTER ( ?q = ?b ) }
action argmax
action union
action find_reverse_tuple_counts
relation named after
type human settlement
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation named after
type human settlement
type administrative territorial entity
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'administrative territorial entity'}], 'named after', {'concept': 'human settlement'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) ?o WHERE { { ?i property:named_after ?o . ?o rdf:type ontology:human_settlement . ?i rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?i property:named_after ?o . ?o rdf:type ontology:human_settlement . ?i rdf:type ontology:administrative_territorial_entity } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) ?w WHERE { VALUES ( ?d ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:administrative_territorial_entity ) } . ?f rdf:type ?d } GROUP BY ?w } . FILTER ( ?q = ?b ) }
[]
human settlement second-level administrative country subdivision administrative territorial entity
Q60475
SYSTEM
Harlingen
Q60475
(c(Q13220204)|c(Q56061),P138,c(Q486972))
action argmax
action union
action find_reverse_tuple_counts
relation P138
type Q486972
type Q13220204
action find_reverse_tuple_counts
relation P138
type Q486972
type Q56061
[ANSWER] is namesakes of max number of administrative country subdivisions and administrative territories
[[{'concept': 'Q13220204'}, {'concept': 'Q56061'}], 'P138', {'concept': 'Q486972'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) ?o WHERE { { ?i property:P138 ?o . ?o rdf:type ontology:Q486972 . ?i rdf:type ontology:Q13220204 } UNION { ?i property:P138 ?o . ?o rdf:type ontology:Q486972 . ?i rdf:type ontology:Q56061 } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) ?w WHERE { VALUES ( ?d ) { ( ontology:Q13220204 ) ( ontology:Q56061 ) } . ?f rdf:type ?d } GROUP BY ?w } . FILTER ( ?q = ?b ) }
Harlingen
Harlingen is namesakes of max number of administrative country subdivisions and administrative territories
Harlingen
action argmax
action union
action find_reverse_tuple_counts
relation named after
type human settlement
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation named after
type human settlement
type administrative territorial entity
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'administrative territorial entity'}], 'named after', {'concept': 'human settlement'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) ?o WHERE { { ?i property:named_after ?o . ?o rdf:type ontology:human_settlement . ?i rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?i property:named_after ?o . ?o rdf:type ontology:human_settlement . ?i rdf:type ontology:administrative_territorial_entity } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) ?w WHERE { VALUES ( ?d ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:administrative_territorial_entity ) } . ?f rdf:type ?d } GROUP BY ?w } . FILTER ( ?q = ?b ) }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q60475 Q522968 Q55
P17
Q15617994
USER
Is Harlingen located in Enge-Sande and Netherlands ?
(Q60475,P17,Q522968) (Q60475,P17,Q55)
action is_in
entity Q60475
action intersection
action find_reverse
entity Q522968
relation P17
action find_reverse
entity Q55
relation P17
['Q60475', 'P17', 'Q522968'] ['Q60475', 'P17', 'Q55']
ASK WHERE { resource:Q60475 property:P17 resource:Q55 . resource:Q60475 property:P17 resource:Q522968 }
Harlingen Enge-Sande Netherlands
action is_in
entity Harlingen
action intersection
action find_reverse
entity Enge-Sande
relation country
action find_reverse
entity Netherlands
relation country
['Harlingen', 'country', 'Enge-Sande'] ['Harlingen', 'country', 'Netherlands']
ASK WHERE { resource:Harlingen property:country resource:Netherlands . resource:Harlingen property:country resource:Enge-Sande }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q60475,P17,Q522968) (Q60475,P17,Q55)
action is_in
entity Q60475
action intersection
action find_reverse
entity Q522968
relation P17
action find_reverse
entity Q55
relation P17
[ANSWER]
['Q60475', 'P17', 'Q522968'] ['Q60475', 'P17', 'Q55']
ASK WHERE { resource:Q60475 property:P17 resource:Q55 . resource:Q60475 property:P17 resource:Q522968 }
NO and YES respectively
action is_in
entity Harlingen
action intersection
action find_reverse
entity Enge-Sande
relation country
action find_reverse
entity Netherlands
relation country
['Harlingen', 'country', 'Enge-Sande'] ['Harlingen', 'country', 'Netherlands']
ASK WHERE { resource:Harlingen property:country resource:Netherlands . resource:Harlingen property:country resource:Enge-Sande }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q24879
P119
Q502895
USER
Who has Bremen as his/her tomb ?
(c(Q502895),P119,Q24879)
action filter_type
action find_reverse
entity Q24879
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q24879']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . ?h property:P119 resource:Q24879 }
Bremen
action filter_type
action find_reverse
entity Bremen
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Bremen']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . ?h property:place_of_burial resource:Bremen }
[]
common name
Q213681
SYSTEM
Adolph Freiherr Knigge
Q213681
(c(Q502895),P119,Q24879)
action filter_type
action find_reverse
entity Q24879
relation P119
type Q502895
[ANSWER] has Bremen as his/her tomb
[{'concept': 'Q502895'}, 'P119', 'Q24879']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . ?h property:P119 resource:Q24879 }
Adolph Freiherr Knigge
Adolph Freiherr Knigge has Bremen as his/her tomb
Adolph Freiherr Knigge
action filter_type
action find_reverse
entity Bremen
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Bremen']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . ?h property:place_of_burial resource:Bremen }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q24879
P740
Q740752
USER
Which transport company was formed at that human settlement ?
(c(Q740752),P740,Q213681)
action filter_type
action find_reverse
entity Q24879
relation P740
type Q740752
[{'concept': 'Q740752'}, 'P740', 'Q213681']
SELECT DISTINCT ?b WHERE { ?b property:P740 resource:Q24879 . ?b rdf:type ontology:Q740752 }
Bremen
action filter_type
action find_reverse
entity Bremen
relation location of formation
type transport company
[{'concept': 'transport company'}, 'location of formation', 'Adolph Freiherr Knigge']
SELECT DISTINCT ?b WHERE { ?b property:location_of_formation resource:Bremen . ?b rdf:type ontology:transport_company }
[]
transport company
Q671267
SYSTEM
Kuehne + Nagel
Q671267
(c(Q740752),P740,Q213681)
action filter_type
action find_reverse
entity Q24879
relation P740
type Q740752
[ANSWER] was formed at that human settlement
[{'concept': 'Q740752'}, 'P740', 'Q213681']
SELECT DISTINCT ?b WHERE { ?b property:P740 resource:Q24879 . ?b rdf:type ontology:Q740752 }
Kuehne + Nagel
Kuehne + Nagel was formed at that human settlement
Kuehne + Nagel
action filter_type
action find_reverse
entity Bremen
relation location of formation
type transport company
[{'concept': 'transport company'}, 'location of formation', 'Adolph Freiherr Knigge']
SELECT DISTINCT ?b WHERE { ?b property:location_of_formation resource:Bremen . ?b rdf:type ontology:transport_company }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q671267 Q69654
P159
Q13220204
USER
Is Feusisberg the head office for that transport company located ?
(Q671267,P159,Q69654)
action is_in
entity Q69654
action find
entity Q671267
relation P159
['Q671267', 'P159', 'Q69654']
ASK WHERE { resource:Q671267 property:P159 resource:Q69654 }
Kuehne + Nagel Feusisberg
action is_in
entity Feusisberg
action find
entity Kuehne + Nagel
relation headquarters location
['Kuehne + Nagel', 'headquarters location', 'Feusisberg']
ASK WHERE { resource:Kuehne_+_Nagel property:headquarters_location resource:Feusisberg }
[]
second-level administrative country subdivision
SYSTEM
YES
(Q671267,P159,Q69654)
action is_in
entity Q69654
action find
entity Q671267
relation P159
[ANSWER]
['Q671267', 'P159', 'Q69654']
ASK WHERE { resource:Q671267 property:P159 resource:Q69654 }
Yes
action is_in
entity Feusisberg
action find
entity Kuehne + Nagel
relation headquarters location
['Kuehne + Nagel', 'headquarters location', 'Feusisberg']
ASK WHERE { resource:Kuehne_+_Nagel property:headquarters_location resource:Feusisberg }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q183 Q32 Q36376
P530
Q15617994
USER
Does Germany have diplomatic associations with Luxembourg and Montegranaro ?
(Q183,P530,Q32) (Q183,P530,Q36376)
action is_in
entity Q183
action intersection
action find_reverse
entity Q32
relation P530
action find_reverse
entity Q36376
relation P530
['Q183', 'P530', 'Q32'] ['Q183', 'P530', 'Q36376']
ASK WHERE { resource:Q183 property:P530 resource:Q36376 . resource:Q183 property:P530 resource:Q32 }
Germany Luxembourg Montegranaro
action is_in
entity Germany
action intersection
action find_reverse
entity Luxembourg
relation diplomatic relation
action find_reverse
entity Montegranaro
relation diplomatic relation
['Germany', 'diplomatic relation', 'Luxembourg'] ['Germany', 'diplomatic relation', 'Montegranaro']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Montegranaro . resource:Germany property:diplomatic_relation resource:Luxembourg }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q183,P530,Q32) (Q183,P530,Q36376)
action is_in
entity Q183
action intersection
action find_reverse
entity Q32
relation P530
action find_reverse
entity Q36376
relation P530
[ANSWER]
['Q183', 'P530', 'Q32'] ['Q183', 'P530', 'Q36376']
ASK WHERE { resource:Q183 property:P530 resource:Q36376 . resource:Q183 property:P530 resource:Q32 }
YES and NO respectively
action is_in
entity Germany
action intersection
action find_reverse
entity Luxembourg
relation diplomatic relation
action find_reverse
entity Montegranaro
relation diplomatic relation
['Germany', 'diplomatic relation', 'Luxembourg'] ['Germany', 'diplomatic relation', 'Montegranaro']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Montegranaro . resource:Germany property:diplomatic_relation resource:Luxembourg }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1144530
P355
Q740752 Q740752
USER
Which transport companies are more number of transport companies the subordinate of than Southwestern Railways ?
(c(Q740752),P355,c(Q740752))
action greater
action find_tuple_counts
relation P355
type Q740752
type Q740752
action count
action filter_type
action find
entity Q1144530
relation P355
type Q740752
[{'concept': 'Q740752'}, 'P355', {'concept': 'Q740752'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?a ) WHERE { ?v property:P355 ?j . ?v rdf:type ontology:Q740752 . ?j rdf:type ontology:Q740752 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { ?f rdf:type ontology:Q740752 . resource:Q1144530 property:P355 ?f } } . FILTER ( ?a > ?l ) }
Southwestern Railways
action greater
action find_tuple_counts
relation subsidiary
type transport company
type transport company
action count
action filter_type
action find
entity Southwestern Railways
relation subsidiary
type transport company
[{'concept': 'transport company'}, 'subsidiary', {'concept': 'transport company'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?a ) WHERE { ?v property:subsidiary ?j . ?v rdf:type ontology:transport_company . ?j rdf:type ontology:transport_company } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { ?f rdf:type ontology:transport_company . resource:Southwestern_Railways property:subsidiary ?f } } . FILTER ( ?a > ?l ) }
[]
transport company transport company
Q18853 Q9322 Q1188230
SYSTEM
DB Regio, Deutsche Bahn, Nankai Electric Railway
Q83584 Q923337 Q9322 Q18853 Q10547016 Q1188230 Q20855940 Q643578
(c(Q740752),P355,c(Q740752))
action greater
action find_tuple_counts
relation P355
type Q740752
type Q740752
action count
action filter_type
action find
entity Q1144530
relation P355
type Q740752
[ANSWERS] are more number of transport companies the subordinate of than Southwestern Railways
[{'concept': 'Q740752'}, 'P355', {'concept': 'Q740752'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?a ) WHERE { ?v property:P355 ?j . ?v rdf:type ontology:Q740752 . ?j rdf:type ontology:Q740752 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { ?f rdf:type ontology:Q740752 . resource:Q1144530 property:P355 ?f } } . FILTER ( ?a > ?l ) }
Odakyu Electric Railway Ukrainian Railways Deutsche Bahn DB Regio Koiviston Auto Nankai Electric Railway CrossRail AG Fraport
DB Regio, Deutsche Bahn and Nankai Electric Railway are more number of transport companies the subordinate of than Southwestern Railways
DB Regio Deutsche Bahn Nankai Electric Railway
action greater
action find_tuple_counts
relation subsidiary
type transport company
type transport company
action count
action filter_type
action find
entity Southwestern Railways
relation subsidiary
type transport company
[{'concept': 'transport company'}, 'subsidiary', {'concept': 'transport company'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?a ) WHERE { ?v property:subsidiary ?j . ?v rdf:type ontology:transport_company . ?j rdf:type ontology:transport_company } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { ?f rdf:type ontology:transport_company . resource:Southwestern_Railways property:subsidiary ?f } } . FILTER ( ?a > ?l ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q502125
P355
Q740752 Q740752
USER
And how about West Japan Railway Company?
(c(Q740752),P355,c(Q740752))
action greater
action find_tuple_counts
relation P355
type Q740752
type Q740752
action count
action filter_type
action find
entity Q502125
relation P355
type Q740752
[{'concept': 'Q740752'}, 'P355', {'concept': 'Q740752'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?a ) WHERE { ?q property:P355 ?h . ?q rdf:type ontology:Q740752 . ?h rdf:type ontology:Q740752 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { resource:Q502125 property:P355 ?m . ?m rdf:type ontology:Q740752 } } . FILTER ( ?a > ?l ) }
West Japan Railway Company
action greater
action find_tuple_counts
relation subsidiary
type transport company
type transport company
action count
action filter_type
action find
entity West Japan Railway Company
relation subsidiary
type transport company
[{'concept': 'transport company'}, 'subsidiary', {'concept': 'transport company'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?a ) WHERE { ?q property:subsidiary ?h . ?q rdf:type ontology:transport_company . ?h rdf:type ontology:transport_company } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { resource:West_Japan_Railway_Company property:subsidiary ?m . ?m rdf:type ontology:transport_company } } . FILTER ( ?a > ?l ) }
[]
transport company transport company
Q18853 Q9322 Q1188230
SYSTEM
DB Regio, Deutsche Bahn, Nankai Electric Railway
Q83584 Q923337 Q9322 Q18853 Q10547016 Q1188230 Q20855940 Q643578
(c(Q740752),P355,c(Q740752))
action greater
action find_tuple_counts
relation P355
type Q740752
type Q740752
action count
action filter_type
action find
entity Q502125
relation P355
type Q740752
[ANSWERS]
[{'concept': 'Q740752'}, 'P355', {'concept': 'Q740752'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?a ) WHERE { ?q property:P355 ?h . ?q rdf:type ontology:Q740752 . ?h rdf:type ontology:Q740752 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { resource:Q502125 property:P355 ?m . ?m rdf:type ontology:Q740752 } } . FILTER ( ?a > ?l ) }
Odakyu Electric Railway Ukrainian Railways Deutsche Bahn DB Regio Koiviston Auto Nankai Electric Railway CrossRail AG Fraport
DB Regio Deutsche Bahn Nankai Electric Railway
action greater
action find_tuple_counts
relation subsidiary
type transport company
type transport company
action count
action filter_type
action find
entity West Japan Railway Company
relation subsidiary
type transport company
[{'concept': 'transport company'}, 'subsidiary', {'concept': 'transport company'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?a ) WHERE { ?q property:subsidiary ?h . ?q rdf:type ontology:transport_company . ?h rdf:type ontology:transport_company } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { resource:West_Japan_Railway_Company property:subsidiary ?m . ?m rdf:type ontology:transport_company } } . FILTER ( ?a > ?l ) }
[]