Simple Question (Direct)
Simple Question
Q6186461
P937
Q852446
USER
What is the work location of Jesse J. White ?
(Q6186461,P937,c(Q852446))
action filter_type
action find
entity Q6186461
relation P937
type Q852446
['Q6186461', 'P937', {'concept': 'Q852446'}]
SELECT DISTINCT ?i WHERE { resource:Q6186461 property:P937 ?i . ?i rdf:type ontology:Q852446 }
Jesse J. White
action filter_type
action find
entity Jesse J. White
relation work location
type administrative territorial entity of the United States
['Jesse J. White', 'work location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?i WHERE { resource:Jesse_J._White property:work_location ?i . ?i rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q25280
SYSTEM
Harrisburg
Q25280
(Q6186461,P937,c(Q852446))
action filter_type
action find
entity Q6186461
relation P937
type Q852446
The work location of Jesse J. White is in [ANSWER]
['Q6186461', 'P937', {'concept': 'Q852446'}]
SELECT DISTINCT ?i WHERE { resource:Q6186461 property:P937 ?i . ?i rdf:type ontology:Q852446 }
Harrisburg
The work location of Jesse J. White is in Harrisburg
Harrisburg
action filter_type
action find
entity Jesse J. White
relation work location
type administrative territorial entity of the United States
['Jesse J. White', 'work location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?i WHERE { resource:Jesse_J._White property:work_location ?i . ?i rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6186461
P106
Q12737077
USER
What is the job of that person ?
(Q25280,P106,c(Q12737077))
action filter_type
action find
entity Q6186461
relation P106
type Q12737077
['Q25280', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q6186461 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Jesse J. White
action filter_type
action find
entity Jesse J. White
relation occupation
type occupation
['Harrisburg', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Jesse_J._White property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q25280,P106,c(Q12737077))
action filter_type
action find
entity Q6186461
relation P106
type Q12737077
The job of that person is a [ANSWER]
['Q25280', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q6186461 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
politician
The job of that person is a politician
politician
action filter_type
action find
entity Jesse J. White
relation occupation
type occupation
['Harrisburg', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Jesse_J._White property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1553
P840
Q852446 Q15416 Q2342494
USER
Which US administrative territories are more number of television programs and collectables set in than Nebraska ?
(c(Q15416)|c(Q2342494),P840,c(Q852446))
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q852446
type Q15416
action find_reverse_tuple_counts
relation P840
type Q852446
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q1553
relation P840
type Q15416
type Q2342494
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?t ) AS ?i ) WHERE { ?t rdf:type ?l . VALUES ( ?l ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?q property:P840 resource:Q1553 . { VALUES ( ?f ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } . ?q rdf:type ?f } } } . FILTER ( ?i > ?o ) }
Nebraska
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type television program
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type collectable
action count
action filter_multi_types
action find_reverse
entity Nebraska
relation narrative location
type television program
type collectable
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?t ) AS ?i ) WHERE { ?t rdf:type ?l . VALUES ( ?l ) { ( ontology:television_program ) ( ontology:collectable ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?q property:narrative_location resource:Nebraska . { VALUES ( ?f ) { ( ontology:television_program ) ( ontology:collectable ) } . ?q rdf:type ?f } } } . FILTER ( ?i > ?o ) }
[]
administrative territorial entity of the United States television program collectable
Q1439 Q1537 Q1370
SYSTEM
Texas, Wisconsin, Virginia
Q1537 Q1370 Q1439 Q99 Q771 Q812 Q1408 Q797
(c(Q15416)|c(Q2342494),P840,c(Q852446))
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q852446
type Q15416
action find_reverse_tuple_counts
relation P840
type Q852446
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q1553
relation P840
type Q15416
type Q2342494
[ANSWERS] are more number of television programs and collectables set in than Nebraska
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?t ) AS ?i ) WHERE { ?t rdf:type ?l . VALUES ( ?l ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?q property:P840 resource:Q1553 . { VALUES ( ?f ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } . ?q rdf:type ?f } } } . FILTER ( ?i > ?o ) }
Wisconsin Virginia Texas California Massachusetts Florida New Jersey Alaska
Texas, Wisconsin and Virginia are more number of television programs and collectables set in than Nebraska
Texas Wisconsin Virginia
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type television program
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type collectable
action count
action filter_multi_types
action find_reverse
entity Nebraska
relation narrative location
type television program
type collectable
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?t ) AS ?i ) WHERE { ?t rdf:type ?l . VALUES ( ?l ) { ( ontology:television_program ) ( ontology:collectable ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?q property:narrative_location resource:Nebraska . { VALUES ( ?f ) { ( ontology:television_program ) ( ontology:collectable ) } . ?q rdf:type ?f } } } . FILTER ( ?i > ?o ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1454
P840
Q852446 Q15416 Q2342494
USER
And also tell me about North Carolina?
(c(Q15416)|c(Q2342494),P840,c(Q852446))
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q852446
type Q15416
action find_reverse_tuple_counts
relation P840
type Q852446
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q1454
relation P840
type Q15416
type Q2342494
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?x ) WHERE { VALUES ( ?w ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } . ?y rdf:type ?w } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:P840 resource:Q1454 . { VALUES ( ?k ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } . ?m rdf:type ?k } } } . FILTER ( ?x > ?n ) }
North Carolina
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type television program
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type collectable
action count
action filter_multi_types
action find_reverse
entity North Carolina
relation narrative location
type television program
type collectable
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?x ) WHERE { VALUES ( ?w ) { ( ontology:collectable ) ( ontology:television_program ) } . ?y rdf:type ?w } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:narrative_location resource:North_Carolina . { VALUES ( ?k ) { ( ontology:television_program ) ( ontology:collectable ) } . ?m rdf:type ?k } } } . FILTER ( ?x > ?n ) }
[]
administrative territorial entity of the United States television program collectable
Q1384 Q1527 Q1166
SYSTEM
New York, Minnesota, Michigan
Q1603 Q724 Q1581 Q1537 Q1370 Q1439 Q1612 Q1384 Q99 Q1527 Q1522 Q824 Q1223 Q1166 Q816 Q771 Q812 Q1509 Q1261 Q779 Q1408 Q1558 Q173 Q797 Q1553 Q1211
(c(Q15416)|c(Q2342494),P840,c(Q852446))
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q852446
type Q15416
action find_reverse_tuple_counts
relation P840
type Q852446
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q1454
relation P840
type Q15416
type Q2342494
[ANSWERS]
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?x ) WHERE { VALUES ( ?w ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } . ?y rdf:type ?w } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:P840 resource:Q1454 . { VALUES ( ?k ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } . ?m rdf:type ?k } } } . FILTER ( ?x > ?n ) }
Kentucky Maine Missouri Wisconsin Virginia Texas Arkansas New York California Minnesota New Mexico Oregon Washington Michigan Arizona Massachusetts Florida Tennessee Colorado Connecticut New Jersey Kansas Alabama Alaska Nebraska South Dakota
New York Minnesota Michigan
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type television program
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type collectable
action count
action filter_multi_types
action find_reverse
entity North Carolina
relation narrative location
type television program
type collectable
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?x ) WHERE { VALUES ( ?w ) { ( ontology:collectable ) ( ontology:television_program ) } . ?y rdf:type ?w } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:narrative_location resource:North_Carolina . { VALUES ( ?k ) { ( ontology:television_program ) ( ontology:collectable ) } . ?m rdf:type ?k } } } . FILTER ( ?x > ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q523606
P840
Q852446 Q166142 Q838948
USER
How many US administrative territories are around the same number of applications and works of art set in as Langley ?
(c(Q166142)|c(Q838948),P840,c(Q852446))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q852446
type Q166142
action find_reverse_tuple_counts
relation P840
type Q852446
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q523606
relation P840
type Q166142
type Q838948
[[{'concept': 'Q166142'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) ?s WHERE { { ?w property:P840 ?s . ?s rdf:type ontology:Q852446 . ?w rdf:type ontology:Q166142 } UNION { ?w property:P840 ?s . ?s rdf:type ontology:Q852446 . ?w rdf:type ontology:Q838948 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { ?z property:P840 resource:Q523606 . { { ?z rdf:type ontology:Q166142 } UNION { ?z rdf:type ontology:Q838948 } } } } . FILTER ( ?r = ?a ) }
Langley
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type application
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type work of art
action count
action filter_multi_types
action find_reverse
entity Langley
relation narrative location
type application
type work of art
[[{'concept': 'application'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) ?s WHERE { { ?w property:narrative_location ?s . ?s rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?w rdf:type ontology:application } UNION { ?w property:narrative_location ?s . ?s rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?w rdf:type ontology:work_of_art } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { ?z property:narrative_location resource:Langley . { { ?z rdf:type ontology:application } UNION { ?z rdf:type ontology:work_of_art } } } } . FILTER ( ?r = ?a ) }
[]
administrative territorial entity of the United States application work of art
SYSTEM
44
Q1397 Q43421 Q829 Q1603 Q1391 Q7886863 Q5000330 Q724 Q1581 Q1537 Q1370 Q1612 Q1454 Q3474463 Q1415 Q782 Q1527 Q1546 Q1204 Q1522 Q824 Q1227 Q1223 Q1166 Q771 Q1207 Q1509 Q1371 Q1261 Q779 Q1428 Q38555 Q759 Q1558 Q14710458 Q1588 Q173 Q523606 Q797 Q4705487 Q1212 Q1553 Q1211 Q16551
(c(Q166142)|c(Q838948),P840,c(Q852446))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q852446
type Q166142
action find_reverse_tuple_counts
relation P840
type Q852446
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q523606
relation P840
type Q166142
type Q838948
[ANSWER]
[[{'concept': 'Q166142'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) ?s WHERE { { ?w property:P840 ?s . ?s rdf:type ontology:Q852446 . ?w rdf:type ontology:Q166142 } UNION { ?w property:P840 ?s . ?s rdf:type ontology:Q852446 . ?w rdf:type ontology:Q838948 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { ?z property:P840 resource:Q523606 . { { ?z rdf:type ontology:Q166142 } UNION { ?z rdf:type ontology:Q838948 } } } } . FILTER ( ?r = ?a ) }
Ohio Richmond Utah Kentucky Maryland Unionville Burr Oak, Iowa Maine Missouri Wisconsin Virginia Arkansas North Carolina South Troy Indiana Hawaii Minnesota Iowa Illinois New Mexico Oregon Nevada Washington Michigan Massachusetts North Dakota Tennessee West Virginia Colorado Connecticut Georgia Santa Fe New Hampshire Kansas Esperanza Louisiana Alabama Langley Alaska Aladdin, Wyoming Montana Nebraska South Dakota Vermont
44
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type application
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type work of art
action count
action filter_multi_types
action find_reverse
entity Langley
relation narrative location
type application
type work of art
[[{'concept': 'application'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) ?s WHERE { { ?w property:narrative_location ?s . ?s rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?w rdf:type ontology:application } UNION { ?w property:narrative_location ?s . ?s rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?w rdf:type ontology:work_of_art } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { ?z property:narrative_location resource:Langley . { { ?z rdf:type ontology:application } UNION { ?z rdf:type ontology:work_of_art } } } } . FILTER ( ?r = ?a ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1527
P138
Q355304
USER
What is Minnesota named after ?
(Q1527,P138,c(Q355304))
action filter_type
action find
entity Q1527
relation P138
type Q355304
['Q1527', 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ?s WHERE { resource:Q1527 property:P138 ?s . ?s rdf:type ontology:Q355304 }
Minnesota
action filter_type
action find
entity Minnesota
relation named after
type watercourse
['Minnesota', 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ?s WHERE { resource:Minnesota property:named_after ?s . ?s rdf:type ontology:watercourse }
[]
watercourse
Q1136502
SYSTEM
Minnesota River
Q1136502
(Q1527,P138,c(Q355304))
action filter_type
action find
entity Q1527
relation P138
type Q355304
Minnesota is named the [ANSWER]
['Q1527', 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ?s WHERE { resource:Q1527 property:P138 ?s . ?s rdf:type ontology:Q355304 }
Minnesota River
Minnesota is named the Minnesota River
Minnesota River
action filter_type
action find
entity Minnesota
relation named after
type watercourse
['Minnesota', 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ?s WHERE { resource:Minnesota property:named_after ?s . ?s rdf:type ontology:watercourse }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1527
P276
Q350604
USER
Which armed conflict has its location as Minnesota ?
(c(Q350604),P276,Q1527)
action filter_type
action find_reverse
entity Q1527
relation P276
type Q350604
[{'concept': 'Q350604'}, 'P276', 'Q1527']
SELECT DISTINCT ?e WHERE { ?e property:P276 resource:Q1527 . ?e rdf:type ontology:Q350604 }
Minnesota
action filter_type
action find_reverse
entity Minnesota
relation location
type armed conflict
[{'concept': 'armed conflict'}, 'location', 'Minnesota']
SELECT DISTINCT ?e WHERE { ?e property:location resource:Minnesota . ?e rdf:type ontology:armed_conflict }
[]
armed conflict
Q1851858
SYSTEM
Dakota War of 1862
Q1851858
(c(Q350604),P276,Q1527)
action filter_type
action find_reverse
entity Q1527
relation P276
type Q350604
[ANSWER] has its location as Minnesota
[{'concept': 'Q350604'}, 'P276', 'Q1527']
SELECT DISTINCT ?e WHERE { ?e property:P276 resource:Q1527 . ?e rdf:type ontology:Q350604 }
Dakota War of 1862
Dakota War of 1862 has its location as Minnesota
Dakota War of 1862
action filter_type
action find_reverse
entity Minnesota
relation location
type armed conflict
[{'concept': 'armed conflict'}, 'location', 'Minnesota']
SELECT DISTINCT ?e WHERE { ?e property:location resource:Minnesota . ?e rdf:type ontology:armed_conflict }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1851858
P361
Q1190554
USER
Which events are a part of that armed conflict ?
(c(Q1190554),P361,Q1851858)
action filter_type
action find_reverse
entity Q1851858
relation P361
type Q1190554
[{'concept': 'Q1190554'}, 'P361', 'Q1851858']
SELECT DISTINCT ?b WHERE { ?b property:P361 resource:Q1851858 . ?b rdf:type ontology:Q1190554 }
Dakota War of 1862
action filter_type
action find_reverse
entity Dakota War of 1862
relation part of
type event
[{'concept': 'event'}, 'part of', 'Dakota War of 1862']
SELECT DISTINCT ?b WHERE { ?b property:part_of resource:Dakota_War_of_1862 . ?b rdf:type ontology:event }
[]
event
Q3438920 Q3438930 Q4870488
SYSTEM
Battle of Lower Sioux Agency, Battle of Redwood Ferry, Battle of Birch Coulee
Q3438920 Q3438930 Q4870488 Q4871052 Q4872754
(c(Q1190554),P361,Q1851858)
action filter_type
action find_reverse
entity Q1851858
relation P361
type Q1190554
[ANSWERS] are a part of that armed conflict
[{'concept': 'Q1190554'}, 'P361', 'Q1851858']
SELECT DISTINCT ?b WHERE { ?b property:P361 resource:Q1851858 . ?b rdf:type ontology:Q1190554 }
Battle of Lower Sioux Agency Battle of Redwood Ferry Battle of Birch Coulee Battle of Fort Ridgely Battle of Wood Lake
Battle of Lower Sioux Agency, Battle of Redwood Ferry and Battle of Birch Coulee are a part of that armed conflict
Battle of Lower Sioux Agency Battle of Redwood Ferry Battle of Birch Coulee
action filter_type
action find_reverse
entity Dakota War of 1862
relation part of
type event
[{'concept': 'event'}, 'part of', 'Dakota War of 1862']
SELECT DISTINCT ?b WHERE { ?b property:part_of resource:Dakota_War_of_1862 . ?b rdf:type ontology:event }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q1190554 Q895526 Q151885
USER
Which events are min number of authority organs and concepts a component of ?
(c(Q895526)|c(Q151885),P361,c(Q1190554))
action argmin
action union
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q895526
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q151885
[[{'concept': 'Q895526'}, {'concept': 'Q151885'}], 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) ?a WHERE { ?e rdf:type ?i . VALUES ( ?i ) { ( ontology:Q895526 ) ( ontology:Q151885 ) } } GROUP BY ?a } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) ?t WHERE { ?f rdf:type ?k . VALUES ( ?k ) { ( ontology:Q895526 ) ( ontology:Q151885 ) } } GROUP BY ?t } . FILTER ( ?p = ?q ) }
action argmin
action union
action find_reverse_tuple_counts
relation part of
type event
type authority organ
action find_reverse_tuple_counts
relation part of
type event
type concept
[[{'concept': 'authority organ'}, {'concept': 'concept'}], 'part of', {'concept': 'event'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) ?a WHERE { ?e rdf:type ?i . VALUES ( ?i ) { ( ontology:authority_organ ) ( ontology:concept ) } } GROUP BY ?a } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) ?t WHERE { ?f rdf:type ?k . VALUES ( ?k ) { ( ontology:authority_organ ) ( ontology:concept ) } } GROUP BY ?t } . FILTER ( ?p = ?q ) }
[]
event authority organ concept
Q218678 Q51654 Q16470
SYSTEM
North African Campaign, Second Crusade, Normandy landings
Q87138 Q11347454 Q19364861 Q15726688 Q5887669 Q152218 Q716562 Q19870743 Q1458235 Q11663 Q576338 Q287942 Q15833607 Q1245157 Q4709161 Q1093550 Q869045 Q7573442 Q3445341 Q696844 Q49092 Q5685042 Q19362030 Q842774 Q654006 Q1934591 Q2091916 Q683912 Q638530 Q132568 Q737907 Q7569936 Q4126360 Q2334719 Q164348 Q184637 Q2495510 Q1842866 Q221941 Q576292 Q815216 Q250747 Q193603 Q827612 Q15946570 Q186284 Q233505 Q7109930 Q17021072 Q2067876 Q109251 Q492126 Q195983 Q16471 Q16470 Q697022 Q737542 Q2408799 Q638608 Q385378 Q4978527 Q78994 Q4513932 Q4141642 Q217145 Q1765465 Q51661 Q51660 Q392213 Q21030182 Q4743407 Q46857 Q151290 Q1514908 Q1154050 Q151340 Q15013125 Q212658 Q18639147 Q517578 Q830059 Q374814 Q870196 Q523154 Q1136575 Q16146546 Q629965 Q20857240 Q8669 Q1151913 Q952881 Q21482801 Q814235 Q482456 Q174205 Q189508 Q1417059 Q646322 Q572291 Q1647768 Q743776 Q51662 Q19429010 Q138107 Q83055 Q2946372 Q254106 Q7860 Q210714 Q477973 Q916495 Q582584 Q1756029 Q18817 Q7885422 Q1657839 Q3119190 Q1827267 Q714274 Q1144824 Q6644923 Q201676 Q246863 Q327035 Q430726 Q216184 Q1340107 Q1225409 Q2704441 Q4366849 Q48314 Q2026016 Q5547987 Q298864 Q223604 Q202161 Q168556 Q18536369 Q605977 Q18378977 Q789406 Q630259 Q253684 Q19864219 Q18145759 Q28545 Q15303938 Q640100 Q464512 Q7573405 Q8050376 Q7506756 Q2288144 Q151018 Q688308 Q7333201 Q856216 Q829875 Q324438 Q221967 Q239060 Q15553019 Q154031 Q218678 Q169072 Q1130507 Q202298 Q1134220 Q631795 Q340075 Q464980 Q51656 Q51657 Q150701 Q51655 Q4825628 Q687572 Q3310304 Q673175 Q27653685 Q1758572 Q468293 Q7567350 Q290178 Q7968673 Q164983 Q2889354 Q18606884 Q821283 Q1525846 Q2524228 Q6068230 Q162362 Q3509177 Q153650 Q261776 Q6165880 Q3491709 Q208156 Q154182 Q23687335 Q750567 Q296754 Q51649 Q4825457 Q736268 Q17005775 Q1498028 Q315921 Q315342 Q194132 Q123210 Q1372308 Q4465891 Q476300 Q6449024 Q712461 Q377269 Q847301 Q1993443 Q2649081 Q18326286 Q482090 Q162357 Q2117576 Q1413732 Q6133239 Q17189951 Q426227 Q51654 Q604897 Q953045 Q21083298 Q6762017 Q27145365 Q18208094 Q1440764 Q426099 Q3769089 Q685683 Q807843 Q696823 Q130861 Q692065 Q235344 Q617333 Q697625 Q165725 Q3778609 Q7127419 Q2761147 Q417744 Q684324 Q617409 Q11448 Q1070342 Q482979 Q158677 Q10862448 Q152004 Q16918333 Q3402214
(c(Q895526)|c(Q151885),P361,c(Q1190554))
action argmin
action union
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q895526
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q151885
[ANSWERS] are min number of authority organs and concepts a component of
[[{'concept': 'Q895526'}, {'concept': 'Q151885'}], 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) ?a WHERE { ?e rdf:type ?i . VALUES ( ?i ) { ( ontology:Q895526 ) ( ontology:Q151885 ) } } GROUP BY ?a } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) ?t WHERE { ?f rdf:type ?k . VALUES ( ?k ) { ( ontology:Q895526 ) ( ontology:Q151885 ) } } GROUP BY ?t } . FILTER ( ?p = ?q ) }
Greco-Turkish War Neapolitan campaigns of Louis the Great Internal conflict in Bangladesh Esperanto meeting Nicaraguan civil war Nine Years' War Battle of Hakodate Anglo-French war of 1202–14 Battle of the Upper Baetis weather Japanese invasions of Korea Russo-Turkish War Annexation of Crimea by the Russian Federation Battle of Loos Albanian Revolt of 1911 Western Sahara conflict Queen Anne's War Spanish reconquest of Mexico Saintonge War Battle of Anzio 1948 Arab–Israeli War Hawkesbury and Nepean Wars aftermath of the 2014–15 Yemeni coup d'état Polish–Ukrainian War Second Northern War Battle of North Borneo Reform War Operation Tractable Texas Revolution Battle of the Somme Latin War Southern Front of the Russian Civil War Glyndŵr Rising legal case Hungarian Revolution of 1956 Ten Years' War Battle of Reval Battle of Aleppo War of the Quadruple Alliance Fourth Anglo-Dutch War Siege of Sevastopol Race to the Sea ontogeny Jugurthine War Yemeni Crisis Polish–Soviet War Second Barbary War Ottoman Invasion of Mani Pemmican War Polish–Swedish War (1600-29) Samnite Wars Frisian–Frankish wars Franco-Flemish War Invasion of Normandy Normandy landings Battle of the Scheldt Genpei War Battle of the Misrata frontline software development construction Bruce campaign in Ireland Napoleonic Wars Montenegrin–Ottoman War Anglo-Russian invasion of Holland Guadalcanal Campaign Middle Eastern theatre of World War I Seventh Crusade Sixth Crusade Siege of Orléans Battle of Kunduz American Civil Liberties Union v. National Security Agency scientific method Battle of Moscow Cuban War of Independence Peninsula Campaign Battle of France Latin War War of the Polish Succession Byzantine–Bulgarian war of 894–896 King George's War Battle of Red Cliffs certification Russo-Swedish War Caucasus Campaign Vandalic War Civil conflict in the Philippines Russo-Swedish War European migrant crisis Arab–Israeli conflict First Anglo-Dutch War French intervention in Mexico Islamic terrorism crisis in France German Campaign of 1813 Fall of Saigon Russo-Turkish War Glorious Revolution First Fitna Franco-Dutch War Guelders Wars First Mithridatic War First Peloponnesian War Northern Crusades 2014 Odessa clashes War of the Sixth Coalition Operation Barbarossa Northern Mali conflict Crimean War nature 2011 military intervention in Libya Gothic War Second Anglo-Dutch War First Anglo–Sikh War Operation Tonga War of the First Coalition Battle for Narva (1944) Ten Days' Campaign Roman-Etruscan Wars Byzantine–Seljuq wars Allied advance from Paris to the Rhine Battle of Messines Operation Hydra funeral Livonian War Battle of Gazala Anglo-Spanish War (1585–1604) Western Front (World War II) Cantabrian Wars Moro conflict Chilean Civil War of 1891 Battle of the Border Battle of Waterloo Operation Cartwheel Georgian-Seljuk wars Neapolitan War Greco-Italian War Gallic War Schmalkaldic War Battle of Donetsk Airport War of the Fourth Coalition Naderian Wars Balkans Campaign Byzantine–Ottoman Wars French campaign in Egypt and Syria Anbar offensive 2014–15 Yemeni coup d'état teaching Islamic Front–Free Syrian Army conflict Battles of the Bruch Battle of Balaclava Spanish invasion of Portugal Yavapai War Siamese revolution of 1688 Byzantine–Bulgarian wars Battle of the Bulge Swedish War of Liberation Rif Dimashq offensive Beaver Wars Nigerian Civil War War of the Pyrenees Brusilov Offensive Arab Revolt (1916–1918) Anbar clashes (2013–2014) German Peasants' War North African Campaign Colombian armed conflict Hundred Days Offensive Japanese tea ceremony Mongol invasion of Rus' Kalmar War Moroccan–Portuguese conflicts exhibition Fourth Crusade Albigensian Crusade War of the Spanish Succession Third Crusade reprisal operations Battle of the Frontiers Second War of Scottish Independence French Wars of Religion War in the Black Sea Hook and Cod wars First Barbary War South German Offensive economic crisis War of the Bucket Gallipoli campaign Monastir Offensive Old Towns and New Needs; also the Town Extension Plan Battle of Warsaw 2012 Tuareg rebellion Italian War of 1551–1559 Iraqi–Kurdish conflict Balkans Campaign Battle of Narva Austro-Prussian War Battles of Rzhev Soviet invasion of Manchuria Glencairn's rising Mongol invasions of Japan Battle of Berlin Warburton Lectures Spring Offensive Battle of Singapore First Crusade Austrian-Hungarian War Finnish War Idlib Governorate clashes Hildesheim Diocesan Feud Thirteen Years' War Burgundian Wars Operation Torch Russo-Turkish War Jōkyū War Ottoman–Persian War competition Kuwait–Nejd Border War Battle of Aizu Dutch–Portuguese War political campaign Battle of the St. Lawrence Battle of the Netherlands Kublai Khan's Campaigns steelmaking Battle of Smolensk Puget Sound War Kashmir conflict Operation Zafar 7 KYOTO Cross Media Experience Battle of Passchendaele Second Crusade Battle of Dien Bien Phu metalwork Israeli–Palestinian conflict Marian civil war battles of Schooneveld Turkish involvement in the Syrian Civil War Battle of Timor Siege of Antwerp Second Fitna First Schleswig War Bishops' Wars Battle for Caen Battle of Kursk Leningrad–Novgorod Offensive Battle of the Alamola Franco-Spanish War (1635–1659) Battle of Belgium Balkan Wars Despenser War Palestinian insurgency in South Lebanon meeting Dano-Swedish War War of the Fifth Coalition Argentine War of Independence radioactivity King William's War Battle of Pusan Perimeter Northern Seven Years' War Liberation Day War of the Pacific Ukrainian crisis Invasion of Portugal
North African Campaign, Second Crusade and Normandy landings are min number of authority organs and concepts a component of
North African Campaign Second Crusade Normandy landings
action argmin
action union
action find_reverse_tuple_counts
relation part of
type event
type authority organ
action find_reverse_tuple_counts
relation part of
type event
type concept
[[{'concept': 'authority organ'}, {'concept': 'concept'}], 'part of', {'concept': 'event'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) ?a WHERE { ?e rdf:type ?i . VALUES ( ?i ) { ( ontology:authority_organ ) ( ontology:concept ) } } GROUP BY ?a } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) ?t WHERE { ?f rdf:type ?k . VALUES ( ?k ) { ( ontology:authority_organ ) ( ontology:concept ) } } GROUP BY ?t } . FILTER ( ?p = ?q ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q41560
P828
Q1190554 Q1190554
USER
How many events are the underlying cause of approximately the same number of events as greenhouse effect ?
(c(Q1190554),P828,c(Q1190554))
action count
action approx
action find_reverse_tuple_counts
relation P828
type Q1190554
type Q1190554
action count
action filter_type
action find
entity Q41560
relation P828
type Q1190554
[{'concept': 'Q1190554'}, 'P828', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?u ) AS ?x ) WHERE { ?v rdf:type ontology:Q1190554 . ?u rdf:type ontology:Q1190554 . ?u property:P828 ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { ?e rdf:type ontology:Q1190554 . resource:Q41560 property:P828 ?e } } . FILTER ( ?x = ?k ) }
greenhouse effect
action count
action approx
action find_reverse_tuple_counts
relation has cause
type event
type event
action count
action filter_type
action find
entity greenhouse effect
relation has cause
type event
[{'concept': 'event'}, 'has cause', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?u ) AS ?x ) WHERE { ?v rdf:type ontology:event . ?u rdf:type ontology:event . ?u property:has_cause ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { ?e rdf:type ontology:event . resource:greenhouse_effect property:has_cause ?e } } . FILTER ( ?x = ?k ) }
[]
event event
SYSTEM
9
Q41560 Q125928 Q18511800 Q150701 Q2737837 Q11663 Q114953 Q7939 Q4373
(c(Q1190554),P828,c(Q1190554))
action count
action approx
action find_reverse_tuple_counts
relation P828
type Q1190554
type Q1190554
action count
action filter_type
action find
entity Q41560
relation P828
type Q1190554
[ANSWER]
[{'concept': 'Q1190554'}, 'P828', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?u ) AS ?x ) WHERE { ?v rdf:type ontology:Q1190554 . ?u rdf:type ontology:Q1190554 . ?u property:P828 ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { ?e rdf:type ontology:Q1190554 . resource:Q41560 property:P828 ?e } } . FILTER ( ?x = ?k ) }
greenhouse effect climate change split War of the Spanish Succession Irradiation weather poisoning El Niño Battle of White Mountain
9
action count
action approx
action find_reverse_tuple_counts
relation has cause
type event
type event
action count
action filter_type
action find
entity greenhouse effect
relation has cause
type event
[{'concept': 'event'}, 'has cause', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?u ) AS ?x ) WHERE { ?v rdf:type ontology:event . ?u rdf:type ontology:event . ?u property:has_cause ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { ?e rdf:type ontology:event . resource:greenhouse_effect property:has_cause ?e } } . FILTER ( ?x = ?k ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q4373
P828
Q1190554 Q1190554
USER
And also tell me about Battle of White Mountain?
(c(Q1190554),P828,c(Q1190554))
action count
action approx
action find_reverse_tuple_counts
relation P828
type Q1190554
type Q1190554
action count
action filter_type
action find
entity Q4373
relation P828
type Q1190554
[{'concept': 'Q1190554'}, 'P828', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { resource:Q4373 property:P828 ?d . ?d rdf:type ontology:Q1190554 } } . FILTER ( ?v = ?i ) . { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?v ) WHERE { ?l property:P828 ?n . ?l rdf:type ontology:Q1190554 . ?n rdf:type ontology:Q1190554 } GROUP BY ?n } }
Battle of White Mountain
action count
action approx
action find_reverse_tuple_counts
relation has cause
type event
type event
action count
action filter_type
action find
entity Battle of White Mountain
relation has cause
type event
[{'concept': 'event'}, 'has cause', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { resource:Battle_of_White_Mountain property:has_cause ?d . ?d rdf:type ontology:event } } . FILTER ( ?v = ?i ) . { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?v ) WHERE { ?l property:has_cause ?n . ?l rdf:type ontology:event . ?n rdf:type ontology:event } GROUP BY ?n } }
[]
event event
SYSTEM
9
Q41560 Q125928 Q18511800 Q150701 Q2737837 Q11663 Q114953 Q7939 Q4373
(c(Q1190554),P828,c(Q1190554))
action count
action approx
action find_reverse_tuple_counts
relation P828
type Q1190554
type Q1190554
action count
action filter_type
action find
entity Q4373
relation P828
type Q1190554
[ANSWER]
[{'concept': 'Q1190554'}, 'P828', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { resource:Q4373 property:P828 ?d . ?d rdf:type ontology:Q1190554 } } . FILTER ( ?v = ?i ) . { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?v ) WHERE { ?l property:P828 ?n . ?l rdf:type ontology:Q1190554 . ?n rdf:type ontology:Q1190554 } GROUP BY ?n } }
greenhouse effect climate change split War of the Spanish Succession Irradiation weather poisoning El Niño Battle of White Mountain
9
action count
action approx
action find_reverse_tuple_counts
relation has cause
type event
type event
action count
action filter_type
action find
entity Battle of White Mountain
relation has cause
type event
[{'concept': 'event'}, 'has cause', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { resource:Battle_of_White_Mountain property:has_cause ?d . ?d rdf:type ontology:event } } . FILTER ( ?v = ?i ) . { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?v ) WHERE { ?l property:has_cause ?n . ?l rdf:type ontology:event . ?n rdf:type ontology:event } GROUP BY ?n } }
[]