Simple Question (Direct)
Simple Question
Q2563071
P19
Q56061
USER
Which administrative territory is the place of birth of George McGinnis ?
(Q2563071,P19,c(Q56061))
action filter_type
action find
entity Q2563071
relation P19
type Q56061
['Q2563071', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q2563071 property:P19 ?p . ?p rdf:type ontology:Q56061 }
George McGinnis
action filter_type
action find
entity George McGinnis
relation place of birth
type administrative territorial entity
['George McGinnis', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:George_McGinnis property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q6346
SYSTEM
Indianapolis
Q6346
(Q2563071,P19,c(Q56061))
action filter_type
action find
entity Q2563071
relation P19
type Q56061
[ANSWER] is the place of birth of George McGinnis
['Q2563071', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q2563071 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Indianapolis
Indianapolis is the place of birth of George McGinnis
Indianapolis
action filter_type
action find
entity George McGinnis
relation place of birth
type administrative territorial entity
['George McGinnis', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:George_McGinnis property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6346
P740
Q2088357
USER
What were formed at that administrative territory ?
(c(Q2088357),P740,Q6346)
action filter_type
action find_reverse
entity Q6346
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q6346']
SELECT DISTINCT ?x WHERE { ?x property:P740 resource:Q6346 . ?x rdf:type ontology:Q2088357 }
Indianapolis
action filter_type
action find_reverse
entity Indianapolis
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Indianapolis']
SELECT DISTINCT ?x WHERE { ?x property:location_of_formation resource:Indianapolis . ?x rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q7760520 Q1557827 Q1155221
SYSTEM
The Reverend Peyton's Big Damn Band, Gwen Stacy, Demiricous
Q4812437 Q7760520 Q7727484 Q1557827 Q5417941 Q4656035 Q1155221 Q8050885 Q19871193
(c(Q2088357),P740,Q6346)
action filter_type
action find_reverse
entity Q6346
relation P740
type Q2088357
[ANSWERS] were formed at that administrative territory
[{'concept': 'Q2088357'}, 'P740', 'Q6346']
SELECT DISTINCT ?x WHERE { ?x property:P740 resource:Q6346 . ?x rdf:type ontology:Q2088357 }
At War with Self The Reverend Peyton's Big Damn Band The Contortionist Gwen Stacy Everything, Now! A Common Year Demiricous Year of Desolation 6 Way St.
The Reverend Peyton's Big Damn Band, Gwen Stacy and Demiricous were formed at that administrative territory
The Reverend Peyton's Big Damn Band Gwen Stacy Demiricous
action filter_type
action find_reverse
entity Indianapolis
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Indianapolis']
SELECT DISTINCT ?x WHERE { ?x property:location_of_formation resource:Indianapolis . ?x rdf:type ontology:musical_ensemble }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q7760520 Q1557827 Q1155221
P495
Q15617994
USER
Which administrative territories are the countries of origin of The Reverend Peyton's Big Damn Band, Gwen Stacy and Demiricous ?
(Q7760520,P495,c(Q15617994)) (Q1557827,P495,c(Q15617994)) (Q1155221,P495,c(Q15617994))
action union
action filter_type
action find
entity Q7760520
relation P495
type Q15617994
action filter_type
action find
entity Q1557827
relation P495
type Q15617994
action filter_type
action find
entity Q1155221
relation P495
type Q15617994
['Q7760520', 'P495', {'concept': 'Q15617994'}] ['Q1557827', 'P495', {'concept': 'Q15617994'}] ['Q1155221', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { resource:Q7760520 property:P495 ?h . ?h rdf:type ontology:Q15617994 } UNION { resource:Q1557827 property:P495 ?h . ?h rdf:type ontology:Q15617994 } }
The Reverend Peyton's Big Damn Band Gwen Stacy Demiricous
action union
action filter_type
action find
entity The Reverend Peyton's Big Damn Band
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity Gwen Stacy
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity Demiricous
relation country of origin
type designation for an administrative territorial entity
["The Reverend Peyton's Big Damn Band", 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Gwen Stacy', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Demiricous', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { resource:The_Reverend_Peyton's_Big_Damn_Band property:country_of_origin ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Gwen_Stacy property:country_of_origin ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q30 Q30 Q30
SYSTEM
United States of America
Q30 Q30 Q30
(Q7760520,P495,c(Q15617994)) (Q1557827,P495,c(Q15617994)) (Q1155221,P495,c(Q15617994))
action union
action filter_type
action find
entity Q7760520
relation P495
type Q15617994
action filter_type
action find
entity Q1557827
relation P495
type Q15617994
action filter_type
action find
entity Q1155221
relation P495
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are the countries of origin of The Reverend Peyton's Big Damn Band, Gwen Stacy and Demiricous
['Q7760520', 'P495', {'concept': 'Q15617994'}] ['Q1557827', 'P495', {'concept': 'Q15617994'}] ['Q1155221', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { resource:Q7760520 property:P495 ?h . ?h rdf:type ontology:Q15617994 } UNION { resource:Q1557827 property:P495 ?h . ?h rdf:type ontology:Q15617994 } }
United States of America United States of America United States of America
United States of America, United States of America and United States of America are the countries of origin of The Reverend Peyton's Big Damn Band, Gwen Stacy and Demiricous
United States of America United States of America United States of America
action union
action filter_type
action find
entity The Reverend Peyton's Big Damn Band
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity Gwen Stacy
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity Demiricous
relation country of origin
type designation for an administrative territorial entity
["The Reverend Peyton's Big Damn Band", 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Gwen Stacy', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Demiricous', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { resource:The_Reverend_Peyton's_Big_Damn_Band property:country_of_origin ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Gwen_Stacy property:country_of_origin ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2563071
P69
Q159334
USER
What is the secondary school where George McGinnis was educated ?
(Q2563071,P69,c(Q159334))
action filter_type
action find
entity Q2563071
relation P69
type Q159334
['Q2563071', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?s WHERE { resource:Q2563071 property:P69 ?s . ?s rdf:type ontology:Q159334 }
George McGinnis
action filter_type
action find
entity George McGinnis
relation educated at
type secondary school
['George McGinnis', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?s WHERE { resource:George_McGinnis property:educated_at ?s . ?s rdf:type ontology:secondary_school }
[]
secondary school
Q5545954
SYSTEM
George Washington Community High School
Q5545954
(Q2563071,P69,c(Q159334))
action filter_type
action find
entity Q2563071
relation P69
type Q159334
The secondary school George McGinnis was educated is now [ANSWER]
['Q2563071', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?s WHERE { resource:Q2563071 property:P69 ?s . ?s rdf:type ontology:Q159334 }
George Washington Community High School
The secondary school George McGinnis was educated is now George Washington Community High School
George Washington Community High School
action filter_type
action find
entity George McGinnis
relation educated at
type secondary school
['George McGinnis', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?s WHERE { resource:George_McGinnis property:educated_at ?s . ?s rdf:type ontology:secondary_school }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q5545954 Q3929803
P69
Q502895
USER
Was Ralph O'Brien educated at that secondary school ?
(Q3929803,P69,Q5545954)
action is_in
entity Q5545954
action find
entity Q3929803
relation P69
['Q3929803', 'P69', 'Q5545954']
ASK WHERE { resource:Q3929803 property:P69 resource:Q5545954 }
George Washington Community High School Ralph O'Brien
action is_in
entity George Washington Community High School
action find
entity Ralph O'Brien
relation educated at
["Ralph O'Brien", 'educated at', 'George Washington Community High School']
ASK WHERE { resource:Ralph_O'Brien property:educated_at resource:George_Washington_Community_High_School }
[]
common name
SYSTEM
YES
(Q3929803,P69,Q5545954)
action is_in
entity Q5545954
action find
entity Q3929803
relation P69
[ANSWER]
['Q3929803', 'P69', 'Q5545954']
ASK WHERE { resource:Q3929803 property:P69 resource:Q5545954 }
Yes
action is_in
entity George Washington Community High School
action find
entity Ralph O'Brien
relation educated at
["Ralph O'Brien", 'educated at', 'George Washington Community High School']
ASK WHERE { resource:Ralph_O'Brien property:educated_at resource:George_Washington_Community_High_School }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q268214
P180
Q15617994 Q11060274 Q838948
USER
Which administrative territories are demonstrated in greater number of prints or works of art than Bordighera ?
(c(Q11060274)|c(Q838948),P180,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q268214
relation P180
type Q11060274
type Q838948
[[{'concept': 'Q11060274'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { ?q property:P180 resource:Q268214 . { { ?q rdf:type ontology:Q11060274 } UNION { ?q rdf:type ontology:Q838948 } } } } . FILTER ( ?h > ?m ) . { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?h ) WHERE { { ?u property:P180 ?e . ?u rdf:type ontology:Q11060274 . ?e rdf:type ontology:Q15617994 } UNION { ?e rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q838948 . ?u property:P180 ?e } } GROUP BY ?e } }
Bordighera
action greater
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Bordighera
relation depicts
type print
type work of art
[[{'concept': 'print'}, {'concept': 'work of art'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { ?q property:depicts resource:Bordighera . { { ?q rdf:type ontology:print } UNION { ?q rdf:type ontology:work_of_art } } } } . FILTER ( ?h > ?m ) . { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?h ) WHERE { { ?u property:depicts ?e . ?u rdf:type ontology:print . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:work_of_art . ?u property:depicts ?e } } GROUP BY ?e } }
[]
designation for an administrative territorial entity print work of art
Q17 Q13320 Q47505
SYSTEM
Japan, Savona, Dolo
Q47505 Q131596 Q17 Q13320 Q82025 Q376896 Q34876 Q80591
(c(Q11060274)|c(Q838948),P180,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q268214
relation P180
type Q11060274
type Q838948
[ANSWERS] are demonstrated in greater number of prints or works of art than Bordighera
[[{'concept': 'Q11060274'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { ?q property:P180 resource:Q268214 . { { ?q rdf:type ontology:Q11060274 } UNION { ?q rdf:type ontology:Q838948 } } } } . FILTER ( ?h > ?m ) . { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?h ) WHERE { { ?u property:P180 ?e . ?u rdf:type ontology:Q11060274 . ?e rdf:type ontology:Q15617994 } UNION { ?e rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q838948 . ?u property:P180 ?e } } GROUP BY ?e } }
Dolo farm Japan Savona horn Grenelle province Atrani
Japan, Savona and Dolo are demonstrated in greater number of prints or works of art than Bordighera
Japan Savona Dolo
action greater
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Bordighera
relation depicts
type print
type work of art
[[{'concept': 'print'}, {'concept': 'work of art'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { ?q property:depicts resource:Bordighera . { { ?q rdf:type ontology:print } UNION { ?q rdf:type ontology:work_of_art } } } } . FILTER ( ?h > ?m ) . { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?h ) WHERE { { ?u property:depicts ?e . ?u rdf:type ontology:print . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:work_of_art . ?u property:depicts ?e } } GROUP BY ?e } }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q838948 Q2031291
USER
How many administrative territories are the origin of approximately the same number of works of art or releases as that administrative territory ?
(c(Q838948)|c(Q2031291),P495,c(Q15617994))
[[{'concept': 'Q838948'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?a ) { ( ?z ) ( ?x ) } . ?a property:P495 ?y } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2031291 }
[[{'concept': 'work of art'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?a ) { ( ?z ) ( ?x ) } . ?a property:country_of_origin ?y } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:release }
[]
designation for an administrative territorial entity work of art release
Comparative|Count over More/Less|Mult. entity type|Clarification
Q13320
SYSTEM
Did you mean Savona ?
(c(Q838948)|c(Q2031291),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?a ) { ( ?z ) ( ?x ) } . ?a property:P495 ?y } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2031291 }
Did you mean Savona ?
Savona
[[{'concept': 'work of art'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?a ) { ( ?z ) ( ?x ) } . ?a property:country_of_origin ?y } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:release }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Japan. Could you tell me the answer for that?
(c(Q838948)|c(Q2031291),P495,c(Q15617994))
Q17
[[{'concept': 'Q838948'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'work of art'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
166
Q805 Q804 Q801 Q800 Q1462 Q419 Q414 Q142 Q55 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q838948)|c(Q2031291),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2031291 }
Yemen Panama Israel Costa Rica Sardinia Peru Argentina France Netherlands Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
166
[[{'concept': 'work of art'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:release }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories holds diplomatic relationship with around 68 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 68
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?s ) AS ?n ) WHERE { ?o rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15617994 . ?o property:P530 ?s } GROUP BY ?o } . FILTER ( ?n = 68 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 68
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?s ) AS ?n ) WHERE { ?o rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o property:diplomatic_relation ?s } GROUP BY ?o } . FILTER ( ?n = 68 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
2
Q408 Q16
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 68
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?s ) AS ?n ) WHERE { ?o rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15617994 . ?o property:P530 ?s } GROUP BY ?o } . FILTER ( ?n = 68 ) }
Australia Canada
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 68
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?s ) AS ?n ) WHERE { ?o rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o property:diplomatic_relation ?s } GROUP BY ?o } . FILTER ( ?n = 68 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q7648232 Q7760520
P19 P740
Q56061
USER
Which administrative territories are the locations of formation of The Reverend Peyton's Big Damn Band and were Susan Neville born at ?
AND((Q7760520,P740,c(Q56061)), (Q7648232,P19,c(Q56061)))
action filter_type
action intersection
action find
entity Q7760520
relation P740
action find
entity Q7648232
relation P19
type Q56061
{'AND': [['Q7760520', 'P740', {'concept': 'Q56061'}], ['Q7648232', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?c WHERE { resource:Q7760520 property:P740 ?c . resource:Q7648232 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Susan Neville The Reverend Peyton's Big Damn Band
action filter_type
action intersection
action find
entity The Reverend Peyton's Big Damn Band
relation location of formation
action find
entity Susan Neville
relation place of birth
type administrative territorial entity
{'AND': [["The Reverend Peyton's Big Damn Band", 'location of formation', {'concept': 'administrative territorial entity'}], ['Susan Neville', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { resource:The_Reverend_Peyton's_Big_Damn_Band property:location_of_formation ?c . resource:Susan_Neville property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q6346
SYSTEM
Indianapolis
Q6346
AND((Q7760520,P740,c(Q56061)), (Q7648232,P19,c(Q56061)))
action filter_type
action intersection
action find
entity Q7760520
relation P740
action find
entity Q7648232
relation P19
type Q56061
[ANSWER] is the locations of formation of The Reverend Peyton's Big Damn Band and were Susan Neville born at
{'AND': [['Q7760520', 'P740', {'concept': 'Q56061'}], ['Q7648232', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?c WHERE { resource:Q7760520 property:P740 ?c . resource:Q7648232 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Indianapolis
Indianapolis is the locations of formation of The Reverend Peyton's Big Damn Band and were Susan Neville born at
Indianapolis
action filter_type
action intersection
action find
entity The Reverend Peyton's Big Damn Band
relation location of formation
action find
entity Susan Neville
relation place of birth
type administrative territorial entity
{'AND': [["The Reverend Peyton's Big Damn Band", 'location of formation', {'concept': 'administrative territorial entity'}], ['Susan Neville', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { resource:The_Reverend_Peyton's_Big_Damn_Band property:location_of_formation ?c . resource:Susan_Neville property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q17 Q846
P530
Q15617994
USER
How many administrative territories have diplomatic relations with Japan and Qatar ?
(c(Q15617994),P530,Q17) (c(Q15617994),P530,Q846)
action count
action intersection
action filter_type
action find_reverse
entity Q17
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q846
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q17'] [{'concept': 'Q15617994'}, 'P530', 'Q846']
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { ?l rdf:type ontology:Q15617994 . ?l property:P530 resource:Q17 . ?l property:P530 resource:Q846 . ?l rdf:type ontology:Q15617994 }
Japan Qatar
action count
action intersection
action filter_type
action find_reverse
entity Japan
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Qatar
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Japan'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Qatar']
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation resource:Japan . ?l property:diplomatic_relation resource:Qatar . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
2
Q858 Q230
(c(Q15617994),P530,Q17) (c(Q15617994),P530,Q846)
action count
action intersection
action filter_type
action find_reverse
entity Q17
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q846
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q17'] [{'concept': 'Q15617994'}, 'P530', 'Q846']
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { ?l rdf:type ontology:Q15617994 . ?l property:P530 resource:Q17 . ?l property:P530 resource:Q846 . ?l rdf:type ontology:Q15617994 }
Syria Georgia
2
action count
action intersection
action filter_type
action find_reverse
entity Japan
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Qatar
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Japan'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Qatar']
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation resource:Japan . ?l property:diplomatic_relation resource:Qatar . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]