Simple Question (Direct)
Simple Question
Q1065359
P19
Q56061
USER
Which administrative territory is the birthplace of Charles Loring Jackson ?
(Q1065359,P19,c(Q56061))
action filter_type
action find
entity Q1065359
relation P19
type Q56061
['Q1065359', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q1065359 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Charles Loring Jackson
action filter_type
action find
entity Charles Loring Jackson
relation place of birth
type administrative territorial entity
['Charles Loring Jackson', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Charles_Loring_Jackson property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q100
SYSTEM
Boston
Q100
(Q1065359,P19,c(Q56061))
action filter_type
action find
entity Q1065359
relation P19
type Q56061
[ANSWER] is the birthplace of Charles Loring Jackson
['Q1065359', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q1065359 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Boston
Boston is the birthplace of Charles Loring Jackson
Boston
action filter_type
action find
entity Charles Loring Jackson
relation place of birth
type administrative territorial entity
['Charles Loring Jackson', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Charles_Loring_Jackson property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1065359
P108
Q163740
USER
Which nonprofit organization does that person work for ?
(Q100,P108,c(Q163740))
action filter_type
action find
entity Q1065359
relation P108
type Q163740
['Q100', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?b WHERE { resource:Q1065359 property:P108 ?b . ?b rdf:type ontology:Q163740 }
Charles Loring Jackson
action filter_type
action find
entity Charles Loring Jackson
relation employer
type nonprofit organization
['Boston', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?b WHERE { resource:Charles_Loring_Jackson property:employer ?b . ?b rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q13371
SYSTEM
Harvard University
Q13371
(Q100,P108,c(Q163740))
action filter_type
action find
entity Q1065359
relation P108
type Q163740
That person works at [ANSWER]
['Q100', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?b WHERE { resource:Q1065359 property:P108 ?b . ?b rdf:type ontology:Q163740 }
Harvard University
That person works at Harvard University
Harvard University
action filter_type
action find
entity Charles Loring Jackson
relation employer
type nonprofit organization
['Boston', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?b WHERE { resource:Charles_Loring_Jackson property:employer ?b . ?b rdf:type ontology:nonprofit_organization }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q4685407 Q1065359
P69 P108
Q163740
USER
Which nonprofit organizations are the employers of Charles Loring Jackson and are the alma mater of Adrian Vermeule ?
AND((Q1065359,P108,c(Q163740)), (Q4685407,P69,c(Q163740)))
action filter_type
action intersection
action find
entity Q1065359
relation P108
action find
entity Q4685407
relation P69
type Q163740
{'AND': [['Q1065359', 'P108', {'concept': 'Q163740'}], ['Q4685407', 'P69', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?t WHERE { resource:Q1065359 property:P108 ?t . resource:Q4685407 property:P69 ?t . ?t rdf:type ontology:Q163740 }
Adrian Vermeule Charles Loring Jackson
action filter_type
action intersection
action find
entity Charles Loring Jackson
relation employer
action find
entity Adrian Vermeule
relation educated at
type nonprofit organization
{'AND': [['Charles Loring Jackson', 'employer', {'concept': 'nonprofit organization'}], ['Adrian Vermeule', 'educated at', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?t WHERE { resource:Charles_Loring_Jackson property:employer ?t . resource:Adrian_Vermeule property:educated_at ?t . ?t rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q13371
SYSTEM
Harvard University
Q13371
AND((Q1065359,P108,c(Q163740)), (Q4685407,P69,c(Q163740)))
action filter_type
action intersection
action find
entity Q1065359
relation P108
action find
entity Q4685407
relation P69
type Q163740
[ANSWER] is the employers of Charles Loring Jackson and is the alma mater of Adrian Vermeule
{'AND': [['Q1065359', 'P108', {'concept': 'Q163740'}], ['Q4685407', 'P69', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?t WHERE { resource:Q1065359 property:P108 ?t . resource:Q4685407 property:P69 ?t . ?t rdf:type ontology:Q163740 }
Harvard University
Harvard University is the employers of Charles Loring Jackson and is the alma mater of Adrian Vermeule
Harvard University
action filter_type
action intersection
action find
entity Charles Loring Jackson
relation employer
action find
entity Adrian Vermeule
relation educated at
type nonprofit organization
{'AND': [['Charles Loring Jackson', 'employer', {'concept': 'nonprofit organization'}], ['Adrian Vermeule', 'educated at', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?t WHERE { resource:Charles_Loring_Jackson property:employer ?t . resource:Adrian_Vermeule property:educated_at ?t . ?t rdf:type ontology:nonprofit_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4685407
P463
Q811430
USER
What construction had Adrian Vermeule as its member?
(Q13371,P463,c(Q811430))
action filter_type
action find
entity Q4685407
relation P463
type Q811430
['Q13371', 'P463', {'concept': 'Q811430'}]
SELECT DISTINCT ?g WHERE { resource:Q4685407 property:P463 ?g . ?g rdf:type ontology:Q811430 }
Adrian Vermeule
action filter_type
action find
entity Adrian Vermeule
relation member of
type construction
['Harvard University', 'member of', {'concept': 'construction'}]
SELECT DISTINCT ?g WHERE { resource:Adrian_Vermeule property:member_of ?g . ?g rdf:type ontology:construction }
[]
construction
Q463303
SYSTEM
American Academy of Arts and Sciences
Q463303
(Q13371,P463,c(Q811430))
action filter_type
action find
entity Q4685407
relation P463
type Q811430
[ANSWER] had Adrian Vermeule as its member
['Q13371', 'P463', {'concept': 'Q811430'}]
SELECT DISTINCT ?g WHERE { resource:Q4685407 property:P463 ?g . ?g rdf:type ontology:Q811430 }
American Academy of Arts and Sciences
American Academy of Arts and Sciences had Adrian Vermeule as its member
American Academy of Arts and Sciences
action filter_type
action find
entity Adrian Vermeule
relation member of
type construction
['Harvard University', 'member of', {'concept': 'construction'}]
SELECT DISTINCT ?g WHERE { resource:Adrian_Vermeule property:member_of ?g . ?g rdf:type ontology:construction }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4685407
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q463303,P27,c(Q15617994))
action filter_type
action find
entity Q4685407
relation P27
type Q15617994
['Q463303', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q4685407 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Adrian Vermeule
action filter_type
action find
entity Adrian Vermeule
relation country of citizenship
type designation for an administrative territorial entity
['American Academy of Arts and Sciences', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Adrian_Vermeule property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q463303,P27,c(Q15617994))
action filter_type
action find
entity Q4685407
relation P27
type Q15617994
The [ANSWER] is the native country of that person
['Q463303', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q4685407 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
United States of America
The United States of America is the native country of that person
United States of America
action filter_type
action find
entity Adrian Vermeule
relation country of citizenship
type designation for an administrative territorial entity
['American Academy of Arts and Sciences', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Adrian_Vermeule property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q18150 Q4685407
P47 P27
Q15617994
USER
Which administrative territories do Adrian Vermeule belong to or share the border with Pray ?
OR((Q4685407,P27,c(Q15617994)), (Q18150,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q4685407
relation P27
action find
entity Q18150
relation P47
type Q15617994
{'OR': [['Q4685407', 'P27', {'concept': 'Q15617994'}], ['Q18150', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q18150 property:P47 ?t } UNION { resource:Q4685407 property:P27 ?t } } . ?t rdf:type ontology:Q15617994 }
Pray Adrian Vermeule
action filter_type
action union
action find
entity Adrian Vermeule
relation country of citizenship
action find
entity Pray
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Adrian Vermeule', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Pray', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Pray property:shares_border_with ?t } UNION { resource:Adrian_Vermeule property:country_of_citizenship ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q18148 Q18043 Q18060 Q18054 Q18057 Q18177 Q30
SYSTEM
Portula, Caprile, Curino, Coggiola, Crevacuore, Trivero, United States of America
Q18148 Q18043 Q18060 Q18054 Q18057 Q18177 Q30
OR((Q4685407,P27,c(Q15617994)), (Q18150,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q4685407
relation P27
action find
entity Q18150
relation P47
type Q15617994
Adrian Vermeule belong to the [ANSWERS]
{'OR': [['Q4685407', 'P27', {'concept': 'Q15617994'}], ['Q18150', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q18150 property:P47 ?t } UNION { resource:Q4685407 property:P27 ?t } } . ?t rdf:type ontology:Q15617994 }
Portula Caprile Curino Coggiola Crevacuore Trivero United States of America
Adrian Vermeule belong to the Portula, Caprile, Curino, Coggiola, Crevacuore, Trivero and United States of America
Portula Caprile Curino Coggiola Crevacuore Trivero United States of America
action filter_type
action union
action find
entity Adrian Vermeule
relation country of citizenship
action find
entity Pray
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Adrian Vermeule', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Pray', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Pray property:shares_border_with ?t } UNION { resource:Adrian_Vermeule property:country_of_citizenship ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q18054
P740
Q43229
USER
What was formed at that administrative territory ?
(c(Q43229),P740,Q18054)
action filter_type
action find_reverse
entity Q18054
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q18054']
SELECT DISTINCT ?w WHERE { ?w property:P740 resource:Q18054 . ?w rdf:type ontology:Q43229 }
Coggiola
action filter_type
action find_reverse
entity Coggiola
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Coggiola']
SELECT DISTINCT ?w WHERE { ?w property:location_of_formation resource:Coggiola . ?w rdf:type ontology:organization }
[]
organization
Clarification for simple ques.
Q30
SYSTEM
Did you mean United States of America ?
Q18148 Q18043 Q18060 Q18054 Q18057 Q18177 Q30
(c(Q43229),P740,Q18148) (c(Q43229),P740,Q18043) (c(Q43229),P740,Q18060) (c(Q43229),P740,Q18054) (c(Q43229),P740,Q18057) (c(Q43229),P740,Q18177) (c(Q43229),P740,Q30)
[ANSWER]
[{'concept': 'Q43229'}, 'P740', 'Q18148'] [{'concept': 'Q43229'}, 'P740', 'Q18043'] [{'concept': 'Q43229'}, 'P740', 'Q18060'] [{'concept': 'Q43229'}, 'P740', 'Q18054'] [{'concept': 'Q43229'}, 'P740', 'Q18057'] [{'concept': 'Q43229'}, 'P740', 'Q18177'] [{'concept': 'Q43229'}, 'P740', 'Q30']
SELECT DISTINCT ?w WHERE { ?w property:P740 resource:Q18054 . ?w rdf:type ontology:Q43229 }
Portula Caprile Curino Coggiola Crevacuore Trivero United States of America
Did you mean United States of America ?
United States of America
[{'concept': 'organization'}, 'location of formation', 'Portula'] [{'concept': 'organization'}, 'location of formation', 'Caprile'] [{'concept': 'organization'}, 'location of formation', 'Curino'] [{'concept': 'organization'}, 'location of formation', 'Coggiola'] [{'concept': 'organization'}, 'location of formation', 'Crevacuore'] [{'concept': 'organization'}, 'location of formation', 'Trivero'] [{'concept': 'organization'}, 'location of formation', 'United States of America']
SELECT DISTINCT ?w WHERE { ?w property:location_of_formation resource:Coggiola . ?w rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
USER
No, I meant Coggiola. Could you tell me the answer for that?
(c(Q43229),P740,Q18054)
Q18054
[{'concept': 'Q43229'}, 'P740', 'Q18054']
[{'concept': 'organization'}, 'location of formation', 'Coggiola']
[]
Q482539
SYSTEM
Fila, Inc.
Q482539
(c(Q43229),P740,Q18054)
action filter_type
action find_reverse
entity Q18054
relation P740
type Q43229
[ANSWER] was formed at that administrative territory
[{'concept': 'Q43229'}, 'P740', 'Q18054']
SELECT DISTINCT ?w WHERE { ?w property:P740 resource:Q18054 . ?w rdf:type ontology:Q43229 }
Fila, Inc.
Fila, Inc. was formed at that administrative territory
Fila, Inc.
action filter_type
action find_reverse
entity Coggiola
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Coggiola']
SELECT DISTINCT ?w WHERE { ?w property:location_of_formation resource:Coggiola . ?w rdf:type ontology:organization }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7286254 Q18054
P17
Q15617994
USER
Which administrative territories are Coggiola or Rajjamana a part of ?
OR((Q18054,P17,c(Q15617994)), (Q7286254,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q18054
relation P17
action find
entity Q7286254
relation P17
type Q15617994
{'OR': [['Q18054', 'P17', {'concept': 'Q15617994'}], ['Q7286254', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?k ) { ( resource:Q7286254 ) ( resource:Q18054 ) } . ?k property:P17 ?v } . ?v rdf:type ontology:Q15617994 }
Rajjamana Coggiola
action filter_type
action union
action find
entity Coggiola
relation country
action find
entity Rajjamana
relation country
type designation for an administrative territorial entity
{'OR': [['Coggiola', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Rajjamana', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?k ) { ( resource:Rajjamana ) ( resource:Coggiola ) } . ?k property:country ?v } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q854
SYSTEM
Italy, Sri Lanka
Q38 Q854
OR((Q18054,P17,c(Q15617994)), (Q7286254,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q18054
relation P17
action find
entity Q7286254
relation P17
type Q15617994
[ANSWERS] are Coggiola or Rajjamana a part of
{'OR': [['Q18054', 'P17', {'concept': 'Q15617994'}], ['Q7286254', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?k ) { ( resource:Q7286254 ) ( resource:Q18054 ) } . ?k property:P17 ?v } . ?v rdf:type ontology:Q15617994 }
Italy Sri Lanka
Italy and Sri Lanka are Coggiola or Rajjamana a part of
Italy Sri Lanka
action filter_type
action union
action find
entity Coggiola
relation country
action find
entity Rajjamana
relation country
type designation for an administrative territorial entity
{'OR': [['Coggiola', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Rajjamana', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?k ) { ( resource:Rajjamana ) ( resource:Coggiola ) } . ?k property:country ?v } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q17363951 Q38
P530 P17
Q15617994
USER
Which administrative territories have a diplomatic relationship with Italy or do Ein Eljern belong to ?
OR((Q38,P530,c(Q15617994)), (Q17363951,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q38
relation P530
action find
entity Q17363951
relation P17
type Q15617994
{'OR': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q17363951', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q17363951 property:P17 ?y } UNION { resource:Q38 property:P530 ?y } } . ?y rdf:type ontology:Q15617994 }
Ein Eljern Italy
action filter_type
action union
action find
entity Italy
relation diplomatic relation
action find
entity Ein Eljern
relation country
type designation for an administrative territorial entity
{'OR': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Ein Eljern', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Ein_Eljern property:country ?y } UNION { resource:Italy property:diplomatic_relation ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q881 Q218 Q822 Q258 Q17 Q858 Q34 Q27 Q211 Q155
SYSTEM
Some of them are Vietnam, Romania, Lebanon, South Africa, Japan, Syria, Sweden, Ireland, Latvia, Brazil
Q739 Q805 Q219 Q869 Q801 Q189 Q843 Q184 Q423 Q822 Q419 Q668 Q347 Q414 Q142 Q225 Q224 Q55 Q222 Q221 Q145 Q148 Q96 Q31 Q229 Q228 Q33 Q32 Q17 Q30 Q37 Q36 Q79 Q34 Q77 Q39 Q1016 Q858 Q227 Q948 Q191 Q733 Q928 Q298 Q45 Q252 Q114 Q399 Q403 Q230 Q233 Q258 Q43 Q212 Q213 Q236 Q211 Q159 Q217 Q214 Q215 Q155 Q218 Q41 Q238 Q796 Q794 Q20 Q1045 Q889 Q27 Q28 Q29 Q884 Q881
OR((Q38,P530,c(Q15617994)), (Q17363951,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q38
relation P530
action find
entity Q17363951
relation P17
type Q15617994
[ANSWERS] have a diplomatic relationship with Italy or do Ein Eljern belong to
{'OR': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q17363951', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q17363951 property:P17 ?y } UNION { resource:Q38 property:P530 ?y } } . ?y rdf:type ontology:Q15617994 }
Colombia Yemen Bulgaria Thailand Israel Iceland Pakistan Belarus North Korea Lebanon Peru India Liechtenstein Argentina France Bosnia and Herzegovina Croatia Netherlands Albania Republic of Macedonia United Kingdom People's Republic of China Mexico Belgium Cyprus Andorra Finland Luxembourg Japan United States of America Lithuania Poland Egypt Sweden Uruguay Switzerland Libya Syria Azerbaijan Tunisia Estonia Paraguay Philippines Chile Portugal Indonesia Kenya Armenia Serbia Georgia Malta South Africa Turkey Ukraine Czech Republic Montenegro Latvia Russia Republic of Moldova Slovakia Slovenia Brazil Romania Greece San Marino Iraq Iran Norway Somalia Afghanistan Ireland Hungary Spain South Korea Vietnam
Vietnam, Romania, Lebanon, South Africa, Japan, Syria, Sweden, Ireland, Latvia and Brazil have a diplomatic relationship with Italy or do Ein Eljern belong to
Vietnam Romania Lebanon South Africa Japan Syria Sweden Ireland Latvia Brazil
action filter_type
action union
action find
entity Italy
relation diplomatic relation
action find
entity Ein Eljern
relation country
type designation for an administrative territorial entity
{'OR': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Ein Eljern', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Ein_Eljern property:country ?y } UNION { resource:Italy property:diplomatic_relation ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q155 Q44302
P1532
Q6979593
USER
How many national association football teams play for Brazil or Nagorno-Karabakh ?
(c(Q6979593),P1532,Q155) (c(Q6979593),P1532,Q44302)
action count
action union
action filter_type
action find_reverse
entity Q155
relation P1532
type Q6979593
action filter_type
action find_reverse
entity Q44302
relation P1532
type Q6979593
[{'concept': 'Q6979593'}, 'P1532', 'Q155'] [{'concept': 'Q6979593'}, 'P1532', 'Q44302']
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { VALUES ( ?l ) { ( resource:Q155 ) ( resource:Q44302 ) } . ?h property:P1532 ?l }
Brazil Nagorno-Karabakh
action count
action union
action filter_type
action find_reverse
entity Brazil
relation country for sport
type national association football team
action filter_type
action find_reverse
entity Nagorno-Karabakh
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Brazil'] [{'concept': 'national association football team'}, 'country for sport', 'Nagorno-Karabakh']
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { VALUES ( ?l ) { ( resource:Brazil ) ( resource:Nagorno-Karabakh ) } . ?h property:country_for_sport ?l }
[]
national association football team
SYSTEM
4
Q23013382 Q757014 Q899189 Q16845544
(c(Q6979593),P1532,Q155) (c(Q6979593),P1532,Q44302)
action count
action union
action filter_type
action find_reverse
entity Q155
relation P1532
type Q6979593
action filter_type
action find_reverse
entity Q44302
relation P1532
type Q6979593
[ANSWER]
[{'concept': 'Q6979593'}, 'P1532', 'Q155'] [{'concept': 'Q6979593'}, 'P1532', 'Q44302']
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { VALUES ( ?l ) { ( resource:Q155 ) ( resource:Q44302 ) } . ?h property:P1532 ?l }
Brazil women's national under-17 football team Brazil women's national football team Brazil Olympic football team Brazil women's national under-20 football team
4
action count
action union
action filter_type
action find_reverse
entity Brazil
relation country for sport
type national association football team
action filter_type
action find_reverse
entity Nagorno-Karabakh
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Brazil'] [{'concept': 'national association football team'}, 'country for sport', 'Nagorno-Karabakh']
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { VALUES ( ?l ) { ( resource:Brazil ) ( resource:Nagorno-Karabakh ) } . ?h property:country_for_sport ?l }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q813
P1376
Q15617994 Q20667921 Q56061
USER
How many administrative territories have less number of french administrative divisions and administrative territories have their center of administration than Kyrgyzstan ?
(c(Q20667921)|c(Q56061),P1376,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q813
relation P1376
type Q20667921
type Q56061
[[{'concept': 'Q20667921'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) ?k WHERE { ?l rdf:type ?y . VALUES ( ?y ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:P1376 resource:Q813 . { ?r rdf:type ?j . VALUES ( ?j ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } } } } . FILTER ( ?n < ?s ) }
Kyrgyzstan
action count
action less
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Kyrgyzstan
relation capital of
type type of french administrative division
type administrative territorial entity
[[{'concept': 'type of french administrative division'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) ?k WHERE { ?l rdf:type ?y . VALUES ( ?y ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:capital_of resource:Kyrgyzstan . { ?r rdf:type ?j . VALUES ( ?j ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } } } } . FILTER ( ?n < ?s ) }
[]
designation for an administrative territorial entity type of french administrative division administrative territorial entity
SYSTEM
98
Q414 Q1111401 Q399 Q2527360 Q699731 Q739 Q733 Q736 Q1284 Q843 Q2007 Q541811 Q1458 Q1050 Q298 Q115 Q114 Q541589 Q696651 Q948 Q639100 Q731547 Q702 Q709 Q833 Q290739 Q790 Q796 Q794 Q889 Q884 Q1452646 Q881 Q1508919 Q541095 Q280312 Q492437 Q686312 Q1037 Q1030 Q697 Q750 Q1270568 Q30831 Q694594 Q874 Q878 Q46130 Q3044714 Q176 Q1951 Q389004 Q492430 Q239502 Q711 Q717 Q1090678 Q1948 Q511365 Q27 Q598193 Q225 Q222 Q47261 Q228 Q10957559 Q965 Q962 Q963 Q1008 Q72670 Q568751 Q2150573 Q474421 Q3342 Q842 Q34762 Q4712 Q928 Q851 Q1443 Q224 Q12717 Q691265 Q313175 Q347 Q3462133 Q3207 Q212 Q211 Q218 Q3514973 Q974 Q1234961 Q1222 Q1019 Q1011 Q672
(c(Q20667921)|c(Q56061),P1376,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q813
relation P1376
type Q20667921
type Q56061
[ANSWER]
[[{'concept': 'Q20667921'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) ?k WHERE { ?l rdf:type ?y . VALUES ( ?y ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:P1376 resource:Q813 . { ?r rdf:type ?j . VALUES ( ?j ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } } } } . FILTER ( ?n < ?s ) }
Argentina Kispest District Armenia Stura Wied Colombia Paraguay Ecuador Abruzzo Pakistan Northwest Territories Ems-Oriental Calabria Swaziland Chile Ethiopia Kenya Ems-Supérieur Saxe-Eisenach Tunisia Principality of Reuss-Gera Lippe Federated States of Micronesia Marshall Islands Malaysia Sesia Haiti Iraq Iran Afghanistan South Korea Montenotte Vietnam Marengo Rhin-et-Moselle Principality of Lüneburg Bouches-du-Weser Duchy of Amalfi Rwanda Namibia Nauru Bolivia Ems Red Sea Governorate Bremen-Verden Turkmenistan United Arab Emirates Rhône Ouest Quebec Alberta Wallachia Bouches-de-l'Elbe Kingdom of Galicia–Volhynia Mongolia Venezuela Sègre Manitoba Arvika Municipality Ireland Apennins Bosnia and Herzegovina Albania Duchy of Bavaria Andorra Moldavia Burkina Faso Benin Botswana Côte d'Ivoire Batumi Oblast Mont-Tonnerre Unterelsaß Principality of Fürstenberg Côte-d'Or Oman Principality of Bayreuth Duchy of Burgundy Philippines Saudi Arabia Molise Croatia Bas-Rhin Mont-Terrible Saxe-Lauenburg Liechtenstein Saxe-Coburg and Gotha Aude Ukraine Latvia Romania Tanaro Democratic Republic of the Congo Doire Aosta Valley Madagascar Cape Verde Tuvalu
98
action count
action less
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Kyrgyzstan
relation capital of
type type of french administrative division
type administrative territorial entity
[[{'concept': 'type of french administrative division'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) ?k WHERE { ?l rdf:type ?y . VALUES ( ?y ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:capital_of resource:Kyrgyzstan . { ?r rdf:type ?j . VALUES ( ?j ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } } } } . FILTER ( ?n < ?s ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q12788
P1376
Q15617994 Q20667921 Q56061
USER
And also tell me about Val-de-Marne?
(c(Q20667921)|c(Q56061),P1376,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q12788
relation P1376
type Q20667921
type Q56061
[[{'concept': 'Q20667921'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) ?p WHERE { ?e rdf:type ?k . VALUES ( ?k ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } } GROUP BY ?p } . FILTER ( ?n < ?f ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:P1376 resource:Q12788 . { { ?i rdf:type ontology:Q20667921 } UNION { ?i rdf:type ontology:Q56061 } } } } }
Val-de-Marne
action count
action less
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Val-de-Marne
relation capital of
type type of french administrative division
type administrative territorial entity
[[{'concept': 'type of french administrative division'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) ?p WHERE { ?e rdf:type ?k . VALUES ( ?k ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?p } . FILTER ( ?n < ?f ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:capital_of resource:Val-de-Marne . { { ?i rdf:type ontology:type_of_french_administrative_division } UNION { ?i rdf:type ontology:administrative_territorial_entity } } } } }
[]
designation for an administrative territorial entity type of french administrative division administrative territorial entity
SYSTEM
98
Q414 Q1111401 Q399 Q2527360 Q699731 Q739 Q733 Q736 Q1284 Q843 Q2007 Q541811 Q1458 Q1050 Q298 Q115 Q114 Q541589 Q696651 Q948 Q639100 Q731547 Q702 Q709 Q833 Q290739 Q790 Q796 Q794 Q889 Q884 Q1452646 Q881 Q1508919 Q541095 Q280312 Q492437 Q686312 Q1037 Q1030 Q697 Q750 Q1270568 Q30831 Q694594 Q874 Q878 Q46130 Q3044714 Q176 Q1951 Q389004 Q492430 Q239502 Q711 Q717 Q1090678 Q1948 Q511365 Q27 Q598193 Q225 Q222 Q47261 Q228 Q10957559 Q965 Q962 Q963 Q1008 Q72670 Q568751 Q2150573 Q474421 Q3342 Q842 Q34762 Q4712 Q928 Q851 Q1443 Q224 Q12717 Q691265 Q313175 Q347 Q3462133 Q3207 Q212 Q211 Q218 Q3514973 Q974 Q1234961 Q1222 Q1019 Q1011 Q672
(c(Q20667921)|c(Q56061),P1376,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q12788
relation P1376
type Q20667921
type Q56061
[ANSWER]
[[{'concept': 'Q20667921'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) ?p WHERE { ?e rdf:type ?k . VALUES ( ?k ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } } GROUP BY ?p } . FILTER ( ?n < ?f ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:P1376 resource:Q12788 . { { ?i rdf:type ontology:Q20667921 } UNION { ?i rdf:type ontology:Q56061 } } } } }
Argentina Kispest District Armenia Stura Wied Colombia Paraguay Ecuador Abruzzo Pakistan Northwest Territories Ems-Oriental Calabria Swaziland Chile Ethiopia Kenya Ems-Supérieur Saxe-Eisenach Tunisia Principality of Reuss-Gera Lippe Federated States of Micronesia Marshall Islands Malaysia Sesia Haiti Iraq Iran Afghanistan South Korea Montenotte Vietnam Marengo Rhin-et-Moselle Principality of Lüneburg Bouches-du-Weser Duchy of Amalfi Rwanda Namibia Nauru Bolivia Ems Red Sea Governorate Bremen-Verden Turkmenistan United Arab Emirates Rhône Ouest Quebec Alberta Wallachia Bouches-de-l'Elbe Kingdom of Galicia–Volhynia Mongolia Venezuela Sègre Manitoba Arvika Municipality Ireland Apennins Bosnia and Herzegovina Albania Duchy of Bavaria Andorra Moldavia Burkina Faso Benin Botswana Côte d'Ivoire Batumi Oblast Mont-Tonnerre Unterelsaß Principality of Fürstenberg Côte-d'Or Oman Principality of Bayreuth Duchy of Burgundy Philippines Saudi Arabia Molise Croatia Bas-Rhin Mont-Terrible Saxe-Lauenburg Liechtenstein Saxe-Coburg and Gotha Aude Ukraine Latvia Romania Tanaro Democratic Republic of the Congo Doire Aosta Valley Madagascar Cape Verde Tuvalu
98
action count
action less
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Val-de-Marne
relation capital of
type type of french administrative division
type administrative territorial entity
[[{'concept': 'type of french administrative division'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) ?p WHERE { ?e rdf:type ?k . VALUES ( ?k ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?p } . FILTER ( ?n < ?f ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:capital_of resource:Val-de-Marne . { { ?i rdf:type ontology:type_of_french_administrative_division } UNION { ?i rdf:type ontology:administrative_territorial_entity } } } } }
[]