Simple Question (Direct)
Simple Question
Q379593
P7
Q502895
USER
Which person is the brother of Jan Svatopluk Presl ?
(Q379593,P7,c(Q502895))
action filter_type
action find
entity Q379593
relation P7
type Q502895
['Q379593', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . resource:Q379593 property:P7 ?e }
Jan Svatopluk Presl
action filter_type
action find
entity Jan Svatopluk Presl
relation brother
type common name
['Jan Svatopluk Presl', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . resource:Jan_Svatopluk_Presl property:brother ?e }
[]
common name
Q379601
SYSTEM
Carl Borivoj Presl
Q379601
(Q379593,P7,c(Q502895))
action filter_type
action find
entity Q379593
relation P7
type Q502895
[ANSWER] is the brother of Jan Svatopluk Presl
['Q379593', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . resource:Q379593 property:P7 ?e }
Carl Borivoj Presl
Carl Borivoj Presl is the brother of Jan Svatopluk Presl
Carl Borivoj Presl
action filter_type
action find
entity Jan Svatopluk Presl
relation brother
type common name
['Jan Svatopluk Presl', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . resource:Jan_Svatopluk_Presl property:brother ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q379601
P1412
Q34770
USER
Which language can that person understand ?
(Q379601,P1412,c(Q34770))
action filter_type
action find
entity Q379601
relation P1412
type Q34770
['Q379601', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q379601 property:P1412 ?u . ?u rdf:type ontology:Q34770 }
Carl Borivoj Presl
action filter_type
action find
entity Carl Borivoj Presl
relation languages spoken, written or signed
type language
['Carl Borivoj Presl', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Carl_Borivoj_Presl property:languages_spoken,_written_or_signed ?u . ?u rdf:type ontology:language }
[]
language
Q397
SYSTEM
Latin
Q397
(Q379601,P1412,c(Q34770))
action filter_type
action find
entity Q379601
relation P1412
type Q34770
That person can understand from [ANSWER]
['Q379601', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q379601 property:P1412 ?u . ?u rdf:type ontology:Q34770 }
Latin
That person can understand from Latin
Latin
action filter_type
action find
entity Carl Borivoj Presl
relation languages spoken, written or signed
type language
['Carl Borivoj Presl', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Carl_Borivoj_Presl property:languages_spoken,_written_or_signed ?u . ?u rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q379601
P20
Q56061
USER
Where did that person die ?
(Q397,P20,c(Q56061))
action filter_type
action find
entity Q379601
relation P20
type Q56061
['Q397', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q379601 property:P20 ?l }
Carl Borivoj Presl
action filter_type
action find
entity Carl Borivoj Presl
relation place of death
type administrative territorial entity
['Latin', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Carl_Borivoj_Presl property:place_of_death ?l }
[]
administrative territorial entity
Q1085
SYSTEM
Prague
Q1085
(Q397,P20,c(Q56061))
action filter_type
action find
entity Q379601
relation P20
type Q56061
That person died in [ANSWER]
['Q397', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q379601 property:P20 ?l }
Prague
That person died in Prague
Prague
action filter_type
action find
entity Carl Borivoj Presl
relation place of death
type administrative territorial entity
['Latin', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Carl_Borivoj_Presl property:place_of_death ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1085
P559
Q83620
USER
Which thoroughfare has that administrative territory as its endpoint ?
(c(Q83620),P559,Q1085)
action filter_type
action find_reverse
entity Q1085
relation P559
type Q83620
[{'concept': 'Q83620'}, 'P559', 'Q1085']
SELECT DISTINCT ?e WHERE { ?e property:P559 resource:Q1085 . ?e rdf:type ontology:Q83620 }
Prague
action filter_type
action find_reverse
entity Prague
relation terminus
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus', 'Prague']
SELECT DISTINCT ?e WHERE { ?e property:terminus resource:Prague . ?e rdf:type ontology:thoroughfare }
[]
thoroughfare
Q3508646
SYSTEM
I/2 road
Q3508646
(c(Q83620),P559,Q1085)
action filter_type
action find_reverse
entity Q1085
relation P559
type Q83620
[ANSWER] has that administrative territory as its endpoint
[{'concept': 'Q83620'}, 'P559', 'Q1085']
SELECT DISTINCT ?e WHERE { ?e property:P559 resource:Q1085 . ?e rdf:type ontology:Q83620 }
I/2 road
I/2 road has that administrative territory as its endpoint
I/2 road
action filter_type
action find_reverse
entity Prague
relation terminus
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus', 'Prague']
SELECT DISTINCT ?e WHERE { ?e property:terminus resource:Prague . ?e rdf:type ontology:thoroughfare }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1085
P127
Q83620
USER
Which thoroughfares are under posessision of that administrative territory ?
(c(Q83620),P127,Q3508646)
action filter_type
action find_reverse
entity Q1085
relation P127
type Q83620
[{'concept': 'Q83620'}, 'P127', 'Q3508646']
SELECT DISTINCT ?e WHERE { ?e property:P127 resource:Q1085 . ?e rdf:type ontology:Q83620 }
Prague
action filter_type
action find_reverse
entity Prague
relation owned by
type thoroughfare
[{'concept': 'thoroughfare'}, 'owned by', 'I/2 road']
SELECT DISTINCT ?e WHERE { ?e property:owned_by resource:Prague . ?e rdf:type ontology:thoroughfare }
[]
thoroughfare
Q10616425 Q16164520
SYSTEM
II/102 road, II/115 road
Q10616425 Q16164520
(c(Q83620),P127,Q3508646)
action filter_type
action find_reverse
entity Q1085
relation P127
type Q83620
[ANSWERS] are under posessision of that administrative territory
[{'concept': 'Q83620'}, 'P127', 'Q3508646']
SELECT DISTINCT ?e WHERE { ?e property:P127 resource:Q1085 . ?e rdf:type ontology:Q83620 }
II/102 road II/115 road
II/102 road and II/115 road are under posessision of that administrative territory
II/102 road II/115 road
action filter_type
action find_reverse
entity Prague
relation owned by
type thoroughfare
[{'concept': 'thoroughfare'}, 'owned by', 'I/2 road']
SELECT DISTINCT ?e WHERE { ?e property:owned_by resource:Prague . ?e rdf:type ontology:thoroughfare }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1243526
P669
Q83620 Q4989906
USER
How many monuments have their location as approximately the same number of thoroughfares as Porte Mars ?
(c(Q4989906),P669,c(Q83620))
action count
action approx
action find_tuple_counts
relation P669
type Q4989906
type Q83620
action count
action filter_type
action find
entity Q1243526
relation P669
type Q4989906
[{'concept': 'Q4989906'}, 'P669', {'concept': 'Q83620'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?q ) WHERE { ?k property:P669 ?c . ?k rdf:type ontology:Q4989906 . ?c rdf:type ontology:Q83620 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { resource:Q1243526 property:P669 ?y . ?y rdf:type ontology:Q4989906 } } . FILTER ( ?q = ?o ) }
Porte Mars
action count
action approx
action find_tuple_counts
relation located on street
type monument
type thoroughfare
action count
action filter_type
action find
entity Porte Mars
relation located on street
type monument
[{'concept': 'monument'}, 'located on street', {'concept': 'thoroughfare'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?q ) WHERE { ?k property:located_on_street ?c . ?k rdf:type ontology:monument . ?c rdf:type ontology:thoroughfare } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { resource:Porte_Mars property:located_on_street ?y . ?y rdf:type ontology:monument } } . FILTER ( ?q = ?o ) }
[]
thoroughfare monument
SYSTEM
23
Q950217 Q3323309 Q23640002 Q99218 Q1243526 Q17745970 Q19857931 Q23639904 Q17745972 Q2896743 Q986377 Q1503331 Q684594 Q19826640 Q20086526 Q64436 Q23459601 Q2550491 Q4398562 Q17745968 Q3411287 Q17745966 Q15106714
(c(Q4989906),P669,c(Q83620))
action count
action approx
action find_tuple_counts
relation P669
type Q4989906
type Q83620
action count
action filter_type
action find
entity Q1243526
relation P669
type Q4989906
[ANSWER]
[{'concept': 'Q4989906'}, 'P669', {'concept': 'Q83620'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?q ) WHERE { ?k property:P669 ?c . ?k rdf:type ontology:Q4989906 . ?c rdf:type ontology:Q83620 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { resource:Q1243526 property:P669 ?y . ?y rdf:type ontology:Q4989906 } } . FILTER ( ?q = ?o ) }
Porte Saint-Martin Monument to the Dead of Père Lachaise 1870 War Memorial porte Noire Porte Mars monument aux Indochinois chrétiens morts pour la France Holy Trinity column Monument to the Fighters in the Tunisian Campaign monument aux soldats noirs morts pour la France The Cenotaph The Cenotaph Luxor Obelisk Porte Saint-Denis méridienne de Manchecourt Löwendenkmal (Bad Honnef) Arc de Triomphe Paris 15th arrondissement War Memorial Washington Square Arch De Naald monument aux Cambodgiens et Laotiens morts pour la France pyramid of bois de Vincennes monument au souvenir des soldats de Madagascar arc Héré
23
action count
action approx
action find_tuple_counts
relation located on street
type monument
type thoroughfare
action count
action filter_type
action find
entity Porte Mars
relation located on street
type monument
[{'concept': 'monument'}, 'located on street', {'concept': 'thoroughfare'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?q ) WHERE { ?k property:located_on_street ?c . ?k rdf:type ontology:monument . ?c rdf:type ontology:thoroughfare } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { resource:Porte_Mars property:located_on_street ?y . ?y rdf:type ontology:monument } } . FILTER ( ?q = ?o ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q7374415
P669
Q83620 Q4989906
USER
And also tell me about Royal Fusiliers War Memorial?
(c(Q4989906),P669,c(Q83620))
action count
action approx
action find_tuple_counts
relation P669
type Q4989906
type Q83620
action count
action filter_type
action find
entity Q7374415
relation P669
type Q4989906
[{'concept': 'Q4989906'}, 'P669', {'concept': 'Q83620'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?t ) WHERE { ?s property:P669 ?k . ?k rdf:type ontology:Q83620 . ?s rdf:type ontology:Q4989906 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { resource:Q7374415 property:P669 ?l . ?l rdf:type ontology:Q4989906 } } . FILTER ( ?t = ?g ) }
Royal Fusiliers War Memorial
action count
action approx
action find_tuple_counts
relation located on street
type monument
type thoroughfare
action count
action filter_type
action find
entity Royal Fusiliers War Memorial
relation located on street
type monument
[{'concept': 'monument'}, 'located on street', {'concept': 'thoroughfare'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?t ) WHERE { ?s property:located_on_street ?k . ?k rdf:type ontology:thoroughfare . ?s rdf:type ontology:monument } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { resource:Royal_Fusiliers_War_Memorial property:located_on_street ?l . ?l rdf:type ontology:monument } } . FILTER ( ?t = ?g ) }
[]
thoroughfare monument
SYSTEM
6
Q26516070 Q3333162 Q631104 Q23646694 Q18121475 Q7374415
(c(Q4989906),P669,c(Q83620))
action count
action approx
action find_tuple_counts
relation P669
type Q4989906
type Q83620
action count
action filter_type
action find
entity Q7374415
relation P669
type Q4989906
[ANSWER]
[{'concept': 'Q4989906'}, 'P669', {'concept': 'Q83620'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?t ) WHERE { ?s property:P669 ?k . ?k rdf:type ontology:Q83620 . ?s rdf:type ontology:Q4989906 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { resource:Q7374415 property:P669 ?l . ?l rdf:type ontology:Q4989906 } } . FILTER ( ?t = ?g ) }
War Memorial Mémorial des Martyrs de la Déportation arc de triomphe du Carrousel Southwark War Memorial Royal Marines Memorial Royal Fusiliers War Memorial
6
action count
action approx
action find_tuple_counts
relation located on street
type monument
type thoroughfare
action count
action filter_type
action find
entity Royal Fusiliers War Memorial
relation located on street
type monument
[{'concept': 'monument'}, 'located on street', {'concept': 'thoroughfare'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?t ) WHERE { ?s property:located_on_street ?k . ?k rdf:type ontology:thoroughfare . ?s rdf:type ontology:monument } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { resource:Royal_Fusiliers_War_Memorial property:located_on_street ?l . ?l rdf:type ontology:monument } } . FILTER ( ?t = ?g ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q379593
P119
Q43229
USER
Which organization is the place of burial of Jan Svatopluk Presl ?
(Q379593,P119,c(Q43229))
action filter_type
action find
entity Q379593
relation P119
type Q43229
['Q379593', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?d WHERE { resource:Q379593 property:P119 ?d . ?d rdf:type ontology:Q43229 }
Jan Svatopluk Presl
action filter_type
action find
entity Jan Svatopluk Presl
relation place of burial
type organization
['Jan Svatopluk Presl', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?d WHERE { resource:Jan_Svatopluk_Presl property:place_of_burial ?d . ?d rdf:type ontology:organization }
[]
organization
Q118967
SYSTEM
Vyšehrad cemetery
Q118967
(Q379593,P119,c(Q43229))
action filter_type
action find
entity Q379593
relation P119
type Q43229
[ANSWER] is the place of burial of Jan Svatopluk Presl
['Q379593', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?d WHERE { resource:Q379593 property:P119 ?d . ?d rdf:type ontology:Q43229 }
Vyšehrad cemetery
Vyšehrad cemetery is the place of burial of Jan Svatopluk Presl
Vyšehrad cemetery
action filter_type
action find
entity Jan Svatopluk Presl
relation place of burial
type organization
['Jan Svatopluk Presl', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?d WHERE { resource:Jan_Svatopluk_Presl property:place_of_burial ?d . ?d rdf:type ontology:organization }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q18113594
P137
Q43229 Q2424752
USER
How many products are the administrator of more number of organizations than Y1B-17 Flying Fortress ?
(c(Q2424752),P137,c(Q43229))
action count
action greater
action find_tuple_counts
relation P137
type Q2424752
type Q43229
action count
action filter_type
action find
entity Q18113594
relation P137
type Q2424752
[{'concept': 'Q2424752'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?e ) WHERE { ?d property:P137 ?s . ?d rdf:type ontology:Q2424752 . ?s rdf:type ontology:Q43229 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { ?a rdf:type ontology:Q2424752 . resource:Q18113594 property:P137 ?a } } . FILTER ( ?e > ?k ) }
Y1B-17 Flying Fortress
action count
action greater
action find_tuple_counts
relation operator
type product
type organization
action count
action filter_type
action find
entity Y1B-17 Flying Fortress
relation operator
type product
[{'concept': 'product'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?e ) WHERE { ?d property:operator ?s . ?d rdf:type ontology:product . ?s rdf:type ontology:organization } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { ?a rdf:type ontology:product . resource:Y1B-17_Flying_Fortress property:operator ?a } } . FILTER ( ?e > ?k ) }
[]
organization product
SYSTEM
2
Q21234191 Q15129020
(c(Q2424752),P137,c(Q43229))
action count
action greater
action find_tuple_counts
relation P137
type Q2424752
type Q43229
action count
action filter_type
action find
entity Q18113594
relation P137
type Q2424752
[ANSWER]
[{'concept': 'Q2424752'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?e ) WHERE { ?d property:P137 ?s . ?d rdf:type ontology:Q2424752 . ?s rdf:type ontology:Q43229 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { ?a rdf:type ontology:Q2424752 . resource:Q18113594 property:P137 ?a } } . FILTER ( ?e > ?k ) }
NuDat Vickers Vimy Commercial
2
action count
action greater
action find_tuple_counts
relation operator
type product
type organization
action count
action filter_type
action find
entity Y1B-17 Flying Fortress
relation operator
type product
[{'concept': 'product'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?e ) WHERE { ?d property:operator ?s . ?d rdf:type ontology:product . ?s rdf:type ontology:organization } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { ?a rdf:type ontology:product . resource:Y1B-17_Flying_Fortress property:operator ?a } } . FILTER ( ?e > ?k ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q15618480
P137
Q43229 Q2424752
USER
And what about Beechcraft UC-12B?
(c(Q2424752),P137,c(Q43229))
action count
action greater
action find_tuple_counts
relation P137
type Q2424752
type Q43229
action count
action filter_type
action find
entity Q15618480
relation P137
type Q2424752
[{'concept': 'Q2424752'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?f ) WHERE { ?g property:P137 ?m . ?g rdf:type ontology:Q2424752 . ?m rdf:type ontology:Q43229 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { resource:Q15618480 property:P137 ?h . ?h rdf:type ontology:Q2424752 } } . FILTER ( ?f > ?y ) }
Beechcraft UC-12B
action count
action greater
action find_tuple_counts
relation operator
type product
type organization
action count
action filter_type
action find
entity Beechcraft UC-12B
relation operator
type product
[{'concept': 'product'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?f ) WHERE { ?g property:operator ?m . ?g rdf:type ontology:product . ?m rdf:type ontology:organization } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { resource:Beechcraft_UC-12B property:operator ?h . ?h rdf:type ontology:product } } . FILTER ( ?f > ?y ) }
[]
organization product
SYSTEM
2
Q21234191 Q15129020
(c(Q2424752),P137,c(Q43229))
action count
action greater
action find_tuple_counts
relation P137
type Q2424752
type Q43229
action count
action filter_type
action find
entity Q15618480
relation P137
type Q2424752
[ANSWER]
[{'concept': 'Q2424752'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?f ) WHERE { ?g property:P137 ?m . ?g rdf:type ontology:Q2424752 . ?m rdf:type ontology:Q43229 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { resource:Q15618480 property:P137 ?h . ?h rdf:type ontology:Q2424752 } } . FILTER ( ?f > ?y ) }
NuDat Vickers Vimy Commercial
2
action count
action greater
action find_tuple_counts
relation operator
type product
type organization
action count
action filter_type
action find
entity Beechcraft UC-12B
relation operator
type product
[{'concept': 'product'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?f ) WHERE { ?g property:operator ?m . ?g rdf:type ontology:product . ?m rdf:type ontology:organization } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { resource:Beechcraft_UC-12B property:operator ?h . ?h rdf:type ontology:product } } . FILTER ( ?f > ?y ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q10616425
P127
Q1048835 Q56061
USER
How many political territories or administrative territories owned II/102 road ?
(Q10616425,P127,c(Q1048835)) (Q10616425,P127,c(Q56061))
action count
action union
action filter_type
action find
entity Q10616425
relation P127
type Q1048835
action filter_type
action find
entity Q10616425
relation P127
type Q56061
['Q10616425', 'P127', {'concept': 'Q1048835'}] ['Q10616425', 'P127', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { ?o rdf:type ontology:Q56061 . resource:Q10616425 property:P127 ?o } UNION { ?o rdf:type ontology:Q1048835 . resource:Q10616425 property:P127 ?o } }
II/102 road
action count
action union
action filter_type
action find
entity II/102 road
relation owned by
type political territorial entity
action filter_type
action find
entity II/102 road
relation owned by
type administrative territorial entity
['II/102 road', 'owned by', {'concept': 'political territorial entity'}] ['II/102 road', 'owned by', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { ?o rdf:type ontology:administrative_territorial_entity . resource:II/102_road property:owned_by ?o } UNION { ?o rdf:type ontology:political_territorial_entity . resource:II/102_road property:owned_by ?o } }
[]
political territorial entity administrative territorial entity
SYSTEM
3
Q188373 Q188399 Q1085
(Q10616425,P127,c(Q1048835)) (Q10616425,P127,c(Q56061))
action count
action union
action filter_type
action find
entity Q10616425
relation P127
type Q1048835
action filter_type
action find
entity Q10616425
relation P127
type Q56061
[ANSWER]
['Q10616425', 'P127', {'concept': 'Q1048835'}] ['Q10616425', 'P127', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { ?o rdf:type ontology:Q56061 . resource:Q10616425 property:P127 ?o } UNION { ?o rdf:type ontology:Q1048835 . resource:Q10616425 property:P127 ?o } }
South Bohemia Region Central Bohemian Region Prague
3
action count
action union
action filter_type
action find
entity II/102 road
relation owned by
type political territorial entity
action filter_type
action find
entity II/102 road
relation owned by
type administrative territorial entity
['II/102 road', 'owned by', {'concept': 'political territorial entity'}] ['II/102 road', 'owned by', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { ?o rdf:type ontology:administrative_territorial_entity . resource:II/102_road property:owned_by ?o } UNION { ?o rdf:type ontology:political_territorial_entity . resource:II/102_road property:owned_by ?o } }
[]