Simple Question (Direct)
Simple Question
Q5998409
P1412
Q34770
USER
Which language can Mario Alberto Becerra Pocoroba read ?
(Q5998409,P1412,c(Q34770))
action filter_type
action find
entity Q5998409
relation P1412
type Q34770
['Q5998409', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { resource:Q5998409 property:P1412 ?i . ?i rdf:type ontology:Q34770 }
Mario Alberto Becerra Pocoroba
action filter_type
action find
entity Mario Alberto Becerra Pocoroba
relation languages spoken, written or signed
type language
['Mario Alberto Becerra Pocoroba', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { resource:Mario_Alberto_Becerra_Pocoroba property:languages_spoken,_written_or_signed ?i . ?i rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q5998409,P1412,c(Q34770))
action filter_type
action find
entity Q5998409
relation P1412
type Q34770
Mario Alberto Becerra Pocoroba can read in [ANSWER]
['Q5998409', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { resource:Q5998409 property:P1412 ?i . ?i rdf:type ontology:Q34770 }
Spanish
Mario Alberto Becerra Pocoroba can read in Spanish
Spanish
action filter_type
action find
entity Mario Alberto Becerra Pocoroba
relation languages spoken, written or signed
type language
['Mario Alberto Becerra Pocoroba', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { resource:Mario_Alberto_Becerra_Pocoroba property:languages_spoken,_written_or_signed ?i . ?i rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5998409
P39
Q12737077
USER
What was the position held by that person ?
(Q1321,P39,c(Q12737077))
action filter_type
action find
entity Q5998409
relation P39
type Q12737077
['Q1321', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q5998409 property:P39 ?c . ?c rdf:type ontology:Q12737077 }
Mario Alberto Becerra Pocoroba
action filter_type
action find
entity Mario Alberto Becerra Pocoroba
relation position held
type occupation
['Spanish', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Mario_Alberto_Becerra_Pocoroba property:position_held ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q18534310
SYSTEM
Member of the Chamber of Deputies of Mexico
Q18534310
(Q1321,P39,c(Q12737077))
action filter_type
action find
entity Q5998409
relation P39
type Q12737077
The position held by that person was [ANSWER]
['Q1321', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q5998409 property:P39 ?c . ?c rdf:type ontology:Q12737077 }
Member of the Chamber of Deputies of Mexico
The position held by that person was Member of the Chamber of Deputies of Mexico
Member of the Chamber of Deputies of Mexico
action filter_type
action find
entity Mario Alberto Becerra Pocoroba
relation position held
type occupation
['Spanish', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Mario_Alberto_Becerra_Pocoroba property:position_held ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18534310
P361
Q375928
USER
What is that occupation a part of ?
(Q18534310,P361,c(Q375928))
action filter_type
action find
entity Q18534310
relation P361
type Q375928
['Q18534310', 'P361', {'concept': 'Q375928'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q375928 . resource:Q18534310 property:P361 ?x }
Member of the Chamber of Deputies of Mexico
action filter_type
action find
entity Member of the Chamber of Deputies of Mexico
relation part of
type lower house
['Member of the Chamber of Deputies of Mexico', 'part of', {'concept': 'lower house'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:lower_house . resource:Member_of_the_Chamber_of_Deputies_of_Mexico property:part_of ?x }
[]
lower house
Q3014316
SYSTEM
Chamber of Deputies
Q3014316
(Q18534310,P361,c(Q375928))
action filter_type
action find
entity Q18534310
relation P361
type Q375928
That occupation a part of is the [ANSWER]
['Q18534310', 'P361', {'concept': 'Q375928'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q375928 . resource:Q18534310 property:P361 ?x }
Chamber of Deputies
That occupation a part of is the Chamber of Deputies
Chamber of Deputies
action filter_type
action find
entity Member of the Chamber of Deputies of Mexico
relation part of
type lower house
['Member of the Chamber of Deputies of Mexico', 'part of', {'concept': 'lower house'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:lower_house . resource:Member_of_the_Chamber_of_Deputies_of_Mexico property:part_of ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3014316
P17
Q15617994
USER
Which administrative territory is that lower house located in ?
(Q3014316,P17,c(Q15617994))
action filter_type
action find
entity Q3014316
relation P17
type Q15617994
['Q3014316', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q3014316 property:P17 ?z }
Chamber of Deputies
action filter_type
action find
entity Chamber of Deputies
relation country
type designation for an administrative territorial entity
['Chamber of Deputies', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Chamber_of_Deputies property:country ?z }
[]
designation for an administrative territorial entity
Q96
SYSTEM
Mexico
Q96
(Q3014316,P17,c(Q15617994))
action filter_type
action find
entity Q3014316
relation P17
type Q15617994
That lower house is located in [ANSWER]
['Q3014316', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q3014316 property:P17 ?z }
Mexico
That lower house is located in Mexico
Mexico
action filter_type
action find
entity Chamber of Deputies
relation country
type designation for an administrative territorial entity
['Chamber of Deputies', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Chamber_of_Deputies property:country ?z }
[]
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 approximately 7 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 7
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?x ) WHERE { ?m property:P530 ?d . ?m rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q15617994 } GROUP BY ?m } . FILTER ( ?x = 7 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 7
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?x ) WHERE { ?m property:diplomatic_relation ?d . ?m rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . FILTER ( ?x = 7 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 7
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?x ) WHERE { ?m property:P530 ?d . ?m rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q15617994 } GROUP BY ?m } . FILTER ( ?x = 7 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 7
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?x ) WHERE { ?m property:diplomatic_relation ?d . ?m rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . FILTER ( ?x = 7 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1822674 Q18534310
P27 P1001
Q15617994
USER
Which administrative territories come under the jurisdiction of Member of the Chamber of Deputies of Mexico or are the countries of citizenship of Liam Reilly ?
OR((Q18534310,P1001,c(Q15617994)), (Q1822674,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q18534310
relation P1001
action find
entity Q1822674
relation P27
type Q15617994
{'OR': [['Q18534310', 'P1001', {'concept': 'Q15617994'}], ['Q1822674', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q18534310 property:P1001 ?z } UNION { resource:Q1822674 property:P27 ?z } } . ?z rdf:type ontology:Q15617994 }
Liam Reilly Member of the Chamber of Deputies of Mexico
action filter_type
action union
action find
entity Member of the Chamber of Deputies of Mexico
relation applies to jurisdiction
action find
entity Liam Reilly
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Member of the Chamber of Deputies of Mexico', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Liam Reilly', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Member_of_the_Chamber_of_Deputies_of_Mexico property:applies_to_jurisdiction ?z } UNION { resource:Liam_Reilly property:country_of_citizenship ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q96 Q27
SYSTEM
Mexico, Ireland
Q96 Q27
OR((Q18534310,P1001,c(Q15617994)), (Q1822674,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q18534310
relation P1001
action find
entity Q1822674
relation P27
type Q15617994
[ANSWERS] come under the jurisdiction of Member of the Chamber of Deputies of Mexico or are the countries of citizenship of Liam Reilly
{'OR': [['Q18534310', 'P1001', {'concept': 'Q15617994'}], ['Q1822674', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q18534310 property:P1001 ?z } UNION { resource:Q1822674 property:P27 ?z } } . ?z rdf:type ontology:Q15617994 }
Mexico Ireland
Mexico and Ireland come under the jurisdiction of Member of the Chamber of Deputies of Mexico or are the countries of citizenship of Liam Reilly
Mexico Ireland
action filter_type
action union
action find
entity Member of the Chamber of Deputies of Mexico
relation applies to jurisdiction
action find
entity Liam Reilly
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Member of the Chamber of Deputies of Mexico', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Liam Reilly', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Member_of_the_Chamber_of_Deputies_of_Mexico property:applies_to_jurisdiction ?z } UNION { resource:Liam_Reilly property:country_of_citizenship ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories have tactful political relations with around 59 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 59
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?l ) WHERE { ?m property:P530 ?g . ?g rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q1048835 } GROUP BY ?m } . FILTER ( ?l = 59 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 59
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?l ) WHERE { ?m property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:political_territorial_entity } GROUP BY ?m } . FILTER ( ?l = 59 ) }
[]
designation for an administrative territorial entity political territorial entity
Q16
SYSTEM
Canada
Q16
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 59
[ANSWER] have tactful political relations with around 59 administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?l ) WHERE { ?m property:P530 ?g . ?g rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q1048835 } GROUP BY ?m } . FILTER ( ?l = 59 ) }
Canada
Canada have tactful political relations with around 59 administrative territories
Canada
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 59
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?l ) WHERE { ?m property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:political_territorial_entity } GROUP BY ?m } . FILTER ( ?l = 59 ) }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q16 Q617155
P530
Q1048835
USER
Does São Domingos, Santa Catarina have a diplomatic relationship with Canada ?
(Q16,P530,Q617155)
action is_in
entity Q617155
action find
entity Q16
relation P530
['Q16', 'P530', 'Q617155']
ASK WHERE { resource:Q16 property:P530 resource:Q617155 }
Canada São Domingos, Santa Catarina
action is_in
entity São Domingos, Santa Catarina
action find
entity Canada
relation diplomatic relation
['Canada', 'diplomatic relation', 'São Domingos, Santa Catarina']
ASK WHERE { resource:Canada property:diplomatic_relation resource:São_Domingos,_Santa_Catarina }
[]
political territorial entity
SYSTEM
NO
(Q16,P530,Q617155)
action is_in
entity Q617155
action find
entity Q16
relation P530
[ANSWER]
['Q16', 'P530', 'Q617155']
ASK WHERE { resource:Q16 property:P530 resource:Q617155 }
No
action is_in
entity São Domingos, Santa Catarina
action find
entity Canada
relation diplomatic relation
['Canada', 'diplomatic relation', 'São Domingos, Santa Catarina']
ASK WHERE { resource:Canada property:diplomatic_relation resource:São_Domingos,_Santa_Catarina }
[]