Simple Question (Direct)
Simple Question
Q510281
P607
Q350604
USER
What battle was George Anson, 1st Baron Anson a part of ?
(Q510281,P607,c(Q350604))
action filter_type
action find
entity Q510281
relation P607
type Q350604
['Q510281', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?r WHERE { resource:Q510281 property:P607 ?r . ?r rdf:type ontology:Q350604 }
George Anson, 1st Baron Anson
action filter_type
action find
entity George Anson, 1st Baron Anson
relation conflict
type armed conflict
['George Anson, 1st Baron Anson', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?r WHERE { resource:George_Anson,_1st_Baron_Anson property:conflict ?r . ?r rdf:type ontology:armed_conflict }
[]
armed conflict
Q32929
SYSTEM
War of the Austrian Succession
Q32929
(Q510281,P607,c(Q350604))
action filter_type
action find
entity Q510281
relation P607
type Q350604
George Anson , 1st Baron Anson a part of was the [ANSWER]
['Q510281', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?r WHERE { resource:Q510281 property:P607 ?r . ?r rdf:type ontology:Q350604 }
War of the Austrian Succession
George Anson , 1st Baron Anson a part of was the War of the Austrian Succession
War of the Austrian Succession
action filter_type
action find
entity George Anson, 1st Baron Anson
relation conflict
type armed conflict
['George Anson, 1st Baron Anson', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?r WHERE { resource:George_Anson,_1st_Baron_Anson property:conflict ?r . ?r rdf:type ontology:armed_conflict }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q510281
P1038
Q502895
USER
Who is a relative of that one ?
(c(Q502895),P1038,Q32929)
action filter_type
action find
entity Q510281
relation P1038
type Q502895
[{'concept': 'Q502895'}, 'P1038', 'Q32929']
SELECT DISTINCT ?j WHERE { resource:Q510281 property:P1038 ?j . ?j rdf:type ontology:Q502895 }
George Anson, 1st Baron Anson
action filter_type
action find
entity George Anson, 1st Baron Anson
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'War of the Austrian Succession']
SELECT DISTINCT ?j WHERE { resource:George_Anson,_1st_Baron_Anson property:relative ?j . ?j rdf:type ontology:common_name }
[]
common name
Q5536274
SYSTEM
George Anson
Q5536274
(c(Q502895),P1038,Q32929)
action filter_type
action find
entity Q510281
relation P1038
type Q502895
A relative of that one is the [ANSWER]
[{'concept': 'Q502895'}, 'P1038', 'Q32929']
SELECT DISTINCT ?j WHERE { resource:Q510281 property:P1038 ?j . ?j rdf:type ontology:Q502895 }
George Anson
A relative of that one is the George Anson
George Anson
action filter_type
action find
entity George Anson, 1st Baron Anson
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'War of the Austrian Succession']
SELECT DISTINCT ?j WHERE { resource:George_Anson,_1st_Baron_Anson property:relative ?j . ?j rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q8371
P1303
Q34379 Q502895
USER
Which musical instruments do less number of people know to play than cello ?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q8371
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?n ) WHERE { ?v property:P1303 ?y . ?y rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { ?e rdf:type ontology:Q502895 . ?e property:P1303 resource:Q8371 } } . FILTER ( ?n < ?k ) }
cello
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity cello
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?n ) WHERE { ?v property:instrument ?y . ?y rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { ?e rdf:type ontology:common_name . ?e property:instrument resource:cello } } . FILTER ( ?n < ?k ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q8371
relation P1303
type Q502895
Less number of people know for [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?n ) WHERE { ?v property:P1303 ?y . ?y rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { ?e rdf:type ontology:Q502895 . ?e property:P1303 resource:Q8371 } } . FILTER ( ?n < ?k ) }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Less number of people know for davul, harpsichord and Wurlitzer electric piano
davul harpsichord Wurlitzer electric piano
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity cello
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?n ) WHERE { ?v property:instrument ?y . ?y rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { ?e rdf:type ontology:common_name . ?e property:instrument resource:cello } } . FILTER ( ?n < ?k ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P3279
Q502895 Q18608583 Q1344963
USER
How many people were the statistical leaders of approximately 1 recurring sporting events and world championships ?
(c(Q18608583)|c(Q1344963),P3279,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q18608583
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q1344963
value 1
[[{'concept': 'Q18608583'}, {'concept': 'Q1344963'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { FILTER ( ?e = 1 ) . { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?e ) WHERE { { ?r property:P3279 ?i . ?i rdf:type ontology:Q502895 . ?r rdf:type ontology:Q18608583 } UNION { ?r property:P3279 ?i . ?r rdf:type ontology:Q1344963 . ?i rdf:type ontology:Q502895 } } GROUP BY ?i } }
action count
action approx
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type recurring sporting event
action find_reverse_tuple_counts
relation statistical leader
type common name
type world championship
value 1
[[{'concept': 'recurring sporting event'}, {'concept': 'world championship'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { FILTER ( ?e = 1 ) . { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?e ) WHERE { { ?r property:statistical_leader ?i . ?i rdf:type ontology:common_name . ?r rdf:type ontology:recurring_sporting_event } UNION { ?r property:statistical_leader ?i . ?r rdf:type ontology:world_championship . ?i rdf:type ontology:common_name } } GROUP BY ?i } }
[]
common name recurring sporting event world championship
SYSTEM
31
Q348032 Q273561 Q4973709 Q555488 Q18957309 Q18206776 Q16563047 Q455970 Q1337310 Q2679406 Q1797248 Q775971 Q504835 Q935769 Q2336113 Q2468364 Q3830637 Q465968 Q1246116 Q3719980 Q18352226 Q4801743 Q2423715 Q371193 Q2021449 Q3699232 Q1100455 Q3788234 Q628060 Q521771 Q2640666
(c(Q18608583)|c(Q1344963),P3279,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q18608583
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q1344963
value 1
[ANSWER]
[[{'concept': 'Q18608583'}, {'concept': 'Q1344963'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { FILTER ( ?e = 1 ) . { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?e ) WHERE { { ?r property:P3279 ?i . ?i rdf:type ontology:Q502895 . ?r rdf:type ontology:Q18608583 } UNION { ?r property:P3279 ?i . ?r rdf:type ontology:Q1344963 . ?i rdf:type ontology:Q502895 } } GROUP BY ?i } }
Šarūnas Marčiulionis Anne-Marie Colchen Shin Dong-pa Álvaro Salvadores Ángela Salvadores Nirra Fields Heino Veskila Amaya Valdemoro Emiliano Rodríguez Rūdolfs Jurciņš Oscar Schmidt Evanthia Maltsi Andrew Gaze Oded Kattash Kees Akerboom, Sr. Margo Dydek Andrea Borrell Ann Wauters Doron Jamchi Edward Jurkiewicz Isabela Ramona Arturo Guerrero Jacques Perrier José Juan Barea Yuko Oga Livio Franceschini Iva Perovanović Hüseyin Öztürk Sabahudin Bilalović Paweł Stok Janeth Arcain
31
action count
action approx
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type recurring sporting event
action find_reverse_tuple_counts
relation statistical leader
type common name
type world championship
value 1
[[{'concept': 'recurring sporting event'}, {'concept': 'world championship'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { FILTER ( ?e = 1 ) . { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?e ) WHERE { { ?r property:statistical_leader ?i . ?i rdf:type ontology:common_name . ?r rdf:type ontology:recurring_sporting_event } UNION { ?r property:statistical_leader ?i . ?r rdf:type ontology:world_championship . ?i rdf:type ontology:common_name } } GROUP BY ?i } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q510281
P106
Q12737077
USER
How many occupations do George Anson, 1st Baron Anson do for a living ?
(Q510281,P106,c(Q12737077))
action count
action filter_type
action find
entity Q510281
relation P106
type Q12737077
['Q510281', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { resource:Q510281 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
George Anson, 1st Baron Anson
action count
action filter_type
action find
entity George Anson, 1st Baron Anson
relation occupation
type occupation
['George Anson, 1st Baron Anson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { resource:George_Anson,_1st_Baron_Anson property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
SYSTEM
4
Q11900058 Q3579035 Q82955 Q47064
(Q510281,P106,c(Q12737077))
action count
action filter_type
action find
entity Q510281
relation P106
type Q12737077
[ANSWER]
['Q510281', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { resource:Q510281 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
explorer travel writer politician military personnel
4
action count
action filter_type
action find
entity George Anson, 1st Baron Anson
relation occupation
type occupation
['George Anson, 1st Baron Anson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { resource:George_Anson,_1st_Baron_Anson property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q510281
P19
Q180673
USER
Where was that person born ?
action filter_type
action find
entity Q510281
relation P19
type Q180673
SELECT DISTINCT ?p WHERE { resource:Q510281 property:P19 ?p . ?p rdf:type ontology:Q180673 }
George Anson, 1st Baron Anson
action filter_type
action find
entity George Anson, 1st Baron Anson
relation place of birth
type ceremonial county of England
SELECT DISTINCT ?p WHERE { resource:George_Anson,_1st_Baron_Anson property:place_of_birth ?p . ?p rdf:type ontology:ceremonial_county_of_England }
[]
ceremonial county of England
Q23105
SYSTEM
Staffordshire
Q23105
action filter_type
action find
entity Q510281
relation P19
type Q180673
That person was born in [ANSWER]
SELECT DISTINCT ?p WHERE { resource:Q510281 property:P19 ?p . ?p rdf:type ontology:Q180673 }
Staffordshire
That person was born in Staffordshire
Staffordshire
action filter_type
action find
entity George Anson, 1st Baron Anson
relation place of birth
type ceremonial county of England
SELECT DISTINCT ?p WHERE { resource:George_Anson,_1st_Baron_Anson property:place_of_birth ?p . ?p rdf:type ontology:ceremonial_county_of_England }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q510281
P7
Q502895
USER
Which person has George Anson, 1st Baron Anson as their brother ?
(c(Q502895),P7,Q510281)
action filter_type
action find
entity Q510281
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q510281']
SELECT DISTINCT ?a WHERE { resource:Q510281 property:P7 ?a . ?a rdf:type ontology:Q502895 }
George Anson, 1st Baron Anson
action filter_type
action find
entity George Anson, 1st Baron Anson
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'George Anson, 1st Baron Anson']
SELECT DISTINCT ?a WHERE { resource:George_Anson,_1st_Baron_Anson property:brother ?a . ?a rdf:type ontology:common_name }
[]
common name
Q7787094
SYSTEM
Thomas Anson
Q7787094
(c(Q502895),P7,Q510281)
action filter_type
action find
entity Q510281
relation P7
type Q502895
[ANSWER] has George Anson, 1st Baron Anson as their brother
[{'concept': 'Q502895'}, 'P7', 'Q510281']
SELECT DISTINCT ?a WHERE { resource:Q510281 property:P7 ?a . ?a rdf:type ontology:Q502895 }
Thomas Anson
Thomas Anson has George Anson, 1st Baron Anson as their brother
Thomas Anson
action filter_type
action find
entity George Anson, 1st Baron Anson
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'George Anson, 1st Baron Anson']
SELECT DISTINCT ?a WHERE { resource:George_Anson,_1st_Baron_Anson property:brother ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q510281
P20
Q180673
USER
Where did the expiration of George Anson, 1st Baron Anson occur ?
(Q510281,P20,c(Q180673))
action filter_type
action find
entity Q510281
relation P20
type Q180673
['Q510281', 'P20', {'concept': 'Q180673'}]
SELECT DISTINCT ?p WHERE { resource:Q510281 property:P20 ?p . ?p rdf:type ontology:Q180673 }
George Anson, 1st Baron Anson
action filter_type
action find
entity George Anson, 1st Baron Anson
relation place of death
type ceremonial county of England
['George Anson, 1st Baron Anson', 'place of death', {'concept': 'ceremonial county of England'}]
SELECT DISTINCT ?p WHERE { resource:George_Anson,_1st_Baron_Anson property:place_of_death ?p . ?p rdf:type ontology:ceremonial_county_of_England }
[]
ceremonial county of England
Q3410
SYSTEM
Hertfordshire
Q3410
(Q510281,P20,c(Q180673))
action filter_type
action find
entity Q510281
relation P20
type Q180673
The expiration of George Anson , 1st Baron Anson occurred in [ANSWER]
['Q510281', 'P20', {'concept': 'Q180673'}]
SELECT DISTINCT ?p WHERE { resource:Q510281 property:P20 ?p . ?p rdf:type ontology:Q180673 }
Hertfordshire
The expiration of George Anson , 1st Baron Anson occurred in Hertfordshire
Hertfordshire
action filter_type
action find
entity George Anson, 1st Baron Anson
relation place of death
type ceremonial county of England
['George Anson, 1st Baron Anson', 'place of death', {'concept': 'ceremonial county of England'}]
SELECT DISTINCT ?p WHERE { resource:George_Anson,_1st_Baron_Anson property:place_of_death ?p . ?p rdf:type ontology:ceremonial_county_of_England }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3410
P47
Q180673
USER
Which ceremonial county of Englands have an adjacent border with that one ?
(c(Q180673),P47,Q3410)
action filter_type
action find
entity Q3410
relation P47
type Q180673
[{'concept': 'Q180673'}, 'P47', 'Q3410']
SELECT DISTINCT ?p WHERE { resource:Q3410 property:P47 ?p . ?p rdf:type ontology:Q180673 }
Hertfordshire
action filter_type
action find
entity Hertfordshire
relation shares border with
type ceremonial county of England
[{'concept': 'ceremonial county of England'}, 'shares border with', 'Hertfordshire']
SELECT DISTINCT ?p WHERE { resource:Hertfordshire property:shares_border_with ?p . ?p rdf:type ontology:ceremonial_county_of_England }
[]
ceremonial county of England
Q23229 Q23240 Q23112
SYSTEM
Buckinghamshire, Essex, Cambridgeshire
Q23143 Q23240 Q23112 Q23229
(c(Q180673),P47,Q3410)
action filter_type
action find
entity Q3410
relation P47
type Q180673
[ANSWERS] have an adjacent border with that one
[{'concept': 'Q180673'}, 'P47', 'Q3410']
SELECT DISTINCT ?p WHERE { resource:Q3410 property:P47 ?p . ?p rdf:type ontology:Q180673 }
Bedfordshire Essex Cambridgeshire Buckinghamshire
Buckinghamshire, Essex and Cambridgeshire have an adjacent border with that one
Buckinghamshire Essex Cambridgeshire
action filter_type
action find
entity Hertfordshire
relation shares border with
type ceremonial county of England
[{'concept': 'ceremonial county of England'}, 'shares border with', 'Hertfordshire']
SELECT DISTINCT ?p WHERE { resource:Hertfordshire property:shares_border_with ?p . ?p rdf:type ontology:ceremonial_county_of_England }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q179250
P361
Q49447 Q198 Q350604
USER
Which armed conflicts are a component of greater number of world views and wars than French invasion of Russia ?
(c(Q350604),P361,c(Q49447)|c(Q198))
action greater
action union
action find_tuple_counts
relation P361
type Q350604
type Q49447
action find_tuple_counts
relation P361
type Q350604
type Q198
action count
action filter_multi_types
action find
entity Q179250
relation P361
type Q49447
type Q198
[{'concept': 'Q350604'}, 'P361', [{'concept': 'Q49447'}, {'concept': 'Q198'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:Q179250 property:P361 ?k . { { ?k rdf:type ontology:Q49447 } UNION { ?k rdf:type ontology:Q198 } } } } . FILTER ( ?x > ?p ) . { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?x ) WHERE { { ?u property:P361 ?d . ?u rdf:type ontology:Q350604 . ?d rdf:type ontology:Q198 } UNION { ?u property:P361 ?d . ?u rdf:type ontology:Q350604 . ?d rdf:type ontology:Q49447 } } GROUP BY ?u } }
French invasion of Russia
action greater
action union
action find_tuple_counts
relation part of
type armed conflict
type world view
action find_tuple_counts
relation part of
type armed conflict
type war
action count
action filter_multi_types
action find
entity French invasion of Russia
relation part of
type world view
type war
[{'concept': 'armed conflict'}, 'part of', [{'concept': 'world view'}, {'concept': 'war'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:French_invasion_of_Russia property:part_of ?k . { { ?k rdf:type ontology:world_view } UNION { ?k rdf:type ontology:war } } } } . FILTER ( ?x > ?p ) . { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?x ) WHERE { { ?u property:part_of ?d . ?u rdf:type ontology:armed_conflict . ?d rdf:type ontology:war } UNION { ?u property:part_of ?d . ?u rdf:type ontology:armed_conflict . ?d rdf:type ontology:world_view } } GROUP BY ?u } }
[]
world view war armed conflict
Q817206 Q189266 Q17272643
SYSTEM
Cambodian Civil War, Eastern Front, spillover of the Syrian Civil War
Q184425 Q68969 Q154940 Q5557072 Q190029 Q381375 Q430053 Q122100 Q17272643 Q134949 Q817206 Q2060306 Q8740 Q181533 Q18586347 Q23403028 Q1851858 Q1072042 Q322607 Q1891008 Q748780 Q2915510 Q26690200 Q189266 Q877450 Q3042457 Q74109 Q170682 Q21900262 Q220878 Q42937 Q49100
(c(Q350604),P361,c(Q49447)|c(Q198))
action greater
action union
action find_tuple_counts
relation P361
type Q350604
type Q49447
action find_tuple_counts
relation P361
type Q350604
type Q198
action count
action filter_multi_types
action find
entity Q179250
relation P361
type Q49447
type Q198
[ANSWERS] are a component of greater number of world views and wars than French invasion of Russia
[{'concept': 'Q350604'}, 'P361', [{'concept': 'Q49447'}, {'concept': 'Q198'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:Q179250 property:P361 ?k . { { ?k rdf:type ontology:Q49447 } UNION { ?k rdf:type ontology:Q198 } } } } . FILTER ( ?x > ?p ) . { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?x ) WHERE { { ?u property:P361 ?d . ?u rdf:type ontology:Q350604 . ?d rdf:type ontology:Q198 } UNION { ?u property:P361 ?d . ?u rdf:type ontology:Q350604 . ?d rdf:type ontology:Q49447 } } GROUP BY ?u } }
Pacific War Croatian War of Independence Lapland War Ghost Dance War Kosovo War Nagorno-Karabakh War Great Sioux War of 1876 Continuation War spillover of the Syrian Civil War Winter War Cambodian Civil War Red Cloud's War Vietnam War Bosnian War First Soviet-Finnish War Hīt offensive Dakota War of 1862 War in Somalia (2006-2009) War of Attrition Sand War First Indochina War 2009 Sudan airstrikes Rutulian War Eastern Front Laotian Civil War Platine War Albanian resistance during World War II Gaza War Bombing of Miskolc Titanomachy Trojan War Yom Kippur War
Cambodian Civil War, Eastern Front and spillover of the Syrian Civil War are a component of greater number of world views and wars than French invasion of Russia
Cambodian Civil War Eastern Front spillover of the Syrian Civil War
action greater
action union
action find_tuple_counts
relation part of
type armed conflict
type world view
action find_tuple_counts
relation part of
type armed conflict
type war
action count
action filter_multi_types
action find
entity French invasion of Russia
relation part of
type world view
type war
[{'concept': 'armed conflict'}, 'part of', [{'concept': 'world view'}, {'concept': 'war'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:French_invasion_of_Russia property:part_of ?k . { { ?k rdf:type ontology:world_view } UNION { ?k rdf:type ontology:war } } } } . FILTER ( ?x > ?p ) . { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?x ) WHERE { { ?u property:part_of ?d . ?u rdf:type ontology:armed_conflict . ?d rdf:type ontology:war } UNION { ?u property:part_of ?d . ?u rdf:type ontology:armed_conflict . ?d rdf:type ontology:world_view } } GROUP BY ?u } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q23039828 Q3410
P27 P17
Q15617994
USER
Which administrative territories are Hertfordshire located in or do Pekka Koskela belong to ?
OR((Q3410,P17,c(Q15617994)), (Q23039828,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3410
relation P17
action find
entity Q23039828
relation P27
type Q15617994
{'OR': [['Q3410', 'P17', {'concept': 'Q15617994'}], ['Q23039828', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q3410 property:P17 ?b } UNION { resource:Q23039828 property:P27 ?b } } . ?b rdf:type ontology:Q15617994 }
Pekka Koskela Hertfordshire
action filter_type
action union
action find
entity Hertfordshire
relation country
action find
entity Pekka Koskela
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Hertfordshire', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Pekka Koskela', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Hertfordshire property:country ?b } UNION { resource:Pekka_Koskela property:country_of_citizenship ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33 Q145
SYSTEM
Finland, United Kingdom
Q33 Q145
OR((Q3410,P17,c(Q15617994)), (Q23039828,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3410
relation P17
action find
entity Q23039828
relation P27
type Q15617994
Hertfordshire are located in belong to the [ANSWERS]
{'OR': [['Q3410', 'P17', {'concept': 'Q15617994'}], ['Q23039828', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q3410 property:P17 ?b } UNION { resource:Q23039828 property:P27 ?b } } . ?b rdf:type ontology:Q15617994 }
Finland United Kingdom
Hertfordshire are located in belong to the Finland and United Kingdom
Finland United Kingdom
action filter_type
action union
action find
entity Hertfordshire
relation country
action find
entity Pekka Koskela
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Hertfordshire', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Pekka Koskela', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Hertfordshire property:country ?b } UNION { resource:Pekka_Koskela property:country_of_citizenship ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P941
Q15617994 Q3895768
USER
Which administrative territories were the sources of inspiration for more number of fictional locations than that administrative territory ?
(c(Q3895768),P941,c(Q15617994))
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity fictional location
Comparative|More/Less|Single entity type|Clarification
Q145
SYSTEM
Did you mean United Kingdom ?
(c(Q3895768),P941,c(Q15617994))
[ANSWER]
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
Did you mean United Kingdom ?
United Kingdom
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
USER
No, I meant Finland. Could you tell me the answer for that?
(c(Q3895768),P941,c(Q15617994))
Q33
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
[]
Q668
SYSTEM
India
Q668
(c(Q3895768),P941,c(Q15617994))
[ANSWER] was the sources of inspiration for more number of fictional locations than that administrative territory
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
India
India was the sources of inspiration for more number of fictional locations than that administrative territory
India
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]