Simple Question (Direct)
Simple Question
Q5311872
P20
Q56061
USER
Where did Dudley Fitts expire ?
(Q5311872,P20,c(Q56061))
action filter_type
action find
entity Q5311872
relation P20
type Q56061
['Q5311872', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q56061 . resource:Q5311872 property:P20 ?y }
Dudley Fitts
action filter_type
action find
entity Dudley Fitts
relation place of death
type administrative territorial entity
['Dudley Fitts', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:administrative_territorial_entity . resource:Dudley_Fitts property:place_of_death ?y }
[]
administrative territorial entity
Q49163
SYSTEM
Lawrence
Q49163
(Q5311872,P20,c(Q56061))
action filter_type
action find
entity Q5311872
relation P20
type Q56061
Dudley Fitts expired [ANSWER]
['Q5311872', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q56061 . resource:Q5311872 property:P20 ?y }
Lawrence
Dudley Fitts expired Lawrence
Lawrence
action filter_type
action find
entity Dudley Fitts
relation place of death
type administrative territorial entity
['Dudley Fitts', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:administrative_territorial_entity . resource:Dudley_Fitts property:place_of_death ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5311872
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q49163,P19,c(Q56061))
action filter_type
action find
entity Q5311872
relation P19
type Q56061
['Q49163', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q5311872 property:P19 ?x . ?x rdf:type ontology:Q56061 }
Dudley Fitts
action filter_type
action find
entity Dudley Fitts
relation place of birth
type administrative territorial entity
['Lawrence', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Dudley_Fitts property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q100
SYSTEM
Boston
Q100
(Q49163,P19,c(Q56061))
action filter_type
action find
entity Q5311872
relation P19
type Q56061
That person was born in [ANSWER]
['Q49163', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q5311872 property:P19 ?x . ?x rdf:type ontology:Q56061 }
Boston
That person was born in Boston
Boston
action filter_type
action find
entity Dudley Fitts
relation place of birth
type administrative territorial entity
['Lawrence', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Dudley_Fitts property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q4306859 Q5311872
P19
Q56061
USER
Or Paul Edinger?
OR((Q5311872,P19,c(Q56061)), (Q4306859,P19,c(Q56061)))
action filter_type
action union
action find
entity Q5311872
relation P19
action find
entity Q4306859
relation P19
type Q56061
{'OR': [['Q5311872', 'P19', {'concept': 'Q56061'}], ['Q4306859', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q56061 . { { resource:Q4306859 property:P19 ?v } UNION { resource:Q5311872 property:P19 ?v } } }
Paul Edinger Dudley Fitts
action filter_type
action union
action find
entity Dudley Fitts
relation place of birth
action find
entity Paul Edinger
relation place of birth
type administrative territorial entity
{'OR': [['Dudley Fitts', 'place of birth', {'concept': 'administrative territorial entity'}], ['Paul Edinger', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:administrative_territorial_entity . { { resource:Paul_Edinger property:place_of_birth ?v } UNION { resource:Dudley_Fitts property:place_of_birth ?v } } }
[]
administrative territorial entity
Q2228882 Q100
SYSTEM
Frankfort, Boston
Q2228882 Q100
OR((Q5311872,P19,c(Q56061)), (Q4306859,P19,c(Q56061)))
action filter_type
action union
action find
entity Q5311872
relation P19
action find
entity Q4306859
relation P19
type Q56061
[ANSWERS]
{'OR': [['Q5311872', 'P19', {'concept': 'Q56061'}], ['Q4306859', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q56061 . { { resource:Q4306859 property:P19 ?v } UNION { resource:Q5311872 property:P19 ?v } } }
Frankfort Boston
Frankfort Boston
action filter_type
action union
action find
entity Dudley Fitts
relation place of birth
action find
entity Paul Edinger
relation place of birth
type administrative territorial entity
{'OR': [['Dudley Fitts', 'place of birth', {'concept': 'administrative territorial entity'}], ['Paul Edinger', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:administrative_territorial_entity . { { resource:Paul_Edinger property:place_of_birth ?v } UNION { resource:Dudley_Fitts property:place_of_birth ?v } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q100
P159
Q874405
USER
Which social groups have their HQ location at that administrative territory ?
(c(Q874405),P159,Q100)
action filter_type
action find_reverse
entity Q100
relation P159
type Q874405
[{'concept': 'Q874405'}, 'P159', 'Q100']
SELECT DISTINCT ?j WHERE { ?j property:P159 resource:Q100 . ?j rdf:type ontology:Q874405 }
Boston
action filter_type
action find_reverse
entity Boston
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Boston']
SELECT DISTINCT ?j WHERE { ?j property:headquarters_location resource:Boston . ?j rdf:type ontology:social_group }
[]
social group
Clarification for simple ques.
Q100
SYSTEM
Did you mean Boston ?
Q2228882 Q100
(c(Q874405),P159,Q2228882) (c(Q874405),P159,Q100)
[ANSWER]
[{'concept': 'Q874405'}, 'P159', 'Q2228882'] [{'concept': 'Q874405'}, 'P159', 'Q100']
SELECT DISTINCT ?j WHERE { ?j property:P159 resource:Q100 . ?j rdf:type ontology:Q874405 }
Frankfort Boston
Did you mean Boston ?
Boston
[{'concept': 'social group'}, 'headquarters location', 'Frankfort'] [{'concept': 'social group'}, 'headquarters location', 'Boston']
SELECT DISTINCT ?j WHERE { ?j property:headquarters_location resource:Boston . ?j rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q874405),P159,Q100)
[{'concept': 'Q874405'}, 'P159', 'Q100']
[{'concept': 'social group'}, 'headquarters location', 'Boston']
[]
Q5341353 Q22977311 Q6716325
SYSTEM
Edvance Foundation, Eze Software Group, MIT Sloan Sports Analytics Conference
Q18379537 Q22977311 Q6784236 Q6716325 Q3098964 Q5443659 Q5341353
(c(Q874405),P159,Q100)
action filter_type
action find_reverse
entity Q100
relation P159
type Q874405
[ANSWERS] have their HQ location at that administrative territory
[{'concept': 'Q874405'}, 'P159', 'Q100']
SELECT DISTINCT ?j WHERE { ?j property:P159 resource:Q100 . ?j rdf:type ontology:Q874405 }
Whittier Street Health Center Eze Software Group Massachusetts Convention Fandom, Inc MIT Sloan Sports Analytics Conference L0pht Fenway Health Edvance Foundation
Edvance Foundation, Eze Software Group and MIT Sloan Sports Analytics Conference have their HQ location at that administrative territory
Edvance Foundation Eze Software Group MIT Sloan Sports Analytics Conference
action filter_type
action find_reverse
entity Boston
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Boston']
SELECT DISTINCT ?j WHERE { ?j property:headquarters_location resource:Boston . ?j rdf:type ontology:social_group }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P137
Q874405 Q1076486
USER
Which sports venues can be described as service operator of atleast 1 social group ?
(c(Q1076486),P137,c(Q874405))
action atleast
action find_tuple_counts
relation P137
type Q1076486
type Q874405
value 1
[{'concept': 'Q1076486'}, 'P137', {'concept': 'Q874405'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?v ) WHERE { ?h property:P137 ?p . ?h rdf:type ontology:Q1076486 . ?p rdf:type ontology:Q874405 } GROUP BY ?h } . FILTER ( ?v >= 1 ) }
action atleast
action find_tuple_counts
relation operator
type sports venue
type social group
value 1
[{'concept': 'sports venue'}, 'operator', {'concept': 'social group'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?v ) WHERE { ?h property:operator ?p . ?h rdf:type ontology:sports_venue . ?p rdf:type ontology:social_group } GROUP BY ?h } . FILTER ( ?v >= 1 ) }
[]
social group sports venue
Q995550 Q1190230 Q7181636
SYSTEM
Tseung Kwan O Sports Ground, Todoroki Athletics Stadium, PhilSports Football and Athletics Stadium
Q7040605 Q6429656 Q7081643 Q1190230 Q4739118 Q11586043 Q7181636 Q11548615 Q7830567 Q7828500 Q995550 Q838937
(c(Q1076486),P137,c(Q874405))
action atleast
action find_tuple_counts
relation P137
type Q1076486
type Q874405
value 1
[ANSWERS] can be described as service operator of atleast 1 social group
[{'concept': 'Q1076486'}, 'P137', {'concept': 'Q874405'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?v ) WHERE { ?h property:P137 ?p . ?h rdf:type ontology:Q1076486 . ?p rdf:type ontology:Q874405 } GROUP BY ?h } . FILTER ( ?v >= 1 ) }
Nishikyogoku Athletic Stadium Konosu Stadium Ojiyama Stadium Todoroki Athletics Stadium Amagasaki Memorial Park Stadium Ishikawa Kanazawa Stadium PhilSports Football and Athletics Stadium K's denki Stadium Mito Toyama Athletic Stadium Tottori Athletics Stadium Tseung Kwan O Sports Ground Mong Kok Stadium
Tseung Kwan O Sports Ground, Todoroki Athletics Stadium and PhilSports Football and Athletics Stadium can be described as service operator of atleast 1 social group
Tseung Kwan O Sports Ground Todoroki Athletics Stadium PhilSports Football and Athletics Stadium
action atleast
action find_tuple_counts
relation operator
type sports venue
type social group
value 1
[{'concept': 'sports venue'}, 'operator', {'concept': 'social group'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?v ) WHERE { ?h property:operator ?p . ?h rdf:type ontology:sports_venue . ?p rdf:type ontology:social_group } GROUP BY ?h } . FILTER ( ?v >= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q100
P206
Q355304 Q15324
USER
How many watercourses and bodies of water are situated close to Boston ?
(Q100,P206,c(Q355304)) (Q100,P206,c(Q15324))
action count
action union
action filter_type
action find
entity Q100
relation P206
type Q355304
action filter_type
action find
entity Q100
relation P206
type Q15324
['Q100', 'P206', {'concept': 'Q355304'}] ['Q100', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { ?i rdf:type ?t . VALUES ( ?t ) { ( ontology:Q355304 ) ( ontology:Q15324 ) } }
Boston
action count
action union
action filter_type
action find
entity Boston
relation located next to body of water
type watercourse
action filter_type
action find
entity Boston
relation located next to body of water
type body of water
['Boston', 'located next to body of water', {'concept': 'watercourse'}] ['Boston', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { ?i rdf:type ?t . VALUES ( ?t ) { ( ontology:watercourse ) ( ontology:body_of_water ) } }
[]
watercourse body of water
SYSTEM
3 watercourses and 1 bodies of water
Q894564 Q1332459 Q1758000 Q794927
(Q100,P206,c(Q355304)) (Q100,P206,c(Q15324))
action count
action union
action filter_type
action find
entity Q100
relation P206
type Q355304
action filter_type
action find
entity Q100
relation P206
type Q15324
[ANSWER]
['Q100', 'P206', {'concept': 'Q355304'}] ['Q100', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { ?i rdf:type ?t . VALUES ( ?t ) { ( ontology:Q355304 ) ( ontology:Q15324 ) } }
Boston Harbor Neponset River Mystic River Charles River
3 watercourses and 1 bodies of water
action count
action union
action filter_type
action find
entity Boston
relation located next to body of water
type watercourse
action filter_type
action find
entity Boston
relation located next to body of water
type body of water
['Boston', 'located next to body of water', {'concept': 'watercourse'}] ['Boston', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { ?i rdf:type ?t . VALUES ( ?t ) { ( ontology:watercourse ) ( ontology:body_of_water ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q100
P1376
Q852446
USER
Which US administrative territory has Boston has its first city ?
(Q100,P1376,c(Q852446))
action filter_type
action find
entity Q100
relation P1376
type Q852446
['Q100', 'P1376', {'concept': 'Q852446'}]
SELECT DISTINCT ?f WHERE { resource:Q100 property:P1376 ?f . ?f rdf:type ontology:Q852446 }
Boston
action filter_type
action find
entity Boston
relation capital of
type administrative territorial entity of the United States
['Boston', 'capital of', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?f WHERE { resource:Boston property:capital_of ?f . ?f rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q771
SYSTEM
Massachusetts
Q771
(Q100,P1376,c(Q852446))
action filter_type
action find
entity Q100
relation P1376
type Q852446
[ANSWER] has Boston has its first city
['Q100', 'P1376', {'concept': 'Q852446'}]
SELECT DISTINCT ?f WHERE { resource:Q100 property:P1376 ?f . ?f rdf:type ontology:Q852446 }
Massachusetts
Massachusetts has Boston has its first city
Massachusetts
action filter_type
action find
entity Boston
relation capital of
type administrative territorial entity of the United States
['Boston', 'capital of', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?f WHERE { resource:Boston property:capital_of ?f . ?f rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q100
P17
Q15617994
USER
Which administrative territory does that administrative territory belong to ?
(Q771,P17,c(Q15617994))
action filter_type
action find
entity Q100
relation P17
type Q15617994
['Q771', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q100 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Boston
action filter_type
action find
entity Boston
relation country
type designation for an administrative territorial entity
['Massachusetts', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Boston property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q771,P17,c(Q15617994))
action filter_type
action find
entity Q100
relation P17
type Q15617994
That administrative territory belongs to [ANSWER]
['Q771', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q100 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
United States of America
That administrative territory belongs to United States of America
United States of America
action filter_type
action find
entity Boston
relation country
type designation for an administrative territorial entity
['Massachusetts', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Boston property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q334
P530
Q1048835
USER
How many political territories have diplomatic relations with United States of America and Singapore ?
(Q30,P530,c(Q1048835)) (Q334,P530,c(Q1048835))
action count
action intersection
action filter_type
action find
entity Q30
relation P530
type Q1048835
action filter_type
action find
entity Q334
relation P530
type Q1048835
['Q30', 'P530', {'concept': 'Q1048835'}] ['Q334', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { ?d rdf:type ontology:Q1048835 . resource:Q30 property:P530 ?d . resource:Q334 property:P530 ?d . ?d rdf:type ontology:Q1048835 }
United States of America Singapore
action count
action intersection
action filter_type
action find
entity United States of America
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Singapore
relation diplomatic relation
type political territorial entity
['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Singapore', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { ?d rdf:type ontology:political_territorial_entity . resource:United_States_of_America property:diplomatic_relation ?d . resource:Singapore property:diplomatic_relation ?d . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
3
Q16 Q408 Q183
(Q30,P530,c(Q1048835)) (Q334,P530,c(Q1048835))
action count
action intersection
action filter_type
action find
entity Q30
relation P530
type Q1048835
action filter_type
action find
entity Q334
relation P530
type Q1048835
[ANSWER]
['Q30', 'P530', {'concept': 'Q1048835'}] ['Q334', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { ?d rdf:type ontology:Q1048835 . resource:Q30 property:P530 ?d . resource:Q334 property:P530 ?d . ?d rdf:type ontology:Q1048835 }
Canada Australia Germany
3
action count
action intersection
action filter_type
action find
entity United States of America
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Singapore
relation diplomatic relation
type political territorial entity
['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Singapore', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { ?d rdf:type ontology:political_territorial_entity . resource:United_States_of_America property:diplomatic_relation ?d . resource:Singapore property:diplomatic_relation ?d . ?d rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q183
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with lesser number of administrative territories than Germany ?
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q183
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?f ) WHERE { ?a property:P530 ?w . ?a rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q15617994 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { ?n rdf:type ontology:Q15617994 . resource:Q183 property:P530 ?n } } . FILTER ( ?f < ?e ) }
Germany
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?f ) WHERE { ?a property:diplomatic_relation ?w . ?a rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Germany property:diplomatic_relation ?n } } . FILTER ( ?f < ?e ) }
[]
political territorial entity designation for an administrative territorial entity
Q408 Q35 Q16
SYSTEM
Australia, Denmark, Canada
Q1000 Q40 Q781 Q778 Q408 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q183
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with lesser number of administrative territories than Germany
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?f ) WHERE { ?a property:P530 ?w . ?a rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q15617994 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { ?n rdf:type ontology:Q15617994 . resource:Q183 property:P530 ?n } } . FILTER ( ?f < ?e ) }
Gabon Austria Antigua and Barbuda The Bahamas Australia Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Australia, Denmark and Canada have diplomatic relationships with lesser number of administrative territories than Germany
Australia Denmark Canada
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?f ) WHERE { ?a property:diplomatic_relation ?w . ?a rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Germany property:diplomatic_relation ?n } } . FILTER ( ?f < ?e ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q35
P530
Q1048835 Q15617994
USER
And what about Denmark?
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?n ) WHERE { ?c property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q1048835 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { resource:Q35 property:P530 ?t . ?t rdf:type ontology:Q1048835 } } . FILTER ( ?n < ?a ) }
Denmark
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?n ) WHERE { ?c property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:political_territorial_entity } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { resource:Denmark property:diplomatic_relation ?t . ?t rdf:type ontology:political_territorial_entity } } . FILTER ( ?n < ?a ) }
[]
political territorial entity designation for an administrative territorial entity
Q664 Q1000 Q769
SYSTEM
New Zealand, Gabon, Grenada
Q1000 Q781 Q778 Q769 Q685 Q691 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?n ) WHERE { ?c property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q1048835 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { resource:Q35 property:P530 ?t . ?t rdf:type ontology:Q1048835 } } . FILTER ( ?n < ?a ) }
Gabon Antigua and Barbuda The Bahamas Grenada Solomon Islands Papua New Guinea New Zealand Jamaica
New Zealand Gabon Grenada
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?n ) WHERE { ?c property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:political_territorial_entity } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { resource:Denmark property:diplomatic_relation ?t . ?t rdf:type ontology:political_territorial_entity } } . FILTER ( ?n < ?a ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q17861954
P530
Q15617994
USER
Do Bali Muumin have tactful political relations with those political territories ?
(Q17861954,P530,Q664) (Q17861954,P530,Q1000) (Q17861954,P530,Q769)
action is_in
entity prev_answer
action find
entity Q17861954
relation P530
['Q17861954', 'P530', 'Q664'] ['Q17861954', 'P530', 'Q1000'] ['Q17861954', 'P530', 'Q769']
ASK WHERE { resource:Q17861954 property:P530 ?q . VALUES ( ?q ) { ( resource:Q1000 ) ( resource:Q781 ) ( resource:Q778 ) } }
Bali Muumin
action is_in
entity prev_answer
action find
entity Bali Muumin
relation diplomatic relation
['Bali Muumin', 'diplomatic relation', 'New Zealand'] ['Bali Muumin', 'diplomatic relation', 'Gabon'] ['Bali Muumin', 'diplomatic relation', 'Grenada']
ASK WHERE { resource:Bali_Muumin property:diplomatic_relation ?q . VALUES ( ?q ) { ( resource:Gabon ) ( resource:Antigua_and_Barbuda ) ( resource:The_Bahamas ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q17861954,P530,Q664) (Q17861954,P530,Q1000) (Q17861954,P530,Q769)
action is_in
entity prev_answer
action find
entity Q17861954
relation P530
[ANSWER]
['Q17861954', 'P530', 'Q664'] ['Q17861954', 'P530', 'Q1000'] ['Q17861954', 'P530', 'Q769']
ASK WHERE { resource:Q17861954 property:P530 ?q . VALUES ( ?q ) { ( resource:Q1000 ) ( resource:Q781 ) ( resource:Q778 ) } }
No
action is_in
entity prev_answer
action find
entity Bali Muumin
relation diplomatic relation
['Bali Muumin', 'diplomatic relation', 'New Zealand'] ['Bali Muumin', 'diplomatic relation', 'Gabon'] ['Bali Muumin', 'diplomatic relation', 'Grenada']
ASK WHERE { resource:Bali_Muumin property:diplomatic_relation ?q . VALUES ( ?q ) { ( resource:Gabon ) ( resource:Antigua_and_Barbuda ) ( resource:The_Bahamas ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q490595
P291
Q56061 Q2342494 Q11032
USER
How many administrative territories are the places of publication of less number of collectables or newspapers than Daytona Beach ?
(c(Q2342494)|c(Q11032),P291,c(Q56061))
action count
action less
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P291
type Q56061
type Q11032
action count
action filter_multi_types
action find_reverse
entity Q490595
relation P291
type Q2342494
type Q11032
[[{'concept': 'Q2342494'}, {'concept': 'Q11032'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) ?s WHERE { { ?g property:P291 ?s . ?s rdf:type ontology:Q56061 . ?g rdf:type ontology:Q11032 } UNION { ?g property:P291 ?s . ?g rdf:type ontology:Q2342494 . ?s rdf:type ontology:Q56061 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { ?x property:P291 resource:Q490595 . { { ?x rdf:type ontology:Q2342494 } UNION { ?x rdf:type ontology:Q11032 } } } } . FILTER ( ?k < ?t ) }
Daytona Beach
action count
action less
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type newspaper
action count
action filter_multi_types
action find_reverse
entity Daytona Beach
relation place of publication
type collectable
type newspaper
[[{'concept': 'collectable'}, {'concept': 'newspaper'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) ?s WHERE { { ?g property:place_of_publication ?s . ?s rdf:type ontology:administrative_territorial_entity . ?g rdf:type ontology:newspaper } UNION { ?g property:place_of_publication ?s . ?g rdf:type ontology:collectable . ?s rdf:type ontology:administrative_territorial_entity } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { ?x property:place_of_publication resource:Daytona_Beach . { { ?x rdf:type ontology:collectable } UNION { ?x rdf:type ontology:newspaper } } } } . FILTER ( ?k < ?t ) }
[]
administrative territorial entity collectable newspaper
SYSTEM
188
Q909146 Q2536016 Q2512312 Q2035368 Q38511 Q130191 Q203619 Q1544563 Q501661 Q982367 Q11974 Q36378 Q10305 Q3404679 Q23051 Q2656 Q4581188 Q8851 Q9920 Q12155 Q323801 Q15682 Q15684 Q170497 Q99151 Q39561 Q48329 Q7880 Q1930 Q949651 Q3846 Q597 Q5831 Q22889 Q5836 Q132572 Q12411 Q1718 Q11125 Q8810 Q15283655 Q4713350 Q428829 Q1335 Q1155 Q3400328 Q14323 Q14325 Q484799 Q576110 Q1489 Q209055 Q2020203 Q3561 Q40347 Q406 Q739452 Q2044 Q887 Q54217 Q15093 Q162279 Q671288 Q17151 Q1191195 Q102217 Q237 Q334 Q16554 Q16557 Q486306 Q1513 Q192517 Q1296 Q936183 Q1563 Q45412 Q1024911 Q193478 Q5112 Q2103 Q178093 Q11959 Q35493 Q78 Q2617448 Q37100 Q38022 Q36405 Q1235510 Q15678 Q1931927 Q3183 Q172157 Q33935 Q582121 Q1861 Q14314 Q15090 Q956 Q15095 Q15098 Q437 Q8745 Q1479 Q13580 Q2766547 Q2941325 Q12258 Q202158 Q1017331 Q49145 Q42735 Q242478 Q327022 Q12225 Q23154 Q10282 Q429676 Q672545 Q188304 Q617 Q634054 Q472 Q37995 Q6576 Q6761 Q761 Q9580 Q3584 Q735583 Q11967 Q3519 Q65 Q159232 Q2028 Q3395358 Q5818 Q204382 Q12439 Q27393 Q470445 Q771986 Q79990 Q8385 Q6537 Q72259 Q19785 Q193367 Q59169 Q669171 Q204720 Q206988 Q3012 Q15699 Q485329 Q15695 Q985271 Q28848 Q128306 Q15088 Q3366952 Q997170 Q580 Q213898 Q8757 Q178277 Q883 Q125080 Q12303 Q156990 Q3834 Q40840 Q26793 Q3426 Q10686 Q211020 Q181854 Q648 Q487786 Q12233 Q216 Q646620 Q720627 Q215277 Q1348 Q14336 Q34647
(c(Q2342494)|c(Q11032),P291,c(Q56061))
action count
action less
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P291
type Q56061
type Q11032
action count
action filter_multi_types
action find_reverse
entity Q490595
relation P291
type Q2342494
type Q11032
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q11032'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) ?s WHERE { { ?g property:P291 ?s . ?s rdf:type ontology:Q56061 . ?g rdf:type ontology:Q11032 } UNION { ?g property:P291 ?s . ?g rdf:type ontology:Q2342494 . ?s rdf:type ontology:Q56061 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { ?x property:P291 resource:Q490595 . { { ?x rdf:type ontology:Q2342494 } UNION { ?x rdf:type ontology:Q11032 } } } } . FILTER ( ?k < ?t ) }
Godalming Crickhowell Eppegem Tremadog Turku Norwich Kemi Hellerup Schleswig Mineola Las Palmas de Gran Canaria Fribourg Zaragoza Crumlin Swansea Palermo Straume Málaga Haarlem Soria Nampula Cádiz Segovia Gloucester Ourense Burbank Mariehamn Toulouse Ottawa Wilmington Minden Lisbon Melilla Bath Toledo Tiraspol Pontevedra Düsseldorf Lugo Granada Elverum Alcones Caernarfon Montevideo Busto Arsizio St Athan Mérida Logroño Marbella Nauvoo Mexico City Torquay Rhyl Algiers Norman Istanbul Garden City Florence Yekaterinburg Norwalk Ciudad Real Kuopio Bend Thessaloniki Mold Vitebsk Vatican City Singapore Denver Dallas Pensacola Nagpur Boulder Ghent Tonbridge Havana Coimbra Welshpool Buda Adelaide Bochum Poughkeepsie Alicante Almaty Basel Edinburgh Auckland St. Louis Aberdeen Dolgellau Cáceres Bracon Ash Perth Winchester Tel Aviv Bradenton Bangkok Santiago de Compostela Lleida Beijing Albacete Cuenca Ljubljana Vigo Bordeaux Metro Manila 's-Hertogenbosch Corbin Sabadell Hämeenlinna Westport, County Mayo New Haven Olympia Levoča Rockville Murcia Bristol Pamplona Sereď Barmouth Sunderland Padua Conwy Sofia Yangon Irkutsk Livorno Białystok Burgos Nový Jičín Ylivieska Huesca Bari Los Angeles Santa Cruz Verona Kidwelly Córdoba Kouvola Detroit Herning Prostějov Chepstow Christchurch Ostrava Vicenza Portsmouth Harpenden Porvoo Mo i Rana Newtown Hereford Cheltenham Ulm León Ferrol Salamanca The Dalles Saint Paul Denton Tarragona Alta Waterville Łódź Preveza A Coruña Montvale Novosibirsk Vaasa Jerez de la Frontera Monmouth Konstanz Tampere Bergen Voronezh Belfast Imatra Lappeenranta Lille Orihuela Santander Vilnius Estella-Lizarra Kanhangad Jaffna Kolkata Teruel Johannesburg
188
action count
action less
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type newspaper
action count
action filter_multi_types
action find_reverse
entity Daytona Beach
relation place of publication
type collectable
type newspaper
[[{'concept': 'collectable'}, {'concept': 'newspaper'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) ?s WHERE { { ?g property:place_of_publication ?s . ?s rdf:type ontology:administrative_territorial_entity . ?g rdf:type ontology:newspaper } UNION { ?g property:place_of_publication ?s . ?g rdf:type ontology:collectable . ?s rdf:type ontology:administrative_territorial_entity } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { ?x property:place_of_publication resource:Daytona_Beach . { { ?x rdf:type ontology:collectable } UNION { ?x rdf:type ontology:newspaper } } } } . FILTER ( ?k < ?t ) }
[]