Simple Question (Direct)
Simple Question
Q5076218
P937
Q56061
USER
Where did Charles Chestnut IV work ?
(Q5076218,P937,c(Q56061))
action filter_type
action find
entity Q5076218
relation P937
type Q56061
['Q5076218', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q5076218 property:P937 ?s . ?s rdf:type ontology:Q56061 }
Charles Chestnut IV
action filter_type
action find
entity Charles Chestnut IV
relation work location
type administrative territorial entity
['Charles Chestnut IV', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Charles_Chestnut_IV property:work_location ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q37043
SYSTEM
Tallahassee
Q37043
(Q5076218,P937,c(Q56061))
action filter_type
action find
entity Q5076218
relation P937
type Q56061
[ANSWER]
['Q5076218', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q5076218 property:P937 ?s . ?s rdf:type ontology:Q56061 }
Tallahassee
Tallahassee
action filter_type
action find
entity Charles Chestnut IV
relation work location
type administrative territorial entity
['Charles Chestnut IV', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Charles_Chestnut_IV property:work_location ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q37043
P1376
Q852446
USER
Which US administrative territory has that administrative territory as its county seat ?
(Q37043,P1376,c(Q852446))
action filter_type
action find
entity Q37043
relation P1376
type Q852446
['Q37043', 'P1376', {'concept': 'Q852446'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q852446 . resource:Q37043 property:P1376 ?s }
Tallahassee
action filter_type
action find
entity Tallahassee
relation capital of
type administrative territorial entity of the United States
['Tallahassee', 'capital of', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:administrative_territorial_entity_of_the_United_States . resource:Tallahassee property:capital_of ?s }
[]
administrative territorial entity of the United States
Q812
SYSTEM
Florida
Q812
(Q37043,P1376,c(Q852446))
action filter_type
action find
entity Q37043
relation P1376
type Q852446
[ANSWER]
['Q37043', 'P1376', {'concept': 'Q852446'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q852446 . resource:Q37043 property:P1376 ?s }
Florida
Florida
action filter_type
action find
entity Tallahassee
relation capital of
type administrative territorial entity of the United States
['Tallahassee', 'capital of', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:administrative_territorial_entity_of_the_United_States . resource:Tallahassee property:capital_of ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q812
P206
Q15324
USER
Which body of water is situated close to that US administrative territory ?
(Q812,P206,c(Q15324))
action filter_type
action find
entity Q812
relation P206
type Q15324
['Q812', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?u WHERE { resource:Q812 property:P206 ?u . ?u rdf:type ontology:Q15324 }
Florida
action filter_type
action find
entity Florida
relation located next to body of water
type body of water
['Florida', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?u WHERE { resource:Florida property:located_next_to_body_of_water ?u . ?u rdf:type ontology:body_of_water }
[]
body of water
Q12630
SYSTEM
Gulf of Mexico
Q12630
(Q812,P206,c(Q15324))
action filter_type
action find
entity Q812
relation P206
type Q15324
[ANSWER]
['Q812', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?u WHERE { resource:Q812 property:P206 ?u . ?u rdf:type ontology:Q15324 }
Gulf of Mexico
Gulf of Mexico
action filter_type
action find
entity Florida
relation located next to body of water
type body of water
['Florida', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?u WHERE { resource:Florida property:located_next_to_body_of_water ?u . ?u rdf:type ontology:body_of_water }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q12630 Q21906665
P403
Q355304
USER
Does Murrabit River flow into that body of water ?
(Q21906665,P403,Q12630)
action is_in
entity Q21906665
action find
entity Q12630
relation P403
['Q21906665', 'P403', 'Q12630']
ASK WHERE { resource:Q12630 property:P403 resource:Q21906665 }
Gulf of Mexico Murrabit River
action is_in
entity Murrabit River
action find
entity Gulf of Mexico
relation mouth of the watercourse
['Murrabit River', 'mouth of the watercourse', 'Gulf of Mexico']
ASK WHERE { resource:Gulf_of_Mexico property:mouth_of_the_watercourse resource:Murrabit_River }
[]
watercourse
SYSTEM
NO
(Q21906665,P403,Q12630)
action is_in
entity Q21906665
action find
entity Q12630
relation P403
[ANSWER]
['Q21906665', 'P403', 'Q12630']
ASK WHERE { resource:Q12630 property:P403 resource:Q21906665 }
No
action is_in
entity Murrabit River
action find
entity Gulf of Mexico
relation mouth of the watercourse
['Murrabit River', 'mouth of the watercourse', 'Gulf of Mexico']
ASK WHERE { resource:Gulf_of_Mexico property:mouth_of_the_watercourse resource:Murrabit_River }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q37043 Q12660330
P190
Q56061
USER
Is Kačėnai partner town of Tallahassee ?
(Q37043,P190,Q12660330)
action is_in
entity Q12660330
action find
entity Q37043
relation P190
['Q37043', 'P190', 'Q12660330']
ASK WHERE { resource:Q37043 property:P190 resource:Q12660330 }
Tallahassee Kačėnai
action is_in
entity Kačėnai
action find
entity Tallahassee
relation sister city
['Tallahassee', 'sister city', 'Kačėnai']
ASK WHERE { resource:Tallahassee property:sister_city resource:Kačėnai }
[]
administrative territorial entity
SYSTEM
NO
(Q37043,P190,Q12660330)
action is_in
entity Q12660330
action find
entity Q37043
relation P190
[ANSWER]
['Q37043', 'P190', 'Q12660330']
ASK WHERE { resource:Q37043 property:P190 resource:Q12660330 }
No
action is_in
entity Kačėnai
action find
entity Tallahassee
relation sister city
['Tallahassee', 'sister city', 'Kačėnai']
ASK WHERE { resource:Tallahassee property:sister_city resource:Kačėnai }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P706
Q56061 Q15324
USER
How many administrative territories are atleast 1 body of water located on ?
(c(Q15324),P706,c(Q56061))
action count
action atleast
action find_reverse_tuple_counts
relation P706
type Q56061
type Q15324
value 1
[{'concept': 'Q15324'}, 'P706', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?h ) WHERE { ?r property:P706 ?p . ?p rdf:type ontology:Q56061 . ?r rdf:type ontology:Q15324 } GROUP BY ?p } . FILTER ( ?h >= 1 ) }
action count
action atleast
action find_reverse_tuple_counts
relation located on terrain feature
type administrative territorial entity
type body of water
value 1
[{'concept': 'body of water'}, 'located on terrain feature', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?h ) WHERE { ?r property:located_on_terrain_feature ?p . ?p rdf:type ontology:administrative_territorial_entity . ?r rdf:type ontology:body_of_water } GROUP BY ?p } . FILTER ( ?h >= 1 ) }
[]
administrative territorial entity body of water
SYSTEM
2
Q463937 Q849441
(c(Q15324),P706,c(Q56061))
action count
action atleast
action find_reverse_tuple_counts
relation P706
type Q56061
type Q15324
value 1
[ANSWER]
[{'concept': 'Q15324'}, 'P706', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?h ) WHERE { ?r property:P706 ?p . ?p rdf:type ontology:Q56061 . ?r rdf:type ontology:Q15324 } GROUP BY ?p } . FILTER ( ?h >= 1 ) }
Saint Thomas Saint John
2
action count
action atleast
action find_reverse_tuple_counts
relation located on terrain feature
type administrative territorial entity
type body of water
value 1
[{'concept': 'body of water'}, 'located on terrain feature', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?h ) WHERE { ?r property:located_on_terrain_feature ?p . ?p rdf:type ontology:administrative_territorial_entity . ?r rdf:type ontology:body_of_water } GROUP BY ?p } . FILTER ( ?h >= 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q502895 Q223557 Q56061
USER
Which administrative territories come from around 3 people or physical objects ?
(c(Q56061),P138,c(Q502895)|c(Q223557))
action approx
action union
action find_tuple_counts
relation P138
type Q56061
type Q502895
action find_tuple_counts
relation P138
type Q56061
type Q223557
value 3
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q502895'}, {'concept': 'Q223557'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?z ) WHERE { { ?e property:P138 ?u . ?e rdf:type ontology:Q56061 . ?u rdf:type ontology:Q502895 } UNION { ?e rdf:type ontology:Q56061 . ?u rdf:type ontology:Q223557 . ?e property:P138 ?u } } GROUP BY ?e } . FILTER ( ?z = 3 ) }
action approx
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type common name
action find_tuple_counts
relation named after
type administrative territorial entity
type physical object
value 3
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'common name'}, {'concept': 'physical object'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?z ) WHERE { { ?e property:named_after ?u . ?e rdf:type ontology:administrative_territorial_entity . ?u rdf:type ontology:common_name } UNION { ?e rdf:type ontology:administrative_territorial_entity . ?u rdf:type ontology:physical_object . ?e property:named_after ?u } } GROUP BY ?e } . FILTER ( ?z = 3 ) }
[]
common name physical object administrative territorial entity
Q158292
SYSTEM
Kropyvnytskyi
Q158292
(c(Q56061),P138,c(Q502895)|c(Q223557))
action approx
action union
action find_tuple_counts
relation P138
type Q56061
type Q502895
action find_tuple_counts
relation P138
type Q56061
type Q223557
value 3
[ANSWER]
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q502895'}, {'concept': 'Q223557'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?z ) WHERE { { ?e property:P138 ?u . ?e rdf:type ontology:Q56061 . ?u rdf:type ontology:Q502895 } UNION { ?e rdf:type ontology:Q56061 . ?u rdf:type ontology:Q223557 . ?e property:P138 ?u } } GROUP BY ?e } . FILTER ( ?z = 3 ) }
Kropyvnytskyi
Kropyvnytskyi
action approx
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type common name
action find_tuple_counts
relation named after
type administrative territorial entity
type physical object
value 3
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'common name'}, {'concept': 'physical object'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?z ) WHERE { { ?e property:named_after ?u . ?e rdf:type ontology:administrative_territorial_entity . ?u rdf:type ontology:common_name } UNION { ?e rdf:type ontology:administrative_territorial_entity . ?u rdf:type ontology:physical_object . ?e property:named_after ?u } } GROUP BY ?e } . FILTER ( ?z = 3 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q866727 Q12630
P361 P403
Q15324
USER
Which bodies of water are Gulf of Mexico a part of or do Bistricë drain into ?
OR((Q12630,P361,c(Q15324)), (Q866727,P403,c(Q15324)))
action filter_type
action union
action find
entity Q12630
relation P361
action find
entity Q866727
relation P403
type Q15324
{'OR': [['Q12630', 'P361', {'concept': 'Q15324'}], ['Q866727', 'P403', {'concept': 'Q15324'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15324 . { { resource:Q12630 property:P361 ?h } UNION { resource:Q866727 property:P403 ?h } } }
Bistricë Gulf of Mexico
action filter_type
action union
action find
entity Gulf of Mexico
relation part of
action find
entity Bistricë
relation mouth of the watercourse
type body of water
{'OR': [['Gulf of Mexico', 'part of', {'concept': 'body of water'}], ['Bistricë', 'mouth of the watercourse', {'concept': 'body of water'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:body_of_water . { { resource:Gulf_of_Mexico property:part_of ?h } UNION { resource:Bistricë property:mouth_of_the_watercourse ?h } } }
[]
body of water
Q470088 Q37495
SYSTEM
American Mediterranean Sea, Ionian Sea
Q470088 Q37495
OR((Q12630,P361,c(Q15324)), (Q866727,P403,c(Q15324)))
action filter_type
action union
action find
entity Q12630
relation P361
action find
entity Q866727
relation P403
type Q15324
[ANSWERS]
{'OR': [['Q12630', 'P361', {'concept': 'Q15324'}], ['Q866727', 'P403', {'concept': 'Q15324'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15324 . { { resource:Q12630 property:P361 ?h } UNION { resource:Q866727 property:P403 ?h } } }
American Mediterranean Sea Ionian Sea
American Mediterranean Sea Ionian Sea
action filter_type
action union
action find
entity Gulf of Mexico
relation part of
action find
entity Bistricë
relation mouth of the watercourse
type body of water
{'OR': [['Gulf of Mexico', 'part of', {'concept': 'body of water'}], ['Bistricë', 'mouth of the watercourse', {'concept': 'body of water'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:body_of_water . { { resource:Gulf_of_Mexico property:part_of ?h } UNION { resource:Bistricë property:mouth_of_the_watercourse ?h } } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q812
P21 P20
Q502895
USER
Which people have Florida as the location of death and are a male ?
AND((c(Q502895),P20,Q812), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q812
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q812'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P20 resource:Q812 . ?f property:P21 resource:Q6581097 }
male Florida
action filter_type
action intersection
action find_reverse
entity Florida
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Florida'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:place_of_death resource:Florida . ?f property:gender resource:male }
[]
common name
Q1365108 Q3141567 Q7357447 Q7152749 Q7159775 Q1684407 Q1501397 Q1387812 Q5734627 Q2926487
SYSTEM
Some of them are Gil Kane, Howard Jackson, Rodrigo del Junco, Paul Nowak, Pedro Menéndez de Márquez, John Sinibaldi, Eugene Grazia, George E. Stratemeyer, Herbert J. Krapp, Bruce Waibel
Q4913266 Q7159775 Q5142676 Q1370702 Q1562631 Q16984069 Q604242 Q5210638 Q1387812 Q360429 Q932597 Q1453742 Q16015605 Q1314683 Q705653 Q3305299 Q5921949 Q1385771 Q16551896 Q496820 Q709070 Q573583 Q4805387 Q704418 Q1257887 Q5538091 Q8009496 Q368023 Q5919751 Q3607769 Q2586308 Q1242234 Q7595814 Q16002975 Q2907620 Q2574601 Q63452 Q711519 Q3091876 Q18086292 Q7087529 Q7827095 Q1443884 Q1332981 Q7558824 Q6304254 Q143548 Q2926487 Q380723 Q16031375 Q7149409 Q2544393 Q1166960 Q586503 Q15844774 Q7152749 Q888100 Q7347242 Q1634306 Q1286904 Q3064064 Q18887990 Q5671917 Q5019153 Q719676 Q3388947 Q17489305 Q1066342 Q359321 Q2831076 Q3141567 Q3339722 Q16616182 Q7406404 Q645282 Q2526508 Q3809229 Q1226282 Q1035318 Q3376920 Q7782015 Q185714 Q1365108 Q6389812 Q3438745 Q1385132 Q5301421 Q2218305 Q16655509 Q1500880 Q7357447 Q7326415 Q6185551 Q1399654 Q5734627 Q190495 Q2066943 Q121466 Q1684407 Q111139 Q38253 Q1501397 Q711182 Q1655816 Q335165 Q1101372 Q4713538 Q1282549 Q516129 Q1220080 Q950622 Q724395 Q1370842 Q762236 Q1348898 Q150272 Q17425038 Q2638911 Q1277983 Q1225923 Q6696148 Q16031734 Q5984214 Q3127945 Q202212 Q1523814 Q1985334 Q9374885 Q695510 Q586724 Q639392 Q1631740 Q1148676 Q6283087 Q16016442 Q1364205
AND((c(Q502895),P20,Q812), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q812
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS]
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q812'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P20 resource:Q812 . ?f property:P21 resource:Q6581097 }
Billy Ruge Pedro Menéndez de Márquez Cole Palen Magnus Goodman H. W. Katz Lou Rell W. Ryerson Johnson Dale Sommers George E. Stratemeyer Symphony Sid Harry Spanjer Gabriel Brown James H. Pruitt Roger Clarke Art Mooney Melville Spence Howie Auer Gunnar Bärlund Emilio Messina Andreas Digeser Arthur D. Simons Anthony Manfreda Ashley Chadbourne McKinley Robert A. Good Aleksander Ford George Conrad Westervelt William G. Bainbridge Bill Harris Howard Gilman Alan R. Katritzky Bobby Rhine Karl U. Smith Stacey Arceneaux Lock Davidson Bob Dailey Wilhelm Guido Regendanz Harry Earles John C. Slater Ron Palillo Ralph Lyonel Brydges Oliver Farrar Emerson Torrey Mosvold Frank King Elmer Schoebel Solon Toothaker Kimball Judson LaMoure Nicholas Schenck Bruce Waibel Hart Crane Edwin May Paul Blanshard Walter Gaßmann Darwyn Cooke Blackjack Mulligan John Heermans Paul Nowak Cary A. Hardee Robert Macauley Hugh Edwin Munroe Walter Duranty Andrzej Wohl Arthur Harris Harry Revier Caldwell Hart Colt Hal Foster İlhan Arsel Danny Murphy Charles W. Engelhard, Jr. David McCampbell Albert Cushing Read Howard Jackson Nick Cardy Tommaso Bordonaro Salvador E. Felices Andy Mapple Vincent Alo John E. Herlitz MacKinlay Kantor Géza Henni Stephen V. Harkness Theodore Roscoe Daniel Keyes Gil Kane Kenneth Althaus Roger Bowen Tom Moffitt Douglas Dummett Samuel Gibbs French George Letchworth English Émile Genest Rodrigo del Junco Richard Henyard Jerzy Tumaniszwili Red Grange Herbert J. Krapp Henry Way Kendall William Elliot Griffis Gerhard Mertins John Sinibaldi Harry Wüstenhagen Leroy Shield Eugene Grazia Arthur Rollini John Roselli Osceola Clifton Fadiman Alden Caldwell Ed Walsh András Szente Diebold von Erlach Bernard Castro Keith Laumer Lloyd Spooner August Kammer Theodore M. Davis Frankie Yankovic Diego de Velasco Albert Tannenbaum Martin Caidin Dimitri Rebikoff Lucas Fernando Palacios Leander P. Jones Luis Quinn Harry Woodburn Chase Cal Hubbard Gil Elvgren Fumio Ito William Withers Arnold Johnson Roy Axe Abdul Reza Pahlavi Howard Charles Goodman Cyril Romney Joseph Finegan Marty Furgol Hervey Allen
Gil Kane Howard Jackson Rodrigo del Junco Paul Nowak Pedro Menéndez de Márquez John Sinibaldi Eugene Grazia George E. Stratemeyer Herbert J. Krapp Bruce Waibel
action filter_type
action intersection
action find_reverse
entity Florida
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Florida'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:place_of_death resource:Florida . ?f property:gender resource:male }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1387812
P607
Q350604 Q198
USER
How many armed conflicts and wars was George E. Stratemeyer a part of ?
(Q1387812,P607,c(Q350604)) (Q1387812,P607,c(Q198))
action count
action union
action filter_type
action find
entity Q1387812
relation P607
type Q350604
action filter_type
action find
entity Q1387812
relation P607
type Q198
['Q1387812', 'P607', {'concept': 'Q350604'}] ['Q1387812', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t rdf:type ?s . VALUES ( ?s ) { ( ontology:Q198 ) ( ontology:Q350604 ) } }
George E. Stratemeyer
action count
action union
action filter_type
action find
entity George E. Stratemeyer
relation conflict
type armed conflict
action filter_type
action find
entity George E. Stratemeyer
relation conflict
type war
['George E. Stratemeyer', 'conflict', {'concept': 'armed conflict'}] ['George E. Stratemeyer', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t rdf:type ?s . VALUES ( ?s ) { ( ontology:war ) ( ontology:armed_conflict ) } }
[]
armed conflict war
SYSTEM
1 armed conflicts and 2 wars
Q361 Q362 Q8663
(Q1387812,P607,c(Q350604)) (Q1387812,P607,c(Q198))
action count
action union
action filter_type
action find
entity Q1387812
relation P607
type Q350604
action filter_type
action find
entity Q1387812
relation P607
type Q198
[ANSWER]
['Q1387812', 'P607', {'concept': 'Q350604'}] ['Q1387812', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t rdf:type ?s . VALUES ( ?s ) { ( ontology:Q198 ) ( ontology:Q350604 ) } }
World War I World War II Korean War
1 armed conflicts and 2 wars
action count
action union
action filter_type
action find
entity George E. Stratemeyer
relation conflict
type armed conflict
action filter_type
action find
entity George E. Stratemeyer
relation conflict
type war
['George E. Stratemeyer', 'conflict', {'concept': 'armed conflict'}] ['George E. Stratemeyer', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t rdf:type ?s . VALUES ( ?s ) { ( ontology:war ) ( ontology:armed_conflict ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1910160 Q3141567
P19
Q56061
USER
Which administrative territories are the places of birth of Howard Jackson or Matthias Musche ?
OR((Q3141567,P19,c(Q56061)), (Q1910160,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3141567
relation P19
action find
entity Q1910160
relation P19
type Q56061
{'OR': [['Q3141567', 'P19', {'concept': 'Q56061'}], ['Q1910160', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?x WHERE { { ?u property:P19 ?x . VALUES ( ?u ) { ( resource:Q3141567 ) ( resource:Q1910160 ) } } . ?x rdf:type ontology:Q56061 }
Matthias Musche Howard Jackson
action filter_type
action union
action find
entity Howard Jackson
relation place of birth
action find
entity Matthias Musche
relation place of birth
type administrative territorial entity
{'OR': [['Howard Jackson', 'place of birth', {'concept': 'administrative territorial entity'}], ['Matthias Musche', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { ?u property:place_of_birth ?x . VALUES ( ?u ) { ( resource:Howard_Jackson ) ( resource:Matthias_Musche ) } } . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q487988 Q1733
SYSTEM
St. Augustine, Magdeburg
Q487988 Q1733
OR((Q3141567,P19,c(Q56061)), (Q1910160,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3141567
relation P19
action find
entity Q1910160
relation P19
type Q56061
[ANSWERS]
{'OR': [['Q3141567', 'P19', {'concept': 'Q56061'}], ['Q1910160', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?x WHERE { { ?u property:P19 ?x . VALUES ( ?u ) { ( resource:Q3141567 ) ( resource:Q1910160 ) } } . ?x rdf:type ontology:Q56061 }
St. Augustine Magdeburg
St. Augustine Magdeburg
action filter_type
action union
action find
entity Howard Jackson
relation place of birth
action find
entity Matthias Musche
relation place of birth
type administrative territorial entity
{'OR': [['Howard Jackson', 'place of birth', {'concept': 'administrative territorial entity'}], ['Matthias Musche', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { ?u property:place_of_birth ?x . VALUES ( ?u ) { ( resource:Howard_Jackson ) ( resource:Matthias_Musche ) } } . ?x rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1733 Q6874
P276
Q1190554
USER
How many events are located at Magdeburg or Rastatt ?
(c(Q1190554),P276,Q1733) (c(Q1190554),P276,Q6874)
action count
action union
action filter_type
action find_reverse
entity Q1733
relation P276
type Q1190554
action filter_type
action find_reverse
entity Q6874
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q1733'] [{'concept': 'Q1190554'}, 'P276', 'Q6874']
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { ?p property:P276 ?m . VALUES ( ?m ) { ( resource:Q1733 ) ( resource:Q6874 ) } }
Magdeburg Rastatt
action count
action union
action filter_type
action find_reverse
entity Magdeburg
relation location
type event
action filter_type
action find_reverse
entity Rastatt
relation location
type event
[{'concept': 'event'}, 'location', 'Magdeburg'] [{'concept': 'event'}, 'location', 'Rastatt']
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { ?p property:location ?m . VALUES ( ?m ) { ( resource:Magdeburg ) ( resource:Rastatt ) } }
[]
event
SYSTEM
2
Q698045 Q4872167
(c(Q1190554),P276,Q1733) (c(Q1190554),P276,Q6874)
action count
action union
action filter_type
action find_reverse
entity Q1733
relation P276
type Q1190554
action filter_type
action find_reverse
entity Q6874
relation P276
type Q1190554
[ANSWER]
[{'concept': 'Q1190554'}, 'P276', 'Q1733'] [{'concept': 'Q1190554'}, 'P276', 'Q6874']
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { ?p property:P276 ?m . VALUES ( ?m ) { ( resource:Q1733 ) ( resource:Q6874 ) } }
Sack of Magdeburg Battle of Rastatt
2
action count
action union
action filter_type
action find_reverse
entity Magdeburg
relation location
type event
action filter_type
action find_reverse
entity Rastatt
relation location
type event
[{'concept': 'event'}, 'location', 'Magdeburg'] [{'concept': 'event'}, 'location', 'Rastatt']
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { ?p property:location ?m . VALUES ( ?m ) { ( resource:Magdeburg ) ( resource:Rastatt ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1733
P17
Q7275
USER
Which states are Magdeburg situated in ?
(Q1733,P17,c(Q7275))
action filter_type
action find
entity Q1733
relation P17
type Q7275
['Q1733', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?v WHERE { resource:Q1733 property:P17 ?v . ?v rdf:type ontology:Q7275 }
Magdeburg
action filter_type
action find
entity Magdeburg
relation country
type state
['Magdeburg', 'country', {'concept': 'state'}]
SELECT DISTINCT ?v WHERE { resource:Magdeburg property:country ?v . ?v rdf:type ontology:state }
[]
state
Q16957 Q41304 Q7318
SYSTEM
East Germany, Weimar Republic, Nazi Germany
Q27306 Q157367 Q12548 Q41304 Q153943 Q7318 Q16957
(Q1733,P17,c(Q7275))
action filter_type
action find
entity Q1733
relation P17
type Q7275
[ANSWERS]
['Q1733', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?v WHERE { resource:Q1733 property:P17 ?v . ?v rdf:type ontology:Q7275 }
Kingdom of Prussia Brandenburg-Prussia Holy Roman Empire Weimar Republic Kingdom of Westphalia Nazi Germany East Germany
East Germany Weimar Republic Nazi Germany
action filter_type
action find
entity Magdeburg
relation country
type state
['Magdeburg', 'country', {'concept': 'state'}]
SELECT DISTINCT ?v WHERE { resource:Magdeburg property:country ?v . ?v rdf:type ontology:state }
[]