Simple Question (Direct)
Simple Question
Q7839395
P7
Q502895
USER
Which person is the brother of Trevor Releford ?
(Q7839395,P7,c(Q502895))
action filter_type
action find
entity Q7839395
relation P7
type Q502895
['Q7839395', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q7839395 property:P7 ?t . ?t rdf:type ontology:Q502895 }
Trevor Releford
action filter_type
action find
entity Trevor Releford
relation brother
type common name
['Trevor Releford', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Trevor_Releford property:brother ?t . ?t rdf:type ontology:common_name }
[]
common name
Q20031354
SYSTEM
Travis Releford
Q20031354
(Q7839395,P7,c(Q502895))
action filter_type
action find
entity Q7839395
relation P7
type Q502895
[ANSWER] is the brother of Trevor Releford
['Q7839395', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q7839395 property:P7 ?t . ?t rdf:type ontology:Q502895 }
Travis Releford
Travis Releford is the brother of Trevor Releford
Travis Releford
action filter_type
action find
entity Trevor Releford
relation brother
type common name
['Trevor Releford', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Trevor_Releford property:brother ?t . ?t rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q19857402 Q7839395
P27 P495
Q15617994
USER
Which administrative territories are Trevor Releford an inhabitant of and are the countries of origin of Arrangement in Brown and Black: Portrait of Miss Rosa Corder ?
AND((Q7839395,P27,c(Q15617994)), (Q19857402,P495,c(Q15617994)))
action filter_type
action intersection
action find
entity Q7839395
relation P27
action find
entity Q19857402
relation P495
type Q15617994
{'AND': [['Q7839395', 'P27', {'concept': 'Q15617994'}], ['Q19857402', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { resource:Q7839395 property:P27 ?f . resource:Q19857402 property:P495 ?f . ?f rdf:type ontology:Q15617994 }
Arrangement in Brown and Black: Portrait of Miss Rosa Corder Trevor Releford
action filter_type
action intersection
action find
entity Trevor Releford
relation country of citizenship
action find
entity Arrangement in Brown and Black: Portrait of Miss Rosa Corder
relation country of origin
type designation for an administrative territorial entity
{'AND': [['Trevor Releford', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Arrangement in Brown and Black: Portrait of Miss Rosa Corder', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { resource:Trevor_Releford property:country_of_citizenship ?f . resource:Arrangement_in_Brown_and_Black:_Portrait_of_Miss_Rosa_Corder property:country_of_origin ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q7839395,P27,c(Q15617994)), (Q19857402,P495,c(Q15617994)))
action filter_type
action intersection
action find
entity Q7839395
relation P27
action find
entity Q19857402
relation P495
type Q15617994
Of [ANSWER] is Trevor Releford an inhabitant of and is the countries of origin of Arrangement in Brown and Black: Portrait of Miss Rosa Corder
{'AND': [['Q7839395', 'P27', {'concept': 'Q15617994'}], ['Q19857402', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { resource:Q7839395 property:P27 ?f . resource:Q19857402 property:P495 ?f . ?f rdf:type ontology:Q15617994 }
United States of America
Of United States of America is Trevor Releford an inhabitant of and is the countries of origin of Arrangement in Brown and Black: Portrait of Miss Rosa Corder
United States of America
action filter_type
action intersection
action find
entity Trevor Releford
relation country of citizenship
action find
entity Arrangement in Brown and Black: Portrait of Miss Rosa Corder
relation country of origin
type designation for an administrative territorial entity
{'AND': [['Trevor Releford', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Arrangement in Brown and Black: Portrait of Miss Rosa Corder', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { resource:Trevor_Releford property:country_of_citizenship ?f . resource:Arrangement_in_Brown_and_Black:_Portrait_of_Miss_Rosa_Corder property:country_of_origin ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q30 Q1791617 Q183
P530
Q1048835
USER
Does that administrative territory have tactful political relations with Pains, Minas Gerais and Germany ?
(Q30,P530,Q1791617) (Q30,P530,Q183)
action is_in
entity Q30
action intersection
action find_reverse
entity Q1791617
relation P530
action find_reverse
entity Q183
relation P530
['Q30', 'P530', 'Q1791617'] ['Q30', 'P530', 'Q183']
ASK WHERE { resource:Q30 property:P530 resource:Q183 . resource:Q30 property:P530 resource:Q1791617 }
United States of America Pains, Minas Gerais Germany
action is_in
entity United States of America
action intersection
action find_reverse
entity Pains, Minas Gerais
relation diplomatic relation
action find_reverse
entity Germany
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Pains, Minas Gerais'] ['United States of America', 'diplomatic relation', 'Germany']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Germany . resource:United_States_of_America property:diplomatic_relation resource:Pains,_Minas_Gerais }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q30,P530,Q1791617) (Q30,P530,Q183)
action is_in
entity Q30
action intersection
action find_reverse
entity Q1791617
relation P530
action find_reverse
entity Q183
relation P530
[ANSWER]
['Q30', 'P530', 'Q1791617'] ['Q30', 'P530', 'Q183']
ASK WHERE { resource:Q30 property:P530 resource:Q183 . resource:Q30 property:P530 resource:Q1791617 }
NO and YES respectively
action is_in
entity United States of America
action intersection
action find_reverse
entity Pains, Minas Gerais
relation diplomatic relation
action find_reverse
entity Germany
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Pains, Minas Gerais'] ['United States of America', 'diplomatic relation', 'Germany']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Germany . resource:United_States_of_America property:diplomatic_relation resource:Pains,_Minas_Gerais }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P37
Q5962346 Q34770 Q15617994
USER
How many administrative territories are atleast 2 classification schemes or languages associated to as the official language ?
(c(Q15617994),P37,c(Q5962346)|c(Q34770))
action count
action atleast
action union
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action find_tuple_counts
relation P37
type Q15617994
type Q34770
value 2
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q5962346'}, {'concept': 'Q34770'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) ?x WHERE { { ?x rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q5962346 . ?x property:P37 ?k } UNION { ?x rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q34770 . ?x property:P37 ?k } } GROUP BY ?x } . FILTER ( ?h >= 2 ) }
action count
action atleast
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'classification scheme'}, {'concept': 'language'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) ?x WHERE { { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:classification_scheme . ?x property:official_language ?k } UNION { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:language . ?x property:official_language ?k } } GROUP BY ?x } . FILTER ( ?h >= 2 ) }
[]
classification scheme language designation for an administrative territorial entity
SYSTEM
2
Q29 Q750
(c(Q15617994),P37,c(Q5962346)|c(Q34770))
action count
action atleast
action union
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action find_tuple_counts
relation P37
type Q15617994
type Q34770
value 2
[ANSWER]
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q5962346'}, {'concept': 'Q34770'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) ?x WHERE { { ?x rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q5962346 . ?x property:P37 ?k } UNION { ?x rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q34770 . ?x property:P37 ?k } } GROUP BY ?x } . FILTER ( ?h >= 2 ) }
Spain Bolivia
2
action count
action atleast
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'classification scheme'}, {'concept': 'language'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) ?x WHERE { { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:classification_scheme . ?x property:official_language ?k } UNION { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:language . ?x property:official_language ?k } } GROUP BY ?x } . FILTER ( ?h >= 2 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7781394 Q7839395
P27 P495
Q15617994
USER
Which administrative territories are Trevor Releford a civilian of or are the countries of origin of Thennai Kozhakkattai ?
OR((Q7839395,P27,c(Q15617994)), (Q7781394,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q7839395
relation P27
action find
entity Q7781394
relation P495
type Q15617994
{'OR': [['Q7839395', 'P27', {'concept': 'Q15617994'}], ['Q7781394', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q7839395 property:P27 ?t } UNION { resource:Q7781394 property:P495 ?t } } . ?t rdf:type ontology:Q15617994 }
Thennai Kozhakkattai Trevor Releford
action filter_type
action union
action find
entity Trevor Releford
relation country of citizenship
action find
entity Thennai Kozhakkattai
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Trevor Releford', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Thennai Kozhakkattai', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Trevor_Releford property:country_of_citizenship ?t } UNION { resource:Thennai_Kozhakkattai property:country_of_origin ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q668
SYSTEM
United States of America, India
Q30 Q668
OR((Q7839395,P27,c(Q15617994)), (Q7781394,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q7839395
relation P27
action find
entity Q7781394
relation P495
type Q15617994
[ANSWERS] are Trevor Releford a civilian of or are the countries of origin of Thennai Kozhakkattai
{'OR': [['Q7839395', 'P27', {'concept': 'Q15617994'}], ['Q7781394', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q7839395 property:P27 ?t } UNION { resource:Q7781394 property:P495 ?t } } . ?t rdf:type ontology:Q15617994 }
United States of America India
United States of America and India are Trevor Releford a civilian of or are the countries of origin of Thennai Kozhakkattai
United States of America India
action filter_type
action union
action find
entity Trevor Releford
relation country of citizenship
action find
entity Thennai Kozhakkattai
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Trevor Releford', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Thennai Kozhakkattai', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Trevor_Releford property:country_of_citizenship ?t } UNION { resource:Thennai_Kozhakkattai property:country_of_origin ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q30 Q668
P463
Q43229
USER
Which organizations were United States of America and India a member of ?
(Q30,P463,c(Q43229)) (Q668,P463,c(Q43229))
action union
action filter_type
action find
entity Q30
relation P463
type Q43229
action filter_type
action find
entity Q668
relation P463
type Q43229
['Q30', 'P463', {'concept': 'Q43229'}] ['Q668', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?x WHERE { { resource:Q668 property:P463 ?x . ?x rdf:type ontology:Q43229 } UNION { ?x rdf:type ontology:Q43229 . resource:Q30 property:P463 ?x } }
United States of America India
action union
action filter_type
action find
entity United States of America
relation member of
type organization
action filter_type
action find
entity India
relation member of
type organization
['United States of America', 'member of', {'concept': 'organization'}] ['India', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?x WHERE { { resource:India property:member_of ?x . ?x rdf:type ontology:organization } UNION { ?x rdf:type ontology:organization . resource:United_States_of_America property:member_of ?x } }
[]
organization
Q7825 Q7825 Q41550
SYSTEM
World Trade Organization for 1st, 2nd, Organisation for Economic Co-operation and Development for 3rd
Q340195 Q191384 Q899770 Q41550 Q656801 Q170481 Q7825 Q827525 Q340195 Q191384 Q656801 Q7825 Q827525 Q243630
(Q30,P463,c(Q43229)) (Q668,P463,c(Q43229))
action union
action filter_type
action find
entity Q30
relation P463
type Q43229
action filter_type
action find
entity Q668
relation P463
type Q43229
[ANSWERS]
['Q30', 'P463', {'concept': 'Q43229'}] ['Q668', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?x WHERE { { resource:Q668 property:P463 ?x . ?x rdf:type ontology:Q43229 } UNION { ?x rdf:type ontology:Q43229 . resource:Q30 property:P463 ?x } }
African Development Bank International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Organisation for Economic Co-operation and Development International Finance Corporation Asia-Pacific Economic Cooperation World Trade Organization International Development Association African Development Bank International Bank for Reconstruction and Development International Finance Corporation World Trade Organization International Development Association BRICS
The World Trade Organization, World Trade Organization and Organisation for Economic Co-operation and Development were United States of America and India a member of
World Trade Organization World Trade Organization Organisation for Economic Co-operation and Development
action union
action filter_type
action find
entity United States of America
relation member of
type organization
action filter_type
action find
entity India
relation member of
type organization
['United States of America', 'member of', {'concept': 'organization'}] ['India', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?x WHERE { { resource:India property:member_of ?x . ?x rdf:type ontology:organization } UNION { ?x rdf:type ontology:organization . resource:United_States_of_America property:member_of ?x } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q668
P276
Q268592
USER
Which economic branch is located at India ?
(c(Q268592),P276,Q668)
action filter_type
action find_reverse
entity Q668
relation P276
type Q268592
[{'concept': 'Q268592'}, 'P276', 'Q668']
SELECT DISTINCT ?b WHERE { ?b property:P276 resource:Q668 . ?b rdf:type ontology:Q268592 }
India
action filter_type
action find_reverse
entity India
relation location
type economic branch
[{'concept': 'economic branch'}, 'location', 'India']
SELECT DISTINCT ?b WHERE { ?b property:location resource:India . ?b rdf:type ontology:economic_branch }
[]
economic branch
Q2744006
SYSTEM
Mollywood
Q2744006
(c(Q268592),P276,Q668)
action filter_type
action find_reverse
entity Q668
relation P276
type Q268592
To [ANSWER] is located at India
[{'concept': 'Q268592'}, 'P276', 'Q668']
SELECT DISTINCT ?b WHERE { ?b property:P276 resource:Q668 . ?b rdf:type ontology:Q268592 }
Mollywood
To Mollywood is located at India
Mollywood
action filter_type
action find_reverse
entity India
relation location
type economic branch
[{'concept': 'economic branch'}, 'location', 'India']
SELECT DISTINCT ?b WHERE { ?b property:location resource:India . ?b rdf:type ontology:economic_branch }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7839395
P54
Q12973014
USER
What is Trevor Releford a member of ?
(Q7839395,P54,c(Q12973014))
action filter_type
action find
entity Q7839395
relation P54
type Q12973014
['Q7839395', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?w WHERE { resource:Q7839395 property:P54 ?w . ?w rdf:type ontology:Q12973014 }
Trevor Releford
action filter_type
action find
entity Trevor Releford
relation member of sports team
type sports team
['Trevor Releford', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?w WHERE { resource:Trevor_Releford property:member_of_sports_team ?w . ?w rdf:type ontology:sports_team }
[]
sports team
Q17515284
SYSTEM
Wilki Morskie Szczecin
Q17515284
(Q7839395,P54,c(Q12973014))
action filter_type
action find
entity Q7839395
relation P54
type Q12973014
Trevor Releford a member of is [ANSWER]
['Q7839395', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?w WHERE { resource:Q7839395 property:P54 ?w . ?w rdf:type ontology:Q12973014 }
Wilki Morskie Szczecin
Trevor Releford a member of is Wilki Morskie Szczecin
Wilki Morskie Szczecin
action filter_type
action find
entity Trevor Releford
relation member of sports team
type sports team
['Trevor Releford', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?w WHERE { resource:Trevor_Releford property:member_of_sports_team ?w . ?w rdf:type ontology:sports_team }
[]