Simple Question (Direct)
Simple Question
Q8014281
P607
Q198
USER
What battle was William Lancelot Jordan a part of ?
(Q8014281,P607,c(Q198))
action filter_type
action find
entity Q8014281
relation P607
type Q198
['Q8014281', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?t WHERE { resource:Q8014281 property:P607 ?t . ?t rdf:type ontology:Q198 }
William Lancelot Jordan
action filter_type
action find
entity William Lancelot Jordan
relation conflict
type war
['William Lancelot Jordan', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?t WHERE { resource:William_Lancelot_Jordan property:conflict ?t . ?t rdf:type ontology:war }
[]
war
Q361
SYSTEM
World War I
Q361
(Q8014281,P607,c(Q198))
action filter_type
action find
entity Q8014281
relation P607
type Q198
[ANSWER] was William Lancelot Jordan a part of
['Q8014281', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?t WHERE { resource:Q8014281 property:P607 ?t . ?t rdf:type ontology:Q198 }
World War I
World War I was William Lancelot Jordan a part of
World War I
action filter_type
action find
entity William Lancelot Jordan
relation conflict
type war
['William Lancelot Jordan', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?t WHERE { resource:William_Lancelot_Jordan property:conflict ?t . ?t rdf:type ontology:war }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8014281
P166
Q618779
USER
What was received by William Lancelot Jordan ?
(Q8014281,P166,c(Q618779))
action filter_type
action find
entity Q8014281
relation P166
type Q618779
['Q8014281', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q618779 . resource:Q8014281 property:P166 ?s }
William Lancelot Jordan
action filter_type
action find
entity William Lancelot Jordan
relation award received
type award
['William Lancelot Jordan', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:award . resource:William_Lancelot_Jordan property:award_received ?s }
[]
award
Q1229534
SYSTEM
Distinguished Flying Cross
Q1229534
(Q8014281,P166,c(Q618779))
action filter_type
action find
entity Q8014281
relation P166
type Q618779
Sword [ANSWER] was received by William Lancelot Jordan
['Q8014281', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q618779 . resource:Q8014281 property:P166 ?s }
Distinguished Flying Cross
Sword Distinguished Flying Cross was received by William Lancelot Jordan
Distinguished Flying Cross
action filter_type
action find
entity William Lancelot Jordan
relation award received
type award
['William Lancelot Jordan', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:award . resource:William_Lancelot_Jordan property:award_received ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8014281
P19
Q56061
USER
Where was that person born ?
(Q1229534,P19,c(Q56061))
action filter_type
action find
entity Q8014281
relation P19
type Q56061
['Q1229534', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q8014281 property:P19 ?k . ?k rdf:type ontology:Q56061 }
William Lancelot Jordan
action filter_type
action find
entity William Lancelot Jordan
relation place of birth
type administrative territorial entity
['Distinguished Flying Cross', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:William_Lancelot_Jordan property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q370456
SYSTEM
George
Q370456
(Q1229534,P19,c(Q56061))
action filter_type
action find
entity Q8014281
relation P19
type Q56061
That person was born to [ANSWER]
['Q1229534', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q8014281 property:P19 ?k . ?k rdf:type ontology:Q56061 }
George
That person was born to George
George
action filter_type
action find
entity William Lancelot Jordan
relation place of birth
type administrative territorial entity
['Distinguished Flying Cross', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:William_Lancelot_Jordan property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q361
P361
Q1190554 Q645883
USER
How many events and military operations are parts of World War I ?
(c(Q1190554),P361,Q361) (c(Q645883),P361,Q361)
action count
action union
action filter_type
action find_reverse
entity Q361
relation P361
type Q1190554
action filter_type
action find_reverse
entity Q361
relation P361
type Q645883
[{'concept': 'Q1190554'}, 'P361', 'Q361'] [{'concept': 'Q645883'}, 'P361', 'Q361']
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { { ?l rdf:type ontology:Q1190554 . ?l property:P361 resource:Q361 } UNION { ?l property:P361 resource:Q361 . ?l rdf:type ontology:Q645883 } }
World War I
action count
action union
action filter_type
action find_reverse
entity World War I
relation part of
type event
action filter_type
action find_reverse
entity World War I
relation part of
type military operation
[{'concept': 'event'}, 'part of', 'World War I'] [{'concept': 'military operation'}, 'part of', 'World War I']
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { { ?l rdf:type ontology:event . ?l property:part_of resource:World_War_I } UNION { ?l property:part_of resource:World_War_I . ?l rdf:type ontology:military_operation } }
[]
event military operation
SYSTEM
79 events and 2 military operations
Q2585904 Q692089 Q2632850 Q153858 Q2451530 Q2026080 Q1497886 Q789406 Q2221265 Q2467678 Q1378270 Q2053030 Q1345169 Q2011177 Q2316150 Q199371 Q250652 Q662947 Q1172504 Q617781 Q651391 Q524208 Q660655 Q242644 Q2888608 Q543048 Q393299 Q689490 Q1998995 Q2568851 Q615324 Q697941 Q2890781 Q250383 Q1474180 Q233379 Q4872224 Q2455332 Q3467730 Q541958 Q2981856 Q2633083 Q783792 Q523154 Q1765465 Q3636540 Q2890043 Q1174179 Q2889191 Q659745 Q28205 Q2888212 Q523742 Q682699 Q2337604 Q920202 Q1230997 Q4871746 Q1989784 Q9173479 Q2889700 Q2890623 Q4871340 Q40144 Q762732 Q659246 Q27653685 Q506916 Q4872528 Q1096151 Q662961 Q778454 Q701677 Q1989637 Q590195 Q512700 Q684872 Q2889895 Q2633421 Q704921 Q989075
(c(Q1190554),P361,Q361) (c(Q645883),P361,Q361)
action count
action union
action filter_type
action find_reverse
entity Q361
relation P361
type Q1190554
action filter_type
action find_reverse
entity Q361
relation P361
type Q645883
[ANSWER]
[{'concept': 'Q1190554'}, 'P361', 'Q361'] [{'concept': 'Q645883'}, 'P361', 'Q361']
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { { ?l rdf:type ontology:Q1190554 . ?l property:P361 resource:Q361 } UNION { ?l property:P361 resource:Q361 . ?l rdf:type ontology:Q645883 } }
Battle of Cambrai Battle of Drina Battle of Bitlis Battle of Tannenberg Battle of Mojkovac Operation Faustschlag Battle of San Matteo Balkans Campaign Battle of Cantigny Battle of Bolimów Battle of Jerusalem Battle of Givenchy Battle of the Sambre Battle of Kostiuchnówka First Battle of the Atlantic Battle of Megiddo Battle of Sarikamish Battle of the Piave River Battle of Château-Thierry Second Battle of Heligoland Bight Battle of Karakilisa Erzurum Offensive First Battle of the Masurian Lakes Battle of Caporetto Battle of Gibeon Bombardment of Ancona Battle of Vimy Ridge Battle of Sandfontein Battle of Thiepval Ridge Battle of Baku First Battle of the Isonzo Battle of Åland Islands Battle of Hamel Action at Néry Battle of Belleau Wood Second Battle of Krithia Battle of Río de Oro Battle of Ginchy Battle of Rafa Battle of Mulhouse Battle of Cocos Battle of Transylvania Battle of St. Quentin Canal Caucasus Campaign Middle Eastern theatre of World War I Battle of Morval Battle of Skra-di-Legen Battle of Jassin Battle of Magdhaba Italian Front Battle of the Vistula River Battle of Bukoba Bombardment of Pape'ete Battle of Kolubara Battle of Hill 70 Battle of Doiran First Battle of Krithia Battle of Mlali Battle of Moreuil Wood Battle of Rafajlowa Battle of Pozières Battle of the Trouée de Charmes Battle of Jisr Benat Yakub Battle of Coronel Battle of Sardarabad Battle of Galicia War in the Black Sea Battle of Dobro Pole Battle of Tell 'Asur Battle of Delville Wood Battle of Vittorio Veneto Battle of Mount Ortigara Battle of Limanowa Battle of Festubert Battle of Ngomano Togoland Campaign Second Battle of the Masurian Lakes Battle of Salaita Hill Gas attack at Hulluch Battle of Tanga Battle of Arras
79 events and 2 military operations
action count
action union
action filter_type
action find_reverse
entity World War I
relation part of
type event
action filter_type
action find_reverse
entity World War I
relation part of
type military operation
[{'concept': 'event'}, 'part of', 'World War I'] [{'concept': 'military operation'}, 'part of', 'World War I']
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { { ?l rdf:type ontology:event . ?l property:part_of resource:World_War_I } UNION { ?l property:part_of resource:World_War_I . ?l rdf:type ontology:military_operation } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P138
Q15619164 Q22988604 Q56061
USER
Which administrative territories are named after max number of abstract beings or mythological Greek characters ?
(c(Q56061),P138,c(Q15619164)|c(Q22988604))
action argmax
action union
action find_tuple_counts
relation P138
type Q56061
type Q15619164
action find_tuple_counts
relation P138
type Q56061
type Q22988604
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q15619164'}, {'concept': 'Q22988604'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) ?x WHERE { { ?x property:P138 ?k . ?k rdf:type ontology:Q15619164 . ?x rdf:type ontology:Q56061 } UNION { ?x property:P138 ?k . ?x rdf:type ontology:Q56061 . ?k rdf:type ontology:Q22988604 } } GROUP BY ?x } } . FILTER ( ?z = ?v ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) ?n WHERE { VALUES ( ?h ) { ( ontology:Q15619164 ) ( ontology:Q22988604 ) } . ?f rdf:type ?h } GROUP BY ?n } }
action argmax
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type abstract being
action find_tuple_counts
relation named after
type administrative territorial entity
type mythological Greek character
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'abstract being'}, {'concept': 'mythological Greek character'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) ?x WHERE { { ?x property:named_after ?k . ?k rdf:type ontology:abstract_being . ?x rdf:type ontology:administrative_territorial_entity } UNION { ?x property:named_after ?k . ?x rdf:type ontology:administrative_territorial_entity . ?k rdf:type ontology:mythological_Greek_character } } GROUP BY ?x } } . FILTER ( ?z = ?v ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) ?n WHERE { VALUES ( ?h ) { ( ontology:abstract_being ) ( ontology:mythological_Greek_character ) } . ?f rdf:type ?h } GROUP BY ?n } }
[]
abstract being mythological Greek character administrative territorial entity
Q13652348 Q133123
SYSTEM
Nebo, Patras
Q13652348 Q133123
(c(Q56061),P138,c(Q15619164)|c(Q22988604))
action argmax
action union
action find_tuple_counts
relation P138
type Q56061
type Q15619164
action find_tuple_counts
relation P138
type Q56061
type Q22988604
[ANSWERS] are named after max number of abstract beings or mythological Greek characters
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q15619164'}, {'concept': 'Q22988604'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) ?x WHERE { { ?x property:P138 ?k . ?k rdf:type ontology:Q15619164 . ?x rdf:type ontology:Q56061 } UNION { ?x property:P138 ?k . ?x rdf:type ontology:Q56061 . ?k rdf:type ontology:Q22988604 } } GROUP BY ?x } } . FILTER ( ?z = ?v ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) ?n WHERE { VALUES ( ?h ) { ( ontology:Q15619164 ) ( ontology:Q22988604 ) } . ?f rdf:type ?h } GROUP BY ?n } }
Nebo Patras
Nebo and Patras are named after max number of abstract beings or mythological Greek characters
Nebo Patras
action argmax
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type abstract being
action find_tuple_counts
relation named after
type administrative territorial entity
type mythological Greek character
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'abstract being'}, {'concept': 'mythological Greek character'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) ?x WHERE { { ?x property:named_after ?k . ?k rdf:type ontology:abstract_being . ?x rdf:type ontology:administrative_territorial_entity } UNION { ?x property:named_after ?k . ?x rdf:type ontology:administrative_territorial_entity . ?k rdf:type ontology:mythological_Greek_character } } GROUP BY ?x } } . FILTER ( ?z = ?v ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) ?n WHERE { VALUES ( ?h ) { ( ontology:abstract_being ) ( ontology:mythological_Greek_character ) } . ?f rdf:type ?h } GROUP BY ?n } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P159
Q1002697 Q43229
USER
How many periodical literatures and organizations have HQ at that administrative territory ?
(c(Q1002697),P159,Q133123) (c(Q43229),P159,Q133123) (c(Q1002697),P159,Q13652348) (c(Q43229),P159,Q13652348) (c(Q1002697),P159,Q133123) (c(Q43229),P159,Q133123)
[{'concept': 'Q1002697'}, 'P159', 'Q133123'] [{'concept': 'Q43229'}, 'P159', 'Q133123'] [{'concept': 'Q1002697'}, 'P159', 'Q13652348'] [{'concept': 'Q43229'}, 'P159', 'Q13652348'] [{'concept': 'Q1002697'}, 'P159', 'Q133123'] [{'concept': 'Q43229'}, 'P159', 'Q133123']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P159 resource:Q2317856 } UNION { ?y property:P159 resource:Q2317856 } UNION { ?z property:P159 resource:Q2414600 } UNION { ?y property:P159 resource:Q2414600 } UNION { ?z property:P159 resource:Q2317856 } UNION { ?y property:P159 resource:Q2317856 } } . ?z rdf:type ontology:Q1002697 . ?y rdf:type ontology:Q43229 }
[{'concept': 'periodical literature'}, 'headquarters location', 'Patras'] [{'concept': 'organization'}, 'headquarters location', 'Patras'] [{'concept': 'periodical literature'}, 'headquarters location', 'Nebo'] [{'concept': 'organization'}, 'headquarters location', 'Nebo'] [{'concept': 'periodical literature'}, 'headquarters location', 'Patras'] [{'concept': 'organization'}, 'headquarters location', 'Patras']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:headquarters_location resource:Patras } UNION { ?y property:headquarters_location resource:Patras } UNION { ?z property:headquarters_location resource:Nebo } UNION { ?y property:headquarters_location resource:Nebo } UNION { ?z property:headquarters_location resource:Patras } UNION { ?y property:headquarters_location resource:Patras } } . ?z rdf:type ontology:periodical_literature . ?y rdf:type ontology:organization }
[]
periodical literature organization
Quantitative|Count|Mult. entity type|Clarification
Q133123
SYSTEM
Did you mean Patras ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P159 resource:Q2317856 } UNION { ?y property:P159 resource:Q2317856 } UNION { ?z property:P159 resource:Q2414600 } UNION { ?y property:P159 resource:Q2414600 } UNION { ?z property:P159 resource:Q2317856 } UNION { ?y property:P159 resource:Q2317856 } } . ?z rdf:type ontology:Q1002697 . ?y rdf:type ontology:Q43229 }
Did you mean Patras ?
Patras
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:headquarters_location resource:Patras } UNION { ?y property:headquarters_location resource:Patras } UNION { ?z property:headquarters_location resource:Nebo } UNION { ?y property:headquarters_location resource:Nebo } UNION { ?z property:headquarters_location resource:Patras } UNION { ?y property:headquarters_location resource:Patras } } . ?z rdf:type ontology:periodical_literature . ?y rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q1002697),P159,Q133123) (c(Q43229),P159,Q133123) (c(Q1002697),P159,Q13652348) (c(Q43229),P159,Q13652348) (c(Q1002697),P159,Q133123) (c(Q43229),P159,Q133123)
[{'concept': 'Q1002697'}, 'P159', 'Q133123'] [{'concept': 'Q43229'}, 'P159', 'Q133123'] [{'concept': 'Q1002697'}, 'P159', 'Q13652348'] [{'concept': 'Q43229'}, 'P159', 'Q13652348'] [{'concept': 'Q1002697'}, 'P159', 'Q133123'] [{'concept': 'Q43229'}, 'P159', 'Q133123']
[{'concept': 'periodical literature'}, 'headquarters location', 'Patras'] [{'concept': 'organization'}, 'headquarters location', 'Patras'] [{'concept': 'periodical literature'}, 'headquarters location', 'Nebo'] [{'concept': 'organization'}, 'headquarters location', 'Nebo'] [{'concept': 'periodical literature'}, 'headquarters location', 'Patras'] [{'concept': 'organization'}, 'headquarters location', 'Patras']
[]
SYSTEM
1 periodical literatures and 3 organizations
Q7695750 Q490827 Q6506814 Q1518338
(c(Q1002697),P159,Q133123) (c(Q43229),P159,Q133123) (c(Q1002697),P159,Q13652348) (c(Q43229),P159,Q13652348) (c(Q1002697),P159,Q133123) (c(Q43229),P159,Q133123)
[ANSWER]
[{'concept': 'Q1002697'}, 'P159', 'Q133123'] [{'concept': 'Q43229'}, 'P159', 'Q133123'] [{'concept': 'Q1002697'}, 'P159', 'Q13652348'] [{'concept': 'Q43229'}, 'P159', 'Q13652348'] [{'concept': 'Q1002697'}, 'P159', 'Q133123'] [{'concept': 'Q43229'}, 'P159', 'Q133123']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P159 resource:Q2317856 } UNION { ?y property:P159 resource:Q2317856 } UNION { ?z property:P159 resource:Q2414600 } UNION { ?y property:P159 resource:Q2414600 } UNION { ?z property:P159 resource:Q2317856 } UNION { ?y property:P159 resource:Q2317856 } } . ?z rdf:type ontology:Q1002697 . ?y rdf:type ontology:Q43229 }
Tele Time Achaia Channel Le Courrier d'Orient Ideal Bikes
1 periodical literatures and 3 organizations
[{'concept': 'periodical literature'}, 'headquarters location', 'Patras'] [{'concept': 'organization'}, 'headquarters location', 'Patras'] [{'concept': 'periodical literature'}, 'headquarters location', 'Nebo'] [{'concept': 'organization'}, 'headquarters location', 'Nebo'] [{'concept': 'periodical literature'}, 'headquarters location', 'Patras'] [{'concept': 'organization'}, 'headquarters location', 'Patras']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:headquarters_location resource:Patras } UNION { ?y property:headquarters_location resource:Patras } UNION { ?z property:headquarters_location resource:Nebo } UNION { ?y property:headquarters_location resource:Nebo } UNION { ?z property:headquarters_location resource:Patras } UNION { ?y property:headquarters_location resource:Patras } } . ?z rdf:type ontology:periodical_literature . ?y rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q133123
P190
Q13220204 Q56061
USER
How many administrative country subdivisions and administrative territories are twin cities of Patras ?
(Q133123,P190,c(Q13220204)) (Q133123,P190,c(Q56061))
action count
action union
action filter_type
action find
entity Q133123
relation P190
type Q13220204
action filter_type
action find
entity Q133123
relation P190
type Q56061
['Q133123', 'P190', {'concept': 'Q13220204'}] ['Q133123', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { { resource:Q133123 property:P190 ?e . ?e rdf:type ontology:Q13220204 } UNION { ?e rdf:type ontology:Q56061 . resource:Q133123 property:P190 ?e } }
Patras
action count
action union
action filter_type
action find
entity Patras
relation sister city
type second-level administrative country subdivision
action filter_type
action find
entity Patras
relation sister city
type administrative territorial entity
['Patras', 'sister city', {'concept': 'second-level administrative country subdivision'}] ['Patras', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { { resource:Patras property:sister_city ?e . ?e rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?e rdf:type ontology:administrative_territorial_entity . resource:Patras property:sister_city ?e } }
[]
second-level administrative country subdivision administrative territorial entity
SYSTEM
1 administrative country subdivisions and 11 administrative territories
Q966804 Q83813 Q173532 Q8471 Q193190 Q79880 Q185632 Q21197 Q3519 Q3415 Q13496 Q7550
(Q133123,P190,c(Q13220204)) (Q133123,P190,c(Q56061))
action count
action union
action filter_type
action find
entity Q133123
relation P190
type Q13220204
action filter_type
action find
entity Q133123
relation P190
type Q56061
[ANSWER]
['Q133123', 'P190', {'concept': 'Q13220204'}] ['Q133123', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { { resource:Q133123 property:P190 ?e . ?e rdf:type ontology:Q13220204 } UNION { ?e rdf:type ontology:Q56061 . resource:Q133123 property:P190 ?e } }
Aleksinac Savannah Byblos Reggio Calabria Famagusta Debrecen Limassol Chișinău Bari Ancona Brindisi Lutsk
1 administrative country subdivisions and 11 administrative territories
action count
action union
action filter_type
action find
entity Patras
relation sister city
type second-level administrative country subdivision
action filter_type
action find
entity Patras
relation sister city
type administrative territorial entity
['Patras', 'sister city', {'concept': 'second-level administrative country subdivision'}] ['Patras', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { { resource:Patras property:sister_city ?e . ?e rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?e rdf:type ontology:administrative_territorial_entity . resource:Patras property:sister_city ?e } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q361
P710
Q3024240 Q15617994
USER
How many former countries and administrative territories participated in World War I ?
(Q361,P710,c(Q3024240)) (Q361,P710,c(Q15617994))
action count
action union
action filter_type
action find
entity Q361
relation P710
type Q3024240
action filter_type
action find
entity Q361
relation P710
type Q15617994
['Q361', 'P710', {'concept': 'Q3024240'}] ['Q361', 'P710', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { resource:Q361 property:P710 ?j . ?j rdf:type ontology:Q3024240 } UNION { resource:Q361 property:P710 ?j . ?j rdf:type ontology:Q15617994 } }
World War I
action count
action union
action filter_type
action find
entity World War I
relation participant
type former country
action filter_type
action find
entity World War I
relation participant
type designation for an administrative territorial entity
['World War I', 'participant', {'concept': 'former country'}] ['World War I', 'participant', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { resource:World_War_I property:participant ?j . ?j rdf:type ontology:former_country } UNION { resource:World_War_I property:participant ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
former country designation for an administrative territorial entity
SYSTEM
1 former countries and 2 administrative territories
Q142 Q12560 Q38
(Q361,P710,c(Q3024240)) (Q361,P710,c(Q15617994))
action count
action union
action filter_type
action find
entity Q361
relation P710
type Q3024240
action filter_type
action find
entity Q361
relation P710
type Q15617994
[ANSWER]
['Q361', 'P710', {'concept': 'Q3024240'}] ['Q361', 'P710', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { resource:Q361 property:P710 ?j . ?j rdf:type ontology:Q3024240 } UNION { resource:Q361 property:P710 ?j . ?j rdf:type ontology:Q15617994 } }
France Ottoman Empire Italy
1 former countries and 2 administrative territories
action count
action union
action filter_type
action find
entity World War I
relation participant
type former country
action filter_type
action find
entity World War I
relation participant
type designation for an administrative territorial entity
['World War I', 'participant', {'concept': 'former country'}] ['World War I', 'participant', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { resource:World_War_I property:participant ?j . ?j rdf:type ontology:former_country } UNION { resource:World_War_I property:participant ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]