Simple Question (Direct)
Simple Question
Q7052568
P39
Q12737077
USER
What was the position for which Norman Makin was appointed ?
(Q7052568,P39,c(Q12737077))
action filter_type
action find
entity Q7052568
relation P39
type Q12737077
['Q7052568', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q7052568 property:P39 ?k . ?k rdf:type ontology:Q12737077 }
Norman Makin
action filter_type
action find
entity Norman Makin
relation position held
type occupation
['Norman Makin', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Norman_Makin property:position_held ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q18912794
SYSTEM
Member of the Australian House of Representatives
Q18912794
(Q7052568,P39,c(Q12737077))
action filter_type
action find
entity Q7052568
relation P39
type Q12737077
[ANSWER]
['Q7052568', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q7052568 property:P39 ?k . ?k rdf:type ontology:Q12737077 }
Member of the Australian House of Representatives
Member of the Australian House of Representatives
Member of the Australian House of Representatives
action filter_type
action find
entity Norman Makin
relation position held
type occupation
['Norman Makin', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Norman_Makin property:position_held ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7052568
P27
Q1048835
USER
Which political territory is the native country of that person ?
(Q18912794,P27,c(Q1048835))
action filter_type
action find
entity Q7052568
relation P27
type Q1048835
['Q18912794', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { resource:Q7052568 property:P27 ?f . ?f rdf:type ontology:Q1048835 }
Norman Makin
action filter_type
action find
entity Norman Makin
relation country of citizenship
type political territorial entity
['Member of the Australian House of Representatives', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Norman_Makin property:country_of_citizenship ?f . ?f rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q18912794,P27,c(Q1048835))
action filter_type
action find
entity Q7052568
relation P27
type Q1048835
[ANSWER] is the native country of that person
['Q18912794', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { resource:Q7052568 property:P27 ?f . ?f rdf:type ontology:Q1048835 }
Australia
Australia is the native country of that person
Australia
action filter_type
action find
entity Norman Makin
relation country of citizenship
type political territorial entity
['Member of the Australian House of Representatives', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Norman_Makin property:country_of_citizenship ?f . ?f rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q691
P530
Q1048835 Q1048835
USER
How many political territories have diplomatic relations with more number of political territories than Papua New Guinea ?
(c(Q1048835),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q691
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?m ) WHERE { ?t property:P530 ?y . ?t rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q1048835 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Q691 property:P530 ?l . ?l rdf:type ontology:Q1048835 } } . FILTER ( ?m > ?w ) }
Papua New Guinea
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Papua New Guinea
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?m ) WHERE { ?t property:diplomatic_relation ?y . ?t rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:political_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Papua_New_Guinea property:diplomatic_relation ?l . ?l rdf:type ontology:political_territorial_entity } } . FILTER ( ?m > ?w ) }
[]
political territorial entity political territorial entity
SYSTEM
6
Q40 Q183 Q408 Q35 Q16 Q664
(c(Q1048835),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q691
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?m ) WHERE { ?t property:P530 ?y . ?t rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q1048835 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Q691 property:P530 ?l . ?l rdf:type ontology:Q1048835 } } . FILTER ( ?m > ?w ) }
Austria Germany Australia Denmark Canada New Zealand
6
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Papua New Guinea
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?m ) WHERE { ?t property:diplomatic_relation ?y . ?t rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:political_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Papua_New_Guinea property:diplomatic_relation ?l . ?l rdf:type ontology:political_territorial_entity } } . FILTER ( ?m > ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q40
P530
Q1048835 Q1048835
USER
And also tell me about Austria?
(c(Q1048835),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q40
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?c ) WHERE { ?m property:P530 ?l . ?m rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q1048835 } GROUP BY ?m } . FILTER ( ?c > ?e ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { resource:Q40 property:P530 ?f . ?f rdf:type ontology:Q1048835 } } }
Austria
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Austria
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?c ) WHERE { ?m property:diplomatic_relation ?l . ?m rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:political_territorial_entity } GROUP BY ?m } . FILTER ( ?c > ?e ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { resource:Austria property:diplomatic_relation ?f . ?f rdf:type ontology:political_territorial_entity } } }
[]
political territorial entity political territorial entity
SYSTEM
5
Q183 Q408 Q35 Q16 Q664
(c(Q1048835),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q40
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?c ) WHERE { ?m property:P530 ?l . ?m rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q1048835 } GROUP BY ?m } . FILTER ( ?c > ?e ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { resource:Q40 property:P530 ?f . ?f rdf:type ontology:Q1048835 } } }
Germany Australia Denmark Canada New Zealand
5
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Austria
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?c ) WHERE { ?m property:diplomatic_relation ?l . ?m rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:political_territorial_entity } GROUP BY ?m } . FILTER ( ?c > ?e ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { resource:Austria property:diplomatic_relation ?f . ?f rdf:type ontology:political_territorial_entity } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q408
P463
Q43229 Q874405
USER
How many organizations and social groups were Australia a member of ?
(Q408,P463,c(Q43229)) (Q408,P463,c(Q874405))
action count
action union
action filter_type
action find
entity Q408
relation P463
type Q43229
action filter_type
action find
entity Q408
relation P463
type Q874405
['Q408', 'P463', {'concept': 'Q43229'}] ['Q408', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { VALUES ( ?a ) { ( ontology:Q43229 ) ( ontology:Q874405 ) } . ?c rdf:type ?a }
Australia
action count
action union
action filter_type
action find
entity Australia
relation member of
type organization
action filter_type
action find
entity Australia
relation member of
type social group
['Australia', 'member of', {'concept': 'organization'}] ['Australia', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { VALUES ( ?a ) { ( ontology:organization ) ( ontology:social_group ) } . ?c rdf:type ?a }
[]
organization social group
SYSTEM
10 organizations and 2 social groups
Q191384 Q295875 Q899770 Q309195 Q488981 Q41550 Q82151 Q782942 Q656801 Q7825 Q170481 Q827525
(Q408,P463,c(Q43229)) (Q408,P463,c(Q874405))
action count
action union
action filter_type
action find
entity Q408
relation P463
type Q43229
action filter_type
action find
entity Q408
relation P463
type Q874405
[ANSWER]
['Q408', 'P463', {'concept': 'Q43229'}] ['Q408', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { VALUES ( ?a ) { ( ontology:Q43229 ) ( ontology:Q874405 ) } . ?c rdf:type ?a }
International Bank for Reconstruction and Development ANZUS International Centre for Settlement of Investment Disputes Bank for International Settlements European Bank for Reconstruction and Development Organisation for Economic Co-operation and Development Food and Agriculture Organization of the United Nations Australia Group International Finance Corporation World Trade Organization Asia-Pacific Economic Cooperation International Development Association
10 organizations and 2 social groups
action count
action union
action filter_type
action find
entity Australia
relation member of
type organization
action filter_type
action find
entity Australia
relation member of
type social group
['Australia', 'member of', {'concept': 'organization'}] ['Australia', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { VALUES ( ?a ) { ( ontology:organization ) ( ontology:social_group ) } . ?c rdf:type ?a }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q7291 Q408
P17 P641
Q13406554
USER
Which sport competitions are present in Australia and play badminton ?
AND((c(Q13406554),P17,Q408), (c(Q13406554),P641,Q7291))
action filter_type
action intersection
action find_reverse
entity Q408
relation P17
action find_reverse
entity Q7291
relation P641
type Q13406554
{'AND': [[{'concept': 'Q13406554'}, 'P17', 'Q408'], [{'concept': 'Q13406554'}, 'P641', 'Q7291']]}
SELECT DISTINCT ?q WHERE { ?q property:P17 resource:Q408 . ?q property:P641 resource:Q7291 . ?q rdf:type ontology:Q13406554 }
badminton Australia
action filter_type
action intersection
action find_reverse
entity Australia
relation country
action find_reverse
entity badminton
relation sport
type sport competition
{'AND': [[{'concept': 'sport competition'}, 'country', 'Australia'], [{'concept': 'sport competition'}, 'sport', 'badminton']]}
SELECT DISTINCT ?q WHERE { ?q property:country resource:Australia . ?q property:sport resource:badminton . ?q rdf:type ontology:sport_competition }
[]
sport competition
Q13440661 Q13440677 Q2522754 Q2564864 Q2564871 Q2805821 Q2564877 Q13440683 Q13817364 Q13817384
SYSTEM
Some of them are 2008 Australian Junior International Badminton Championships, 2011 Australian Junior International Badminton Championships, 2007 Victoria International Badminton Championships, 1999 Western Australia International Badminton Championships, 2004 Western Australia International Badminton Championships, 2006 Victoria International Badminton Championships, 2005 Western Australia International Badminton Championships, 2013 Australian Junior International Badminton Championships, 2011 Victoria Open Badminton Championships, 2010 Victoria Open Badminton Championships
Q2522748 Q13817384 Q2522747 Q2805821 Q2522743 Q13817364 Q1558283 Q1252590 Q993709 Q1591793 Q13440669 Q13440661 Q13817340 Q2564877 Q2564871 Q13440683 Q2522754 Q13440677 Q13817294 Q26844639 Q26844638 Q15941623 Q2564866 Q2564867 Q2564864
AND((c(Q13406554),P17,Q408), (c(Q13406554),P641,Q7291))
action filter_type
action intersection
action find_reverse
entity Q408
relation P17
action find_reverse
entity Q7291
relation P641
type Q13406554
[ANSWERS] are present in Australia and play badminton
{'AND': [[{'concept': 'Q13406554'}, 'P17', 'Q408'], [{'concept': 'Q13406554'}, 'P641', 'Q7291']]}
SELECT DISTINCT ?q WHERE { ?q property:P17 resource:Q408 . ?q property:P641 resource:Q7291 . ?q rdf:type ontology:Q13406554 }
2000 Victoria International Badminton Championships 2010 Victoria Open Badminton Championships 1999 Victoria International Badminton Championships 2006 Victoria International Badminton Championships 1995 Victoria International Badminton Championships 2011 Victoria Open Badminton Championships 2012 Victoria International Badminton Championships 2009 Victoria International Badminton Championships 1997 Victoria International Badminton Championships 1997 Western Australia International Badminton Championships 2010 Australian Junior International Badminton Championships 2008 Australian Junior International Badminton Championships 2008 Victoria Open Badminton Championships 2005 Western Australia International Badminton Championships 2004 Western Australia International Badminton Championships 2013 Australian Junior International Badminton Championships 2007 Victoria International Badminton Championships 2011 Australian Junior International Badminton Championships 2013 Victoria International Badminton Championships 2016 Australian Junior International Badminton Championships 2015 Australian Junior International Badminton Championships 2014 Australian Junior International Badminton Championships 2002 Western Australia International Badminton Championships 2003 Western Australia International Badminton Championships 1999 Western Australia International Badminton Championships
2008 Australian Junior International Badminton Championships, 2011 Australian Junior International Badminton Championships, 2007 Victoria International Badminton Championships, 1999 Western Australia International Badminton Championships, 2004 Western Australia International Badminton Championships, 2006 Victoria International Badminton Championships, 2005 Western Australia International Badminton Championships, 2013 Australian Junior International Badminton Championships, 2011 Victoria Open Badminton Championships and 2010 Victoria Open Badminton Championships are present in Australia and play badminton
2008 Australian Junior International Badminton Championships 2011 Australian Junior International Badminton Championships 2007 Victoria International Badminton Championships 1999 Western Australia International Badminton Championships 2004 Western Australia International Badminton Championships 2006 Victoria International Badminton Championships 2005 Western Australia International Badminton Championships 2013 Australian Junior International Badminton Championships 2011 Victoria Open Badminton Championships 2010 Victoria Open Badminton Championships
action filter_type
action intersection
action find_reverse
entity Australia
relation country
action find_reverse
entity badminton
relation sport
type sport competition
{'AND': [[{'concept': 'sport competition'}, 'country', 'Australia'], [{'concept': 'sport competition'}, 'sport', 'badminton']]}
SELECT DISTINCT ?q WHERE { ?q property:country resource:Australia . ?q property:sport resource:badminton . ?q rdf:type ontology:sport_competition }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2545594 Q7052568
P102
Q7210356
USER
Which political organizations are Norman Makin or Walter Nadler affiliated with ?
OR((Q7052568,P102,c(Q7210356)), (Q2545594,P102,c(Q7210356)))
action filter_type
action union
action find
entity Q7052568
relation P102
action find
entity Q2545594
relation P102
type Q7210356
{'OR': [['Q7052568', 'P102', {'concept': 'Q7210356'}], ['Q2545594', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?u ) { ( resource:Q7052568 ) ( resource:Q2545594 ) } . ?u property:P102 ?k } . ?k rdf:type ontology:Q7210356 }
Walter Nadler Norman Makin
action filter_type
action union
action find
entity Norman Makin
relation member of political party
action find
entity Walter Nadler
relation member of political party
type political organization
{'OR': [['Norman Makin', 'member of political party', {'concept': 'political organization'}], ['Walter Nadler', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?u ) { ( resource:Norman_Makin ) ( resource:Walter_Nadler ) } . ?u property:member_of_political_party ?k } . ?k rdf:type ontology:political_organization }
[]
political organization
Q49763 Q216082
SYSTEM
Christian Social Union of Bavaria, Australian Labor Party
Q49763 Q216082
OR((Q7052568,P102,c(Q7210356)), (Q2545594,P102,c(Q7210356)))
action filter_type
action union
action find
entity Q7052568
relation P102
action find
entity Q2545594
relation P102
type Q7210356
Norman Makin or Walter Nadler are affiliated with [ANSWERS]
{'OR': [['Q7052568', 'P102', {'concept': 'Q7210356'}], ['Q2545594', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?u ) { ( resource:Q7052568 ) ( resource:Q2545594 ) } . ?u property:P102 ?k } . ?k rdf:type ontology:Q7210356 }
Christian Social Union of Bavaria Australian Labor Party
Norman Makin or Walter Nadler are affiliated with Christian Social Union of Bavaria and Australian Labor Party
Christian Social Union of Bavaria Australian Labor Party
action filter_type
action union
action find
entity Norman Makin
relation member of political party
action find
entity Walter Nadler
relation member of political party
type political organization
{'OR': [['Norman Makin', 'member of political party', {'concept': 'political organization'}], ['Walter Nadler', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?u ) { ( resource:Norman_Makin ) ( resource:Walter_Nadler ) } . ?u property:member_of_political_party ?k } . ?k rdf:type ontology:political_organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q49763
P488
Q502895
USER
Who served as the chairperson of that political organization ?
(Q49763,P488,c(Q502895))
action filter_type
action find
entity Q49763
relation P488
type Q502895
['Q49763', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q49763 property:P488 ?s . ?s rdf:type ontology:Q502895 }
Christian Social Union of Bavaria
action filter_type
action find
entity Christian Social Union of Bavaria
relation chairperson
type common name
['Christian Social Union of Bavaria', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Christian_Social_Union_of_Bavaria property:chairperson ?s . ?s rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q216082
SYSTEM
Did you mean Australian Labor Party ?
Q49763 Q216082
(Q49763,P488,c(Q502895)) (Q216082,P488,c(Q502895))
[ANSWER]
['Q49763', 'P488', {'concept': 'Q502895'}] ['Q216082', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q49763 property:P488 ?s . ?s rdf:type ontology:Q502895 }
Christian Social Union of Bavaria Australian Labor Party
Did you mean Australian Labor Party ?
Australian Labor Party
['Christian Social Union of Bavaria', 'chairperson', {'concept': 'common name'}] ['Australian Labor Party', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Christian_Social_Union_of_Bavaria property:chairperson ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Christian Social Union of Bavaria. Could you tell me the answer for that?
(Q49763,P488,c(Q502895))
Q49763
['Q49763', 'P488', {'concept': 'Q502895'}]
['Christian Social Union of Bavaria', 'chairperson', {'concept': 'common name'}]
[]
Q44612
SYSTEM
Horst Seehofer
Q44612
(Q49763,P488,c(Q502895))
action filter_type
action find
entity Q49763
relation P488
type Q502895
[ANSWER] served as the chairperson of that political organization
['Q49763', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q49763 property:P488 ?s . ?s rdf:type ontology:Q502895 }
Horst Seehofer
Horst Seehofer served as the chairperson of that political organization
Horst Seehofer
action filter_type
action find
entity Christian Social Union of Bavaria
relation chairperson
type common name
['Christian Social Union of Bavaria', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Christian_Social_Union_of_Bavaria property:chairperson ?s . ?s rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q5836695 Q408
P530 P19
Q15617994
USER
Which administrative territories have a diplomatic relationship with Australia and were Ernest Bong born ?
AND((Q408,P530,c(Q15617994)), (Q5836695,P19,c(Q15617994)))
action filter_type
action intersection
action find
entity Q408
relation P530
action find
entity Q5836695
relation P19
type Q15617994
{'AND': [['Q408', 'P530', {'concept': 'Q15617994'}], ['Q5836695', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { resource:Q408 property:P530 ?i . resource:Q5836695 property:P19 ?i . ?i rdf:type ontology:Q15617994 }
Ernest Bong Australia
action filter_type
action intersection
action find
entity Australia
relation diplomatic relation
action find
entity Ernest Bong
relation place of birth
type designation for an administrative territorial entity
{'AND': [['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Ernest Bong', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { resource:Australia property:diplomatic_relation ?i . resource:Ernest_Bong property:place_of_birth ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q686
SYSTEM
Vanuatu
Q686
AND((Q408,P530,c(Q15617994)), (Q5836695,P19,c(Q15617994)))
action filter_type
action intersection
action find
entity Q408
relation P530
action find
entity Q5836695
relation P19
type Q15617994
[ANSWER] have a diplomatic relationship with Australia and were Ernest Bong born
{'AND': [['Q408', 'P530', {'concept': 'Q15617994'}], ['Q5836695', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { resource:Q408 property:P530 ?i . resource:Q5836695 property:P19 ?i . ?i rdf:type ontology:Q15617994 }
Vanuatu
Vanuatu have a diplomatic relationship with Australia and were Ernest Bong born
Vanuatu
action filter_type
action intersection
action find
entity Australia
relation diplomatic relation
action find
entity Ernest Bong
relation place of birth
type designation for an administrative territorial entity
{'AND': [['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Ernest Bong', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { resource:Australia property:diplomatic_relation ?i . resource:Ernest_Bong property:place_of_birth ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P37
Q25295 Q34770
USER
How many language families and languages are the official languages of that administrative territory ?
(Q686,P37,c(Q25295)) (Q686,P37,c(Q34770)) (Q686,P37,c(Q25295)) (Q686,P37,c(Q34770))
action count
action union
action filter_type
action find
entity Q686
relation P37
type Q25295
action filter_type
action find
entity Q686
relation P37
type Q34770
['Q686', 'P37', {'concept': 'Q25295'}] ['Q686', 'P37', {'concept': 'Q34770'}] ['Q686', 'P37', {'concept': 'Q25295'}] ['Q686', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { resource:Q686 property:P37 ?j . ?j rdf:type ontology:Q25295 } UNION { resource:Q686 property:P37 ?j . ?j rdf:type ontology:Q34770 } }
action count
action union
action filter_type
action find
entity Vanuatu
relation official language
type language family
action filter_type
action find
entity Vanuatu
relation official language
type language
['Vanuatu', 'official language', {'concept': 'language family'}] ['Vanuatu', 'official language', {'concept': 'language'}] ['Vanuatu', 'official language', {'concept': 'language family'}] ['Vanuatu', 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { resource:Vanuatu property:official_language ?j . ?j rdf:type ontology:language_family } UNION { resource:Vanuatu property:official_language ?j . ?j rdf:type ontology:language } }
[]
language family language
SYSTEM
1 language families and 1 languages
Q35452 Q1860
(Q686,P37,c(Q25295)) (Q686,P37,c(Q34770)) (Q686,P37,c(Q25295)) (Q686,P37,c(Q34770))
action count
action union
action filter_type
action find
entity Q686
relation P37
type Q25295
action filter_type
action find
entity Q686
relation P37
type Q34770
[ANSWER]
['Q686', 'P37', {'concept': 'Q25295'}] ['Q686', 'P37', {'concept': 'Q34770'}] ['Q686', 'P37', {'concept': 'Q25295'}] ['Q686', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { resource:Q686 property:P37 ?j . ?j rdf:type ontology:Q25295 } UNION { resource:Q686 property:P37 ?j . ?j rdf:type ontology:Q34770 } }
Bislama English
1 language families and 1 languages
action count
action union
action filter_type
action find
entity Vanuatu
relation official language
type language family
action filter_type
action find
entity Vanuatu
relation official language
type language
['Vanuatu', 'official language', {'concept': 'language family'}] ['Vanuatu', 'official language', {'concept': 'language'}] ['Vanuatu', 'official language', {'concept': 'language family'}] ['Vanuatu', 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { resource:Vanuatu property:official_language ?j . ?j rdf:type ontology:language_family } UNION { resource:Vanuatu property:official_language ?j . ?j rdf:type ontology:language } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q13511837 Q2805821
P17
Q1048835
USER
Which political territories are 2006 Victoria International Badminton Championships or 1970 Jamaican Badminton Championships situated in ?
OR((Q2805821,P17,c(Q1048835)), (Q13511837,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q2805821
relation P17
action find
entity Q13511837
relation P17
type Q1048835
{'OR': [['Q2805821', 'P17', {'concept': 'Q1048835'}], ['Q13511837', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q2805821 property:P17 ?x } UNION { resource:Q13511837 property:P17 ?x } } . ?x rdf:type ontology:Q1048835 }
1970 Jamaican Badminton Championships 2006 Victoria International Badminton Championships
action filter_type
action union
action find
entity 2006 Victoria International Badminton Championships
relation country
action find
entity 1970 Jamaican Badminton Championships
relation country
type political territorial entity
{'OR': [['2006 Victoria International Badminton Championships', 'country', {'concept': 'political territorial entity'}], ['1970 Jamaican Badminton Championships', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:2006_Victoria_International_Badminton_Championships property:country ?x } UNION { resource:1970_Jamaican_Badminton_Championships property:country ?x } } . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q766
SYSTEM
Australia, Jamaica
Q408 Q766
OR((Q2805821,P17,c(Q1048835)), (Q13511837,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q2805821
relation P17
action find
entity Q13511837
relation P17
type Q1048835
[ANSWERS]
{'OR': [['Q2805821', 'P17', {'concept': 'Q1048835'}], ['Q13511837', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q2805821 property:P17 ?x } UNION { resource:Q13511837 property:P17 ?x } } . ?x rdf:type ontology:Q1048835 }
Australia Jamaica
Which political territories are 2006 Victoria International Badminton Championships or 1970 Jamaican Badminton Championships situated in
Australia Jamaica
action filter_type
action union
action find
entity 2006 Victoria International Badminton Championships
relation country
action find
entity 1970 Jamaican Badminton Championships
relation country
type political territorial entity
{'OR': [['2006 Victoria International Badminton Championships', 'country', {'concept': 'political territorial entity'}], ['1970 Jamaican Badminton Championships', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:2006_Victoria_International_Badminton_Championships property:country ?x } UNION { resource:1970_Jamaican_Badminton_Championships property:country ?x } } . ?x rdf:type ontology:political_territorial_entity }
[]