Simple Question (Direct)
Simple Question
Q7344780
P102
Q7210356
USER
Which political organization is Robert Gillies a member of ?
(Q7344780,P102,c(Q7210356))
action filter_type
action find
entity Q7344780
relation P102
type Q7210356
['Q7344780', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?u WHERE { resource:Q7344780 property:P102 ?u . ?u rdf:type ontology:Q7210356 }
Robert Gillies
action filter_type
action find
entity Robert Gillies
relation member of political party
type political organization
['Robert Gillies', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?u WHERE { resource:Robert_Gillies property:member_of_political_party ?u . ?u rdf:type ontology:political_organization }
[]
political organization
Q216082
SYSTEM
Australian Labor Party
Q216082
(Q7344780,P102,c(Q7210356))
action filter_type
action find
entity Q7344780
relation P102
type Q7210356
Party [ANSWER] is Robert Gillies a member of
['Q7344780', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?u WHERE { resource:Q7344780 property:P102 ?u . ?u rdf:type ontology:Q7210356 }
Australian Labor Party
Party Australian Labor Party is Robert Gillies a member of
Australian Labor Party
action filter_type
action find
entity Robert Gillies
relation member of political party
type political organization
['Robert Gillies', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?u WHERE { resource:Robert_Gillies property:member_of_political_party ?u . ?u rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q216082
P39
Q502895
USER
Who held the position of that political organization ?
(c(Q502895),P39,Q216082)
action filter_type
action find_reverse
entity Q216082
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q216082']
SELECT DISTINCT ?h WHERE { ?h property:P39 resource:Q216082 . ?h rdf:type ontology:Q502895 }
Australian Labor Party
action filter_type
action find_reverse
entity Australian Labor Party
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Australian Labor Party']
SELECT DISTINCT ?h WHERE { ?h property:position_held resource:Australian_Labor_Party . ?h rdf:type ontology:common_name }
[]
common name
Q708887
SYSTEM
Arthur Calwell
Q708887
(c(Q502895),P39,Q216082)
action filter_type
action find_reverse
entity Q216082
relation P39
type Q502895
[ANSWER] held the position of that political organization
[{'concept': 'Q502895'}, 'P39', 'Q216082']
SELECT DISTINCT ?h WHERE { ?h property:P39 resource:Q216082 . ?h rdf:type ontology:Q502895 }
Arthur Calwell
Arthur Calwell held the position of that political organization
Arthur Calwell
action filter_type
action find_reverse
entity Australian Labor Party
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Australian Labor Party']
SELECT DISTINCT ?h WHERE { ?h property:position_held resource:Australian_Labor_Party . ?h rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7344780
P1412
Q34770
USER
Which language is Robert Gillies capable of writing ?
(Q7344780,P1412,c(Q34770))
action filter_type
action find
entity Q7344780
relation P1412
type Q34770
['Q7344780', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q7344780 property:P1412 ?s . ?s rdf:type ontology:Q34770 }
Robert Gillies
action filter_type
action find
entity Robert Gillies
relation languages spoken, written or signed
type language
['Robert Gillies', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Robert_Gillies property:languages_spoken,_written_or_signed ?s . ?s rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q7344780,P1412,c(Q34770))
action filter_type
action find
entity Q7344780
relation P1412
type Q34770
[ANSWER] is Robert Gillies capable of writing
['Q7344780', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q7344780 property:P1412 ?s . ?s rdf:type ontology:Q34770 }
English
English is Robert Gillies capable of writing
English
action filter_type
action find
entity Robert Gillies
relation languages spoken, written or signed
type language
['Robert Gillies', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Robert_Gillies property:languages_spoken,_written_or_signed ?s . ?s rdf:type ontology:language }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q2001982 Q8192 Q34770
USER
How many languages are atleast 2 notations or writing systems the writing system of ?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action atleast
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 2
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?u WHERE { VALUES ( ?i ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } . ?j rdf:type ?i } GROUP BY ?u } . FILTER ( ?m >= 2 ) }
action count
action atleast
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
value 2
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?u WHERE { VALUES ( ?i ) { ( ontology:notation ) ( ontology:writing_system ) } . ?j rdf:type ?i } GROUP BY ?u } . FILTER ( ?m >= 2 ) }
[]
notation writing system language
SYSTEM
2
Q182695 Q29572
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action atleast
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 2
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?u WHERE { VALUES ( ?i ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } . ?j rdf:type ?i } GROUP BY ?u } . FILTER ( ?m >= 2 ) }
Late Old Japanese Avestan
2
action count
action atleast
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
value 2
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?u WHERE { VALUES ( ?i ) { ( ontology:notation ) ( ontology:writing_system ) } . ?j rdf:type ?i } GROUP BY ?u } . FILTER ( ?m >= 2 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q15106627 Q1860
P361 P136
Q5962346
USER
Which classification schemes are English a part of or are the genre for Las trampas del deseo ?
OR((Q1860,P361,c(Q5962346)), (Q15106627,P136,c(Q5962346)))
action filter_type
action union
action find
entity Q1860
relation P361
action find
entity Q15106627
relation P136
type Q5962346
{'OR': [['Q1860', 'P361', {'concept': 'Q5962346'}], ['Q15106627', 'P136', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q15106627 property:P136 ?d } UNION { resource:Q1860 property:P361 ?d } } . ?d rdf:type ontology:Q5962346 }
Las trampas del deseo English
action filter_type
action union
action find
entity English
relation part of
action find
entity Las trampas del deseo
relation genre
type classification scheme
{'OR': [['English', 'part of', {'concept': 'classification scheme'}], ['Las trampas del deseo', 'genre', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Las_trampas_del_deseo property:genre ?d } UNION { resource:English property:part_of ?d } } . ?d rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q23745 Q5329170
SYSTEM
Anglic languages, telenovela, Anglo-Frisian languages
Q1346342 Q23745 Q5329170
OR((Q1860,P361,c(Q5962346)), (Q15106627,P136,c(Q5962346)))
action filter_type
action union
action find
entity Q1860
relation P361
action find
entity Q15106627
relation P136
type Q5962346
[ANSWERS] are English a part of or are the genre for Las trampas del deseo
{'OR': [['Q1860', 'P361', {'concept': 'Q5962346'}], ['Q15106627', 'P136', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q15106627 property:P136 ?d } UNION { resource:Q1860 property:P361 ?d } } . ?d rdf:type ontology:Q5962346 }
Anglic languages telenovela Anglo-Frisian languages
Anglic languages, telenovela and Anglo-Frisian languages are English a part of or are the genre for Las trampas del deseo
Anglic languages telenovela Anglo-Frisian languages
action filter_type
action union
action find
entity English
relation part of
action find
entity Las trampas del deseo
relation genre
type classification scheme
{'OR': [['English', 'part of', {'concept': 'classification scheme'}], ['Las trampas del deseo', 'genre', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Las_trampas_del_deseo property:genre ?d } UNION { resource:English property:part_of ?d } } . ?d rdf:type ontology:classification_scheme }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q4910901 Q216082
P27 P17
Q1048835
USER
Which political territories are Australian Labor Party present in and are the native countriesof Bill Slater ?
AND((Q216082,P17,c(Q1048835)), (Q4910901,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q216082
relation P17
action find
entity Q4910901
relation P27
type Q1048835
{'AND': [['Q216082', 'P17', {'concept': 'Q1048835'}], ['Q4910901', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q1048835 . resource:Q216082 property:P17 ?m . resource:Q4910901 property:P27 ?m }
Bill Slater Australian Labor Party
action filter_type
action intersection
action find
entity Australian Labor Party
relation country
action find
entity Bill Slater
relation country of citizenship
type political territorial entity
{'AND': [['Australian Labor Party', 'country', {'concept': 'political territorial entity'}], ['Bill Slater', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:political_territorial_entity . resource:Australian_Labor_Party property:country ?m . resource:Bill_Slater property:country_of_citizenship ?m }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
AND((Q216082,P17,c(Q1048835)), (Q4910901,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q216082
relation P17
action find
entity Q4910901
relation P27
type Q1048835
Which political territories is [ANSWER]n Labor Party present in and is the native countriesof Bill Slater
{'AND': [['Q216082', 'P17', {'concept': 'Q1048835'}], ['Q4910901', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q1048835 . resource:Q216082 property:P17 ?m . resource:Q4910901 property:P27 ?m }
Australia
Which political territories is Australian Labor Party present in and is the native countriesof Bill Slater
Australia
action filter_type
action intersection
action find
entity Australian Labor Party
relation country
action find
entity Bill Slater
relation country of citizenship
type political territorial entity
{'AND': [['Australian Labor Party', 'country', {'concept': 'political territorial entity'}], ['Bill Slater', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:political_territorial_entity . resource:Australian_Labor_Party property:country ?m . resource:Bill_Slater property:country_of_citizenship ?m }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P495
Q1318295 Q874405
USER
How many narratives and social groups originate at that political territory ?
(c(Q1318295),P495,Q408) (c(Q874405),P495,Q408) (c(Q1318295),P495,Q408) (c(Q874405),P495,Q408)
action count
action union
action filter_type
action find_reverse
entity Q408
relation P495
type Q1318295
action filter_type
action find_reverse
entity Q408
relation P495
type Q874405
[{'concept': 'Q1318295'}, 'P495', 'Q408'] [{'concept': 'Q874405'}, 'P495', 'Q408'] [{'concept': 'Q1318295'}, 'P495', 'Q408'] [{'concept': 'Q874405'}, 'P495', 'Q408']
SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { { ?u property:P495 resource:Q408 . ?u rdf:type ontology:Q1318295 } UNION { ?u property:P495 resource:Q408 . ?u rdf:type ontology:Q874405 } }
action count
action union
action filter_type
action find_reverse
entity Australia
relation country of origin
type narrative
action filter_type
action find_reverse
entity Australia
relation country of origin
type social group
[{'concept': 'narrative'}, 'country of origin', 'Australia'] [{'concept': 'social group'}, 'country of origin', 'Australia'] [{'concept': 'narrative'}, 'country of origin', 'Australia'] [{'concept': 'social group'}, 'country of origin', 'Australia']
SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { { ?u property:country_of_origin resource:Australia . ?u rdf:type ontology:narrative } UNION { ?u property:country_of_origin resource:Australia . ?u rdf:type ontology:social_group } }
[]
narrative social group
SYSTEM
3 narratives and 2 social groups
Q17000938 Q4835109 Q23541370 Q23307496 Q23893338
(c(Q1318295),P495,Q408) (c(Q874405),P495,Q408) (c(Q1318295),P495,Q408) (c(Q874405),P495,Q408)
action count
action union
action filter_type
action find_reverse
entity Q408
relation P495
type Q1318295
action filter_type
action find_reverse
entity Q408
relation P495
type Q874405
[ANSWER]
[{'concept': 'Q1318295'}, 'P495', 'Q408'] [{'concept': 'Q874405'}, 'P495', 'Q408'] [{'concept': 'Q1318295'}, 'P495', 'Q408'] [{'concept': 'Q874405'}, 'P495', 'Q408']
SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { { ?u property:P495 resource:Q408 . ?u rdf:type ontology:Q1318295 } UNION { ?u property:P495 resource:Q408 . ?u rdf:type ontology:Q874405 } }
Australian Federation of Women Voters BB Steal My Career Goes Bung Return to Coolami The Natural Way of Things
3 narratives and 2 social groups
action count
action union
action filter_type
action find_reverse
entity Australia
relation country of origin
type narrative
action filter_type
action find_reverse
entity Australia
relation country of origin
type social group
[{'concept': 'narrative'}, 'country of origin', 'Australia'] [{'concept': 'social group'}, 'country of origin', 'Australia'] [{'concept': 'narrative'}, 'country of origin', 'Australia'] [{'concept': 'social group'}, 'country of origin', 'Australia']
SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { { ?u property:country_of_origin resource:Australia . ?u rdf:type ontology:narrative } UNION { ?u property:country_of_origin resource:Australia . ?u rdf:type ontology:social_group } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q408
P530
Q15617994
USER
Which administrative territories have diplomatic relations with Australia ?
(Q408,P530,c(Q15617994))
action filter_type
action find
entity Q408
relation P530
type Q15617994
['Q408', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q408 property:P530 ?j . ?j rdf:type ontology:Q15617994 }
Australia
action filter_type
action find
entity Australia
relation diplomatic relation
type designation for an administrative territorial entity
['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Australia property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q702 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q786 Q37 Q833 Q711 Q836 Q837 Q252 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q796 Q794 Q954 Q889 Q884 Q881 Q822 Q244 Q33 Q921 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q424 Q851 Q733 Q854 Q734 Q736 Q233 Q20 Q1041 Q27 Q29 Q1027 Q1020 Q843 Q1029 Q225 Q224 Q221 Q96 Q229 Q17 Q902 Q1036 Q1033 Q1030 Q191 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q215 Q218 Q219 Q916 Q712 Q977 Q1009 Q683 Q686 Q574 Q79 Q77 Q878 Q774 Q817 Q810 Q811 Q819 Q678 Q33788 Q869 Q953
(Q408,P530,c(Q15617994))
action filter_type
action find
entity Q408
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with Australia
['Q408', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q408 property:P530 ?j . ?j rdf:type ontology:Q15617994 }
Federated States of Micronesia Israel Costa Rica Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Dominican Republic Lithuania Malaysia Mongolia Myanmar Nepal Indonesia Serbia South Africa Portugal Russia Turkey Greece Brazil El Salvador Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Lebanon Barbados Finland Brunei Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Cambodia Saudi Arabia Paraguay Sri Lanka Guyana Ecuador Malta Norway Senegal Ireland Spain Mauritius Malawi Pakistan Mozambique Bosnia and Herzegovina Croatia Republic of Macedonia Mexico Cyprus Japan Bangladesh Uganda Nigeria Namibia Estonia Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Slovenia Romania Bulgaria Angola Fiji Djibouti Cameroon Samoa Vanuatu East Timor Egypt Uruguay United Arab Emirates Guatemala Kuwait Jordan Nicaragua Laos Tonga New Caledonia Thailand Zambia
Italy, Brazil and United States of America have diplomatic relations with Australia
Italy Brazil United States of America
action filter_type
action find
entity Australia
relation diplomatic relation
type designation for an administrative territorial entity
['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Australia property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]