Simple Question (Direct)
Simple Question
Q5231774
P54
Q12973014
USER
Which sports team is David Broll a member of ?
(Q5231774,P54,c(Q12973014))
action filter_type
action find
entity Q5231774
relation P54
type Q12973014
['Q5231774', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12973014 . resource:Q5231774 property:P54 ?r }
David Broll
action filter_type
action find
entity David Broll
relation member of sports team
type sports team
['David Broll', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sports_team . resource:David_Broll property:member_of_sports_team ?r }
[]
sports team
Q203384
SYSTEM
Toronto Maple Leafs
Q203384
(Q5231774,P54,c(Q12973014))
action filter_type
action find
entity Q5231774
relation P54
type Q12973014
The [ANSWER] is David Broll a member of
['Q5231774', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12973014 . resource:Q5231774 property:P54 ?r }
Toronto Maple Leafs
The Toronto Maple Leafs is David Broll a member of
Toronto Maple Leafs
action filter_type
action find
entity David Broll
relation member of sports team
type sports team
['David Broll', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sports_team . resource:David_Broll property:member_of_sports_team ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5231774
P106
Q12737077
USER
Which occupation is the profession of David Broll ?
(Q5231774,P106,c(Q12737077))
action filter_type
action find
entity Q5231774
relation P106
type Q12737077
['Q5231774', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q5231774 property:P106 ?v }
David Broll
action filter_type
action find
entity David Broll
relation occupation
type occupation
['David Broll', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:David_Broll property:occupation ?v }
[]
occupation
Q11774891
SYSTEM
ice hockey player
Q11774891
(Q5231774,P106,c(Q12737077))
action filter_type
action find
entity Q5231774
relation P106
type Q12737077
The [ANSWER] is the profession of David Broll
['Q5231774', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q5231774 property:P106 ?v }
ice hockey player
The ice hockey player is the profession of David Broll
ice hockey player
action filter_type
action find
entity David Broll
relation occupation
type occupation
['David Broll', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:David_Broll property:occupation ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5231774
P21
Q290
USER
Which sex does that person possess ?
(Q11774891,P21,c(Q290))
action filter_type
action find
entity Q5231774
relation P21
type Q290
['Q11774891', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q290 . resource:Q5231774 property:P21 ?e }
David Broll
action filter_type
action find
entity David Broll
relation gender
type sex
['ice hockey player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sex . resource:David_Broll property:gender ?e }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q11774891,P21,c(Q290))
action filter_type
action find
entity Q5231774
relation P21
type Q290
That person possesses a [ANSWER]
['Q11774891', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q290 . resource:Q5231774 property:P21 ?e }
male
That person possesses a male
male
action filter_type
action find
entity David Broll
relation gender
type sex
['ice hockey player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sex . resource:David_Broll property:gender ?e }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
How many people are the names of person who are the patron saints of approximately 2 occupations ?
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 2
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { FILTER ( ?e = 2 ) . { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?e ) WHERE { ?o property:P417 ?p . ?p rdf:type ontology:Q502895 . ?o rdf:type ontology:Q12737077 } GROUP BY ?p } }
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 2
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { FILTER ( ?e = 2 ) . { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?e ) WHERE { ?o property:patron_saint ?p . ?p rdf:type ontology:common_name . ?o rdf:type ontology:occupation } GROUP BY ?p } }
[]
common name occupation
SYSTEM
10
Q229190 Q328804 Q166876 Q170547 Q183240 Q196653 Q44265 Q744884 Q151967 Q44248
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 2
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { FILTER ( ?e = 2 ) . { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?e ) WHERE { ?o property:P417 ?p . ?p rdf:type ontology:Q502895 . ?o rdf:type ontology:Q12737077 } GROUP BY ?p } }
Catherine of Siena John the Evangelist Isidore of Seville Anthony the Great Saint Lucy Saint Veronica Benedict of Nursia Zita Saint Blaise Jerome
10
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 2
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { FILTER ( ?e = 2 ) . { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?e ) WHERE { ?o property:patron_saint ?p . ?p rdf:type ontology:common_name . ?o rdf:type ontology:occupation } GROUP BY ?p } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1566823 Q5231774
P27
Q1048835
USER
Which political territories are the native countriesof David Broll or Ivana Žigon ?
OR((Q5231774,P27,c(Q1048835)), (Q1566823,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q5231774
relation P27
action find
entity Q1566823
relation P27
type Q1048835
{'OR': [['Q5231774', 'P27', {'concept': 'Q1048835'}], ['Q1566823', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q1566823 property:P27 ?g } UNION { resource:Q5231774 property:P27 ?g } } . ?g rdf:type ontology:Q1048835 }
Ivana Žigon David Broll
action filter_type
action union
action find
entity David Broll
relation country of citizenship
action find
entity Ivana Žigon
relation country of citizenship
type political territorial entity
{'OR': [['David Broll', 'country of citizenship', {'concept': 'political territorial entity'}], ['Ivana Žigon', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Ivana_Žigon property:country_of_citizenship ?g } UNION { resource:David_Broll property:country_of_citizenship ?g } } . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16 Q838261
SYSTEM
Canada, Federal Republic of Yugoslavia
Q16 Q838261
OR((Q5231774,P27,c(Q1048835)), (Q1566823,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q5231774
relation P27
action find
entity Q1566823
relation P27
type Q1048835
[ANSWERS] are the native countriesof David Broll or Ivana Žigon
{'OR': [['Q5231774', 'P27', {'concept': 'Q1048835'}], ['Q1566823', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q1566823 property:P27 ?g } UNION { resource:Q5231774 property:P27 ?g } } . ?g rdf:type ontology:Q1048835 }
Canada Federal Republic of Yugoslavia
Canada and Federal Republic of Yugoslavia are the native countriesof David Broll or Ivana Žigon
Canada Federal Republic of Yugoslavia
action filter_type
action union
action find
entity David Broll
relation country of citizenship
action find
entity Ivana Žigon
relation country of citizenship
type political territorial entity
{'OR': [['David Broll', 'country of citizenship', {'concept': 'political territorial entity'}], ['Ivana Žigon', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Ivana_Žigon property:country_of_citizenship ?g } UNION { resource:David_Broll property:country_of_citizenship ?g } } . ?g rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q1048835 Q1048835
USER
Which political territories have diplomatic relationships with max number of political territories ?
(c(Q1048835),P530,Q766)
action argmax
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q766']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?a ) WHERE { ?e property:P530 ?u . ?e rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q1048835 } GROUP BY ?e } . FILTER ( ?a = ?i ) . { SELECT DISTINCT ( MAX ( ?j ) AS ?i ) { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?j ) WHERE { ?l property:P530 ?x . ?l rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q1048835 } GROUP BY ?l } } }
action argmax
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?a ) WHERE { ?e property:diplomatic_relation ?u . ?e rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:political_territorial_entity } GROUP BY ?e } . FILTER ( ?a = ?i ) . { SELECT DISTINCT ( MAX ( ?j ) AS ?i ) { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?j ) WHERE { ?l property:diplomatic_relation ?x . ?l rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:political_territorial_entity } GROUP BY ?l } } }
[]
political territorial entity political territorial entity
Q408
SYSTEM
Australia
Q408
(c(Q1048835),P530,Q766)
action argmax
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
[ANSWER] have diplomatic relationships with max number of political territories
[{'concept': 'Q1048835'}, 'P530', 'Q766']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?a ) WHERE { ?e property:P530 ?u . ?e rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q1048835 } GROUP BY ?e } . FILTER ( ?a = ?i ) . { SELECT DISTINCT ( MAX ( ?j ) AS ?i ) { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?j ) WHERE { ?l property:P530 ?x . ?l rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q1048835 } GROUP BY ?l } } }
Australia
Australia have diplomatic relationships with max number of political territories
Australia
action argmax
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?a ) WHERE { ?e property:diplomatic_relation ?u . ?e rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:political_territorial_entity } GROUP BY ?e } . FILTER ( ?a = ?i ) . { SELECT DISTINCT ( MAX ( ?j ) AS ?i ) { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?j ) WHERE { ?l property:diplomatic_relation ?x . ?l rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:political_territorial_entity } GROUP BY ?l } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P706
Q15324 Q56061 Q1048835
USER
How many political territories are located in atmost 1 bodies of water or administrative territories ?
(c(Q1048835),P706,c(Q15324)|c(Q56061))
action count
action atmost
action union
action find_tuple_counts
relation P706
type Q1048835
type Q15324
action find_tuple_counts
relation P706
type Q1048835
type Q56061
value 1
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q15324'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { FILTER ( ?i <= 1 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) ?l WHERE { VALUES ( ?x ) { ( ontology:Q15324 ) ( ontology:Q56061 ) } . ?k rdf:type ?x } GROUP BY ?l } }
action count
action atmost
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type body of water
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type administrative territorial entity
value 1
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'body of water'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { FILTER ( ?i <= 1 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) ?l WHERE { VALUES ( ?x ) { ( ontology:body_of_water ) ( ontology:administrative_territorial_entity ) } . ?k rdf:type ?x } GROUP BY ?l } }
[]
body of water administrative territorial entity political territorial entity
SYSTEM
106
Q927498 Q6661154 Q1747689 Q983465 Q943922 Q983461 Q753702 Q950889 Q385923 Q49567 Q52626 Q13353 Q6139 Q847324 Q785 Q847321 Q850989 Q983467 Q743716 Q734805 Q904566 Q555140 Q983463 Q13737 Q493017 Q42314 Q950940 Q669078 Q851224 Q898856 Q950951 Q843868 Q945653 Q37362 Q715970 Q595424 Q168856 Q5785 Q3405693 Q7198529 Q832991 Q13751 Q13752 Q975679 Q601112 Q984496 Q743741 Q988714 Q25228 Q596885 Q941533 Q783498 Q692920 Q850939 Q988702 Q2451327 Q925773 Q851011 Q1823 Q13844 Q611123 Q233337 Q202023 Q987394 Q691 Q899884 Q837121 Q950901 Q837125 Q847317 Q983633 Q491786 Q983631 Q3724 Q983635 Q8583 Q652988 Q832967 Q185409 Q769 Q170213 Q766 Q9676 Q984485 Q168159 Q983625 Q983628 Q8593 Q656449 Q988688 Q18221 Q778 Q213361 Q984493 Q984491 Q984499 Q3396832 Q9337 Q5700 Q988696 Q943948 Q697126 Q25305 Q616408 Q610838 Q920971
(c(Q1048835),P706,c(Q15324)|c(Q56061))
action count
action atmost
action union
action find_tuple_counts
relation P706
type Q1048835
type Q15324
action find_tuple_counts
relation P706
type Q1048835
type Q56061
value 1
[ANSWER]
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q15324'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { FILTER ( ?i <= 1 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) ?l WHERE { VALUES ( ?x ) { ( ontology:Q15324 ) ( ontology:Q56061 ) } . ?k rdf:type ?x } GROUP BY ?l } }
Llucmajor Llanddeusant, Carmarthenshire Ancient Rome Santa Eulària des Riu Sineu Ferreries East New Britain Consell Alcúdia Manacor Formentera Montserrat Havelland Alaior Jersey Esporles Campanet Montuïri Campos Sant Antoni de Portmany Brecqhou Capileira Sant Llorenç des Cardassar Basilan Andratx Channel Islands Marratxí Maria de la Salut Costitx Jethou Escorca Wrexham County Borough Es Mercadal Akrotiri and Dhekelia Artà Muro, Majorca Chernivtsi Oblast Cayman Islands Sark Pistyll Sóller Biliran Bohol Vilafranca de Bonany Pollença Selva Felanitx Lloret de Vistalegre Anguilla Blaenau Gwent County Borough Es Castell Ses Salines Sant Joan Alaró Estellencs Sé Porreres Algaida Aceh Leyte Petra, Majorca Deià Herm Sencelles Papua New Guinea Ciutadella de Menorca Binissalem Fornalutx Bunyola Lloseta Santanyí Calvià Santa Eugènia West Java Province Sant Josep de sa Talaia Vulkaneifel Búger Valldemossa Llubí Grenada Zakarpattia Oblast Jamaica Isle of Man Es Migjorn Gran Anglesey Puigpunyent Sant Joan de Labritja Mayen-Koblenz Ariany, Majorca Inca Turks and Caicos Islands The Bahamas Pembrokeshire Sa Pobla Santa Margalida Sant Lluís Tudweiliog Flemish Region Lapland Mancor de la Vall Santa Maria del Camí Bridgend County Borough British Virgin Islands Banyalbufar Son Servera Capdepera
106
action count
action atmost
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type body of water
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type administrative territorial entity
value 1
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'body of water'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { FILTER ( ?i <= 1 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) ?l WHERE { VALUES ( ?x ) { ( ontology:body_of_water ) ( ontology:administrative_territorial_entity ) } . ?k rdf:type ?x } GROUP BY ?l } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q408
P1532
Q502895
USER
Which people represent Australia ?
(c(Q502895),P1532,Q408)
action filter_type
action find_reverse
entity Q408
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q408']
SELECT DISTINCT ?o WHERE { ?o property:P1532 resource:Q408 . ?o rdf:type ontology:Q502895 }
Australia
action filter_type
action find_reverse
entity Australia
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Australia']
SELECT DISTINCT ?o WHERE { ?o property:country_for_sport resource:Australia . ?o rdf:type ontology:common_name }
[]
common name
Q23714540 Q26464637 Q26218001
SYSTEM
Sue Hobson, Sharon Stewart, Jenny Laurendet
Q23714540 Q952636 Q21207539 Q26218001 Q20730516 Q7027756 Q26464637 Q23833732 Q23418594 Q26458209 Q22002433 Q23585219 Q26111349 Q6451041
(c(Q502895),P1532,Q408)
action filter_type
action find_reverse
entity Q408
relation P1532
type Q502895
The [ANSWERS] represent Australia
[{'concept': 'Q502895'}, 'P1532', 'Q408']
SELECT DISTINCT ?o WHERE { ?o property:P1532 resource:Q408 . ?o rdf:type ontology:Q502895 }
Sue Hobson Simon Whitlock Jessica Thornton Jenny Laurendet Joshua Clarke Nick Porzig Sharon Stewart Sue Cook Chelsea Jaensch Luke Mathews Nicholas Hudson Jack Downey Rhydian Cowley Kyle Anderson
The Sue Hobson, Sharon Stewart and Jenny Laurendet represent Australia
Sue Hobson Sharon Stewart Jenny Laurendet
action filter_type
action find_reverse
entity Australia
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Australia']
SELECT DISTINCT ?o WHERE { ?o property:country_for_sport resource:Australia . ?o rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q408
P1344
Q198
USER
Which wars did Australia take part in ?
(Q408,P1344,c(Q198))
action filter_type
action find
entity Q408
relation P1344
type Q198
['Q408', 'P1344', {'concept': 'Q198'}]
SELECT DISTINCT ?j WHERE { resource:Q408 property:P1344 ?j . ?j rdf:type ontology:Q198 }
Australia
action filter_type
action find
entity Australia
relation participant of
type war
['Australia', 'participant of', {'concept': 'war'}]
SELECT DISTINCT ?j WHERE { resource:Australia property:participant_of ?j . ?j rdf:type ontology:war }
[]
war
Q545449 Q17507684 Q79911
SYSTEM
Iraq War, military intervention against ISIL, Russian Civil War
Q17507684 Q545449 Q362 Q79911 Q361
(Q408,P1344,c(Q198))
action filter_type
action find
entity Q408
relation P1344
type Q198
Australia took part in [ANSWERS]
['Q408', 'P1344', {'concept': 'Q198'}]
SELECT DISTINCT ?j WHERE { resource:Q408 property:P1344 ?j . ?j rdf:type ontology:Q198 }
military intervention against ISIL Iraq War World War II Russian Civil War World War I
Australia took part in Iraq War, military intervention against ISIL and Russian Civil War
Iraq War military intervention against ISIL Russian Civil War
action filter_type
action find
entity Australia
relation participant of
type war
['Australia', 'participant of', {'concept': 'war'}]
SELECT DISTINCT ?j WHERE { resource:Australia property:participant_of ?j . ?j rdf:type ontology:war }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q408
P137
Q3084961
USER
Which product linings were managed by that political territory ?
(c(Q3084961),P137,Q545449) (c(Q3084961),P137,Q17507684) (c(Q3084961),P137,Q79911)
action filter_type
action find_reverse
entity Q408
relation P137
type Q3084961
[{'concept': 'Q3084961'}, 'P137', 'Q545449'] [{'concept': 'Q3084961'}, 'P137', 'Q17507684'] [{'concept': 'Q3084961'}, 'P137', 'Q79911']
SELECT DISTINCT ?c WHERE { ?c property:P137 resource:Q408 . ?c rdf:type ontology:Q3084961 }
Australia
action filter_type
action find_reverse
entity Australia
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Iraq War'] [{'concept': 'product lining'}, 'operator', 'military intervention against ISIL'] [{'concept': 'product lining'}, 'operator', 'Russian Civil War']
SELECT DISTINCT ?c WHERE { ?c property:operator resource:Australia . ?c rdf:type ontology:product_lining }
[]
product lining
Q159129 Q182027 Q976898
SYSTEM
Sea King, C-130 Hercules, Vega
Q694356 Q398965 Q687743 Q211369 Q976898 Q699843 Q1094597 Q189491 Q270990 Q831667 Q6492 Q629539 Q159129 Q17487802 Q17407104 Q15887932 Q660969 Q39668 Q159601 Q209613 Q182027 Q15817988 Q1188742
(c(Q3084961),P137,Q545449) (c(Q3084961),P137,Q17507684) (c(Q3084961),P137,Q79911)
action filter_type
action find_reverse
entity Q408
relation P137
type Q3084961
[ANSWERS] were managed by that political territory
[{'concept': 'Q3084961'}, 'P137', 'Q545449'] [{'concept': 'Q3084961'}, 'P137', 'Q17507684'] [{'concept': 'Q3084961'}, 'P137', 'Q79911']
SELECT DISTINCT ?c WHERE { ?c property:P137 resource:Q408 . ?c rdf:type ontology:Q3084961 }
OH-58 Kiowa AW109 Hawk C-17 Globemaster III Vega Challenger 600 Super King Air UH-60 Black Hawk F-111 Aardvark SH-60 Seahawk Airbus A330 MRTT NH90 Sea King Hawk Series 100 Écureuil F/A-18A/B Hornet Bell 206 H125 Écureuil Tiger CH-47 Chinook C-130 Hercules H-60 WS-61 Sea King
Sea King, C-130 Hercules and Vega were managed by that political territory
Sea King C-130 Hercules Vega
action filter_type
action find_reverse
entity Australia
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Iraq War'] [{'concept': 'product lining'}, 'operator', 'military intervention against ISIL'] [{'concept': 'product lining'}, 'operator', 'Russian Civil War']
SELECT DISTINCT ?c WHERE { ?c property:operator resource:Australia . ?c rdf:type ontology:product_lining }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P121
Q3084961 Q2235308
USER
Which ship types handle the operation of max number of product linings ?
(c(Q2235308),P121,c(Q3084961))
action argmax
action find_tuple_counts
relation P121
type Q2235308
type Q3084961
[{'concept': 'Q2235308'}, 'P121', {'concept': 'Q3084961'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?m ) { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?e ) WHERE { ?l property:P121 ?v . ?l rdf:type ontology:Q2235308 . ?v rdf:type ontology:Q3084961 } GROUP BY ?l } } . { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?d ) WHERE { ?b property:P121 ?j . ?b rdf:type ontology:Q2235308 . ?j rdf:type ontology:Q3084961 } GROUP BY ?b } . FILTER ( ?d = ?m ) }
action argmax
action find_tuple_counts
relation item operated
type ship type
type product lining
[{'concept': 'ship type'}, 'item operated', {'concept': 'product lining'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?m ) { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?e ) WHERE { ?l property:item_operated ?v . ?l rdf:type ontology:ship_type . ?v rdf:type ontology:product_lining } GROUP BY ?l } } . { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?d ) WHERE { ?b property:item_operated ?j . ?b rdf:type ontology:ship_type . ?j rdf:type ontology:product_lining } GROUP BY ?b } . FILTER ( ?d = ?m ) }
[]
product lining ship type
Q1053842 Q928457
SYSTEM
Tarawa-class amphibious assault ship, Kiev-class aircraft carrier
Q1053842 Q928457
(c(Q2235308),P121,c(Q3084961))
action argmax
action find_tuple_counts
relation P121
type Q2235308
type Q3084961
[ANSWERS] handle the operation of max number of product linings
[{'concept': 'Q2235308'}, 'P121', {'concept': 'Q3084961'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?m ) { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?e ) WHERE { ?l property:P121 ?v . ?l rdf:type ontology:Q2235308 . ?v rdf:type ontology:Q3084961 } GROUP BY ?l } } . { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?d ) WHERE { ?b property:P121 ?j . ?b rdf:type ontology:Q2235308 . ?j rdf:type ontology:Q3084961 } GROUP BY ?b } . FILTER ( ?d = ?m ) }
Tarawa-class amphibious assault ship Kiev-class aircraft carrier
Tarawa-class amphibious assault ship and Kiev-class aircraft carrier handle the operation of max number of product linings
Tarawa-class amphibious assault ship Kiev-class aircraft carrier
action argmax
action find_tuple_counts
relation item operated
type ship type
type product lining
[{'concept': 'ship type'}, 'item operated', {'concept': 'product lining'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?m ) { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?e ) WHERE { ?l property:item_operated ?v . ?l rdf:type ontology:ship_type . ?v rdf:type ontology:product_lining } GROUP BY ?l } } . { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?d ) WHERE { ?b property:item_operated ?j . ?b rdf:type ontology:ship_type . ?j rdf:type ontology:product_lining } GROUP BY ?b } . FILTER ( ?d = ?m ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P17
Q1048835 Q914262 Q34442
USER
How many political territories do atleast 83 administrative territory of Swedens and roads belong to ?
(c(Q914262)|c(Q34442),P17,c(Q1048835))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q914262
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q34442
value 83
[[{'concept': 'Q914262'}, {'concept': 'Q34442'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?u ) AS ?d ) WHERE { VALUES ( ?r ) { ( ontology:Q914262 ) ( ontology:Q34442 ) } . ?u rdf:type ?r } GROUP BY ?m } . FILTER ( ?d >= 83 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type administrative territorial entity of Sweden
action find_reverse_tuple_counts
relation country
type political territorial entity
type road
value 83
[[{'concept': 'administrative territorial entity of Sweden'}, {'concept': 'road'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?u ) AS ?d ) WHERE { VALUES ( ?r ) { ( ontology:administrative_territorial_entity_of_Sweden ) ( ontology:road ) } . ?u rdf:type ?r } GROUP BY ?m } . FILTER ( ?d >= 83 ) }
[]
political territorial entity administrative territorial entity of Sweden road
SYSTEM
2
Q183 Q35
(c(Q914262)|c(Q34442),P17,c(Q1048835))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q914262
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q34442
value 83
[ANSWER]
[[{'concept': 'Q914262'}, {'concept': 'Q34442'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?u ) AS ?d ) WHERE { VALUES ( ?r ) { ( ontology:Q914262 ) ( ontology:Q34442 ) } . ?u rdf:type ?r } GROUP BY ?m } . FILTER ( ?d >= 83 ) }
Germany Denmark
2
action count
action atleast
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type administrative territorial entity of Sweden
action find_reverse_tuple_counts
relation country
type political territorial entity
type road
value 83
[[{'concept': 'administrative territorial entity of Sweden'}, {'concept': 'road'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?u ) AS ?d ) WHERE { VALUES ( ?r ) { ( ontology:administrative_territorial_entity_of_Sweden ) ( ontology:road ) } . ?u rdf:type ?r } GROUP BY ?m } . FILTER ( ?d >= 83 ) }
[]