Simple Question (Direct)
Simple Question
Q21019266
P69
Q3918
USER
What is the university where Saemontarō Nakamura was educated ?
(Q21019266,P69,c(Q3918))
action filter_type
action find
entity Q21019266
relation P69
type Q3918
['Q21019266', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q3918 . resource:Q21019266 property:P69 ?o }
Saemontarō Nakamura
action filter_type
action find
entity Saemontarō Nakamura
relation educated at
type university
['Saemontarō Nakamura', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:university . resource:Saemontarō_Nakamura property:educated_at ?o }
[]
university
Q7842
SYSTEM
University of Tokyo
Q7842
(Q21019266,P69,c(Q3918))
action filter_type
action find
entity Q21019266
relation P69
type Q3918
The university Saemontarō Nakamura was educated is the [ANSWER]
['Q21019266', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q3918 . resource:Q21019266 property:P69 ?o }
University of Tokyo
The university Saemontarō Nakamura was educated is the University of Tokyo
University of Tokyo
action filter_type
action find
entity Saemontarō Nakamura
relation educated at
type university
['Saemontarō Nakamura', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:university . resource:Saemontarō_Nakamura property:educated_at ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7842
P17
Q15617994
USER
Which administrative territory does that university belong to ?
(Q7842,P17,c(Q15617994))
action filter_type
action find
entity Q7842
relation P17
type Q15617994
['Q7842', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q7842 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
University of Tokyo
action filter_type
action find
entity University of Tokyo
relation country
type designation for an administrative territorial entity
['University of Tokyo', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:University_of_Tokyo property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q7842,P17,c(Q15617994))
action filter_type
action find
entity Q7842
relation P17
type Q15617994
That university belongs to Imperial [ANSWER]
['Q7842', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q7842 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
Japan
That university belongs to Imperial Japan
Japan
action filter_type
action find
entity University of Tokyo
relation country
type designation for an administrative territorial entity
['University of Tokyo', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:University_of_Tokyo property:country ?u . ?u 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 ambassadorial relations with around 124 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 124
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?p ) WHERE { ?v property:P530 ?m . ?m rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1048835 } GROUP BY ?v } . FILTER ( ?p = 124 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 124
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?p ) WHERE { ?v property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:political_territorial_entity } GROUP BY ?v } . FILTER ( ?p = 124 ) }
[]
designation for an administrative territorial entity political territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 124
[ANSWERS] have ambassadorial relations with around 124 administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?p ) WHERE { ?v property:P530 ?m . ?m rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1048835 } GROUP BY ?v } . FILTER ( ?p = 124 ) }
Germany Australia
Germany and Australia have ambassadorial relations with around 124 administrative territories
Germany Australia
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 124
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?p ) WHERE { ?v property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:political_territorial_entity } GROUP BY ?v } . FILTER ( ?p = 124 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q408
P122
Q1307214
USER
What best describes the type of government of that political territory ?
(Q408,P122,c(Q1307214))
action filter_type
action find
entity Q408
relation P122
type Q1307214
['Q408', 'P122', {'concept': 'Q1307214'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1307214 . resource:Q408 property:P122 ?i }
Australia
action filter_type
action find
entity Australia
relation basic form of government
type form of government
['Australia', 'basic form of government', {'concept': 'form of government'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:form_of_government . resource:Australia property:basic_form_of_government ?i }
[]
form of government
Clarification for simple ques.
Q183
SYSTEM
Did you mean Germany ?
Q183 Q408
(Q183,P122,c(Q1307214)) (Q408,P122,c(Q1307214))
[ANSWER]
['Q183', 'P122', {'concept': 'Q1307214'}] ['Q408', 'P122', {'concept': 'Q1307214'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1307214 . resource:Q408 property:P122 ?i }
Germany Australia
Did you mean Germany ?
Germany
['Germany', 'basic form of government', {'concept': 'form of government'}] ['Australia', 'basic form of government', {'concept': 'form of government'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:form_of_government . resource:Australia property:basic_form_of_government ?i }
[]
Simple Question (Coreferenced)
USER
No, I meant Australia. Could you tell me the answer for that?
(Q408,P122,c(Q1307214))
Q408
['Q408', 'P122', {'concept': 'Q1307214'}]
['Australia', 'basic form of government', {'concept': 'form of government'}]
[]
Q43702
SYSTEM
federation
Q43702
(Q408,P122,c(Q1307214))
action filter_type
action find
entity Q408
relation P122
type Q1307214
[ANSWER] best describes the type of government of that political territory
['Q408', 'P122', {'concept': 'Q1307214'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1307214 . resource:Q408 property:P122 ?i }
federation
Federation best describes the type of government of that political territory
federation
action filter_type
action find
entity Australia
relation basic form of government
type form of government
['Australia', 'basic form of government', {'concept': 'form of government'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:form_of_government . resource:Australia property:basic_form_of_government ?i }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q11868808 Q408
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relations with Australia and are the countries of citizenship of Kaarlo Vennevirta ?
AND((Q408,P530,c(Q15617994)), (Q11868808,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q408
relation P530
action find
entity Q11868808
relation P27
type Q15617994
{'AND': [['Q408', 'P530', {'concept': 'Q15617994'}], ['Q11868808', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { resource:Q408 property:P530 ?r . resource:Q11868808 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Kaarlo Vennevirta Australia
action filter_type
action intersection
action find
entity Australia
relation diplomatic relation
action find
entity Kaarlo Vennevirta
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Kaarlo Vennevirta', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { resource:Australia property:diplomatic_relation ?r . resource:Kaarlo_Vennevirta property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33
SYSTEM
Finland
Q33
AND((Q408,P530,c(Q15617994)), (Q11868808,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q408
relation P530
action find
entity Q11868808
relation P27
type Q15617994
[ANSWER] have diplomatic relations with Australia and are the countries of citizenship of Kaarlo Vennevirta
{'AND': [['Q408', 'P530', {'concept': 'Q15617994'}], ['Q11868808', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { resource:Q408 property:P530 ?r . resource:Q11868808 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Finland
Finland have diplomatic relations with Australia and are the countries of citizenship of Kaarlo Vennevirta
Finland
action filter_type
action intersection
action find
entity Australia
relation diplomatic relation
action find
entity Kaarlo Vennevirta
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Kaarlo Vennevirta', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { resource:Australia property:diplomatic_relation ?r . resource:Kaarlo_Vennevirta property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q33 Q5735033
P27
Q502895
USER
Is Stanisław Krasiński a civilian of that administrative territory ?
(Q5735033,P27,Q33)
action is_in
entity Q5735033
action find
entity Q33
relation P27
['Q5735033', 'P27', 'Q33']
ASK WHERE { resource:Q33 property:P27 resource:Q5735033 }
Finland Stanisław Krasiński
action is_in
entity Stanisław Krasiński
action find
entity Finland
relation country of citizenship
['Stanisław Krasiński', 'country of citizenship', 'Finland']
ASK WHERE { resource:Finland property:country_of_citizenship resource:Stanisław_Krasiński }
[]
common name
SYSTEM
NO
(Q5735033,P27,Q33)
action is_in
entity Q5735033
action find
entity Q33
relation P27
[ANSWER]
['Q5735033', 'P27', 'Q33']
ASK WHERE { resource:Q33 property:P27 resource:Q5735033 }
No
action is_in
entity Stanisław Krasiński
action find
entity Finland
relation country of citizenship
['Stanisław Krasiński', 'country of citizenship', 'Finland']
ASK WHERE { resource:Finland property:country_of_citizenship resource:Stanisław_Krasiński }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q408 Q801
P530
Q15617994
USER
How many administrative territories have a diplomatic relationship with Australia and Israel ?
(Q408,P530,c(Q15617994)) (Q801,P530,c(Q15617994))
action count
action intersection
action filter_type
action find
entity Q408
relation P530
type Q15617994
action filter_type
action find
entity Q801
relation P530
type Q15617994
['Q408', 'P530', {'concept': 'Q15617994'}] ['Q801', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { resource:Q408 property:P530 ?t . ?t rdf:type ontology:Q15617994 . resource:Q801 property:P530 ?t . ?t rdf:type ontology:Q15617994 }
Australia Israel
action count
action intersection
action filter_type
action find
entity Australia
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Israel
relation diplomatic relation
type designation for an administrative territorial entity
['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Israel', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { resource:Australia property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Israel property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
17
Q142 Q213 Q38 Q810 Q43 Q145 Q155 Q148 Q41 Q822 Q794 Q17 Q30 Q79 Q668 Q159 Q884
(Q408,P530,c(Q15617994)) (Q801,P530,c(Q15617994))
action count
action intersection
action filter_type
action find
entity Q408
relation P530
type Q15617994
action filter_type
action find
entity Q801
relation P530
type Q15617994
[ANSWER]
['Q408', 'P530', {'concept': 'Q15617994'}] ['Q801', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { resource:Q408 property:P530 ?t . ?t rdf:type ontology:Q15617994 . resource:Q801 property:P530 ?t . ?t rdf:type ontology:Q15617994 }
France Czech Republic Italy Jordan Turkey United Kingdom Brazil People's Republic of China Greece Lebanon Iran Japan United States of America Egypt India Russia South Korea
17
action count
action intersection
action filter_type
action find
entity Australia
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Israel
relation diplomatic relation
type designation for an administrative territorial entity
['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Israel', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { resource:Australia property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Israel property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]