Simple Question (Direct)
Simple Question
Q3301009
P27
Q15617994
USER
Which administrative territory is the native country of Maurice Larcher ?
(Q3301009,P27,c(Q15617994))
action filter_type
action find
entity Q3301009
relation P27
type Q15617994
['Q3301009', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q3301009 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Maurice Larcher
action filter_type
action find
entity Maurice Larcher
relation country of citizenship
type designation for an administrative territorial entity
['Maurice Larcher', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Maurice_Larcher property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1027
SYSTEM
Mauritius
Q1027
(Q3301009,P27,c(Q15617994))
action filter_type
action find
entity Q3301009
relation P27
type Q15617994
The [ANSWER] is the native country of Maurice Larcher
['Q3301009', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q3301009 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Mauritius
The Mauritius is the native country of Maurice Larcher
Mauritius
action filter_type
action find
entity Maurice Larcher
relation country of citizenship
type designation for an administrative territorial entity
['Maurice Larcher', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Maurice_Larcher property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3301009
P106
Q12737077
USER
What is the job of that person ?
(Q1027,P106,c(Q12737077))
action filter_type
action find
entity Q3301009
relation P106
type Q12737077
['Q1027', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q3301009 property:P106 ?p }
Maurice Larcher
action filter_type
action find
entity Maurice Larcher
relation occupation
type occupation
['Mauritius', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Maurice_Larcher property:occupation ?p }
[]
occupation
Q9352089
SYSTEM
spy
Q9352089
(Q1027,P106,c(Q12737077))
action filter_type
action find
entity Q3301009
relation P106
type Q12737077
The job of that person is a [ANSWER]
['Q1027', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q3301009 property:P106 ?p }
spy
The job of that person is a spy
spy
action filter_type
action find
entity Maurice Larcher
relation occupation
type occupation
['Mauritius', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Maurice_Larcher property:occupation ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3301009
P166
Q618779
USER
Which awards were received by Maurice Larcher ?
(Q3301009,P166,c(Q618779))
action filter_type
action find
entity Q3301009
relation P166
type Q618779
['Q3301009', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?y WHERE { resource:Q3301009 property:P166 ?y . ?y rdf:type ontology:Q618779 }
Maurice Larcher
action filter_type
action find
entity Maurice Larcher
relation award received
type award
['Maurice Larcher', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?y WHERE { resource:Maurice_Larcher property:award_received ?y . ?y rdf:type ontology:award }
[]
award
Q2547676 Q10855271
SYSTEM
Croix de guerre 1939–1945, Knight of the Legion of Honour
Q2547676 Q10855271
(Q3301009,P166,c(Q618779))
action filter_type
action find
entity Q3301009
relation P166
type Q618779
[ANSWERS] were received by Maurice Larcher
['Q3301009', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?y WHERE { resource:Q3301009 property:P166 ?y . ?y rdf:type ontology:Q618779 }
Croix de guerre 1939–1945 Knight of the Legion of Honour
Croix de guerre 1939–1945 and Knight of the Legion of Honour were received by Maurice Larcher
Croix de guerre 1939–1945 Knight of the Legion of Honour
action filter_type
action find
entity Maurice Larcher
relation award received
type award
['Maurice Larcher', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?y WHERE { resource:Maurice_Larcher property:award_received ?y . ?y rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3301009
P20
Q20667921
USER
Where did Maurice Larcher expire ?
(Q3301009,P20,c(Q20667921))
action filter_type
action find
entity Q3301009
relation P20
type Q20667921
['Q3301009', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?a WHERE { resource:Q3301009 property:P20 ?a . ?a rdf:type ontology:Q20667921 }
Maurice Larcher
action filter_type
action find
entity Maurice Larcher
relation place of death
type type of french administrative division
['Maurice Larcher', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?a WHERE { resource:Maurice_Larcher property:place_of_death ?a . ?a rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q770379
SYSTEM
Pierrefitte-en-Cinglais
Q770379
(Q3301009,P20,c(Q20667921))
action filter_type
action find
entity Q3301009
relation P20
type Q20667921
Maurice Larcher expired [ANSWER]
['Q3301009', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?a WHERE { resource:Q3301009 property:P20 ?a . ?a rdf:type ontology:Q20667921 }
Pierrefitte-en-Cinglais
Maurice Larcher expired Pierrefitte-en-Cinglais
Pierrefitte-en-Cinglais
action filter_type
action find
entity Maurice Larcher
relation place of death
type type of french administrative division
['Maurice Larcher', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?a WHERE { resource:Maurice_Larcher property:place_of_death ?a . ?a rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q770379
P47
Q20667921
USER
Which french administrative divisions are next to the border of that one ?
(c(Q20667921),P47,Q770379)
action filter_type
action find
entity Q770379
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q770379']
SELECT DISTINCT ?v WHERE { resource:Q770379 property:P47 ?v . ?v rdf:type ontology:Q20667921 }
Pierrefitte-en-Cinglais
action filter_type
action find
entity Pierrefitte-en-Cinglais
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Pierrefitte-en-Cinglais']
SELECT DISTINCT ?v WHERE { resource:Pierrefitte-en-Cinglais property:shares_border_with ?v . ?v rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q548707 Q626339 Q844283
SYSTEM
Donnay, Pont-d'Ouilly, Saint-Omer
Q749638 Q841366 Q844283 Q635109 Q548707 Q546173 Q626339
(c(Q20667921),P47,Q770379)
action filter_type
action find
entity Q770379
relation P47
type Q20667921
[ANSWERS] are next to the border of that one
[{'concept': 'Q20667921'}, 'P47', 'Q770379']
SELECT DISTINCT ?v WHERE { resource:Q770379 property:P47 ?v . ?v rdf:type ontology:Q20667921 }
La Pommeraye Bonnœil Saint-Omer Tréprel Donnay Cossesseville Pont-d'Ouilly
Donnay, Pont-d'Ouilly and Saint-Omer are next to the border of that one
Donnay Pont-d'Ouilly Saint-Omer
action filter_type
action find
entity Pierrefitte-en-Cinglais
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Pierrefitte-en-Cinglais']
SELECT DISTINCT ?v WHERE { resource:Pierrefitte-en-Cinglais property:shares_border_with ?v . ?v rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q548707 Q626339 Q844283
P17
Q15617994
USER
Which administrative territories are those french administrative divisions present in ?
(Q548707,P17,c(Q15617994)) (Q626339,P17,c(Q15617994)) (Q844283,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q548707', 'P17', {'concept': 'Q15617994'}] ['Q626339', 'P17', {'concept': 'Q15617994'}] ['Q844283', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?o ) { ( resource:Q749638 ) ( resource:Q841366 ) ( resource:Q844283 ) } . ?j rdf:type ontology:Q15617994 . ?o property:P17 ?j }
Donnay Pont-d'Ouilly Saint-Omer
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Donnay', 'country', {'concept': 'designation for an administrative territorial entity'}] ["Pont-d'Ouilly", 'country', {'concept': 'designation for an administrative territorial entity'}] ['Saint-Omer', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?o ) { ( resource:La_Pommeraye ) ( resource:Bonnœil ) ( resource:Saint-Omer ) } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o property:country ?j }
[]
designation for an administrative territorial entity
Q142 Q142 Q142
SYSTEM
France
Q142 Q142 Q142
(Q548707,P17,c(Q15617994)) (Q626339,P17,c(Q15617994)) (Q844283,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Which administrative territories are those french administrative divisions present in
['Q548707', 'P17', {'concept': 'Q15617994'}] ['Q626339', 'P17', {'concept': 'Q15617994'}] ['Q844283', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?o ) { ( resource:Q749638 ) ( resource:Q841366 ) ( resource:Q844283 ) } . ?j rdf:type ontology:Q15617994 . ?o property:P17 ?j }
France France France
Which administrative territories are those french administrative divisions present in
France France France
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Donnay', 'country', {'concept': 'designation for an administrative territorial entity'}] ["Pont-d'Ouilly", 'country', {'concept': 'designation for an administrative territorial entity'}] ['Saint-Omer', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?o ) { ( resource:La_Pommeraye ) ( resource:Bonnœil ) ( resource:Saint-Omer ) } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o property:country ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1027
P551
Q502895
USER
Which person dwells at Mauritius ?
(c(Q502895),P551,Q1027)
action filter_type
action find_reverse
entity Q1027
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q1027']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P551 resource:Q1027 }
Mauritius
action filter_type
action find_reverse
entity Mauritius
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Mauritius']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:residence resource:Mauritius }
[]
common name
Q18528567
SYSTEM
Elizabeth Fenton
Q18528567
(c(Q502895),P551,Q1027)
action filter_type
action find_reverse
entity Q1027
relation P551
type Q502895
[ANSWER] dwells at Mauritius
[{'concept': 'Q502895'}, 'P551', 'Q1027']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P551 resource:Q1027 }
Elizabeth Fenton
Elizabeth Fenton dwells at Mauritius
Elizabeth Fenton
action filter_type
action find_reverse
entity Mauritius
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Mauritius']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:residence resource:Mauritius }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1027
P1001
Q12737077
USER
Which occupations preside the jurisdiction over that administrative territory ?
(c(Q12737077),P1001,Q18528567)
action filter_type
action find_reverse
entity Q1027
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q18528567']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q12737077 . ?a property:P1001 resource:Q1027 }
Mauritius
action filter_type
action find_reverse
entity Mauritius
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Elizabeth Fenton']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:occupation . ?a property:applies_to_jurisdiction resource:Mauritius }
[]
occupation
Q6508545 Q1826694 Q3286988
SYSTEM
Leader of the Opposition, Prime Minister of Mauritius, President of Mauritius
Q6508545 Q1826694 Q3286988 Q21295993
(c(Q12737077),P1001,Q18528567)
action filter_type
action find_reverse
entity Q1027
relation P1001
type Q12737077
[ANSWERS] preside the jurisdiction over that administrative territory
[{'concept': 'Q12737077'}, 'P1001', 'Q18528567']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q12737077 . ?a property:P1001 resource:Q1027 }
Leader of the Opposition Prime Minister of Mauritius President of Mauritius Member of the National Assembly of Mauritius
Leader of the Opposition, Prime Minister of Mauritius and President of Mauritius preside the jurisdiction over that administrative territory
Leader of the Opposition Prime Minister of Mauritius President of Mauritius
action filter_type
action find_reverse
entity Mauritius
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Elizabeth Fenton']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:occupation . ?a property:applies_to_jurisdiction resource:Mauritius }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q780982 Q142
P47 P530
Q1048835
USER
Which political territories holds diplomatic relationship with France or have a shared border with Vall de Almonacid ?
OR((Q142,P530,c(Q1048835)), (Q780982,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q142
relation P530
action find
entity Q780982
relation P47
type Q1048835
{'OR': [['Q142', 'P530', {'concept': 'Q1048835'}], ['Q780982', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q780982 property:P47 ?i } UNION { resource:Q142 property:P530 ?i } } . ?i rdf:type ontology:Q1048835 }
Vall de Almonacid France
action filter_type
action union
action find
entity France
relation diplomatic relation
action find
entity Vall de Almonacid
relation shares border with
type political territorial entity
{'OR': [['France', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Vall de Almonacid', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Vall_de_Almonacid property:shares_border_with ?i } UNION { resource:France property:diplomatic_relation ?i } } . ?i rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q750968 Q40 Q1983295 Q1645723 Q183 Q1768700 Q408 Q1635917 Q1635760 Q1768720
SYSTEM
Some of them are Segorbe, Austria, Matet, Jérica, Germany, Gaibiel, Australia, Algimia de Almonacid, Almedíjar, Navajas
Q1635760 Q40 Q1645723 Q1768700 Q183 Q408 Q1768720 Q1635733 Q1983295 Q1635917 Q750968
OR((Q142,P530,c(Q1048835)), (Q780982,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q142
relation P530
action find
entity Q780982
relation P47
type Q1048835
[ANSWERS] hold diplomatic relationship with France or have a shared border with Vall de Almonacid
{'OR': [['Q142', 'P530', {'concept': 'Q1048835'}], ['Q780982', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q780982 property:P47 ?i } UNION { resource:Q142 property:P530 ?i } } . ?i rdf:type ontology:Q1048835 }
Almedíjar Austria Jérica Gaibiel Germany Australia Navajas Castellnovo Matet Algimia de Almonacid Segorbe
Segorbe, Austria, Matet, Jérica, Germany, Gaibiel, Australia, Algimia de Almonacid, Almedíjar and Navajas hold diplomatic relationship with France or have a shared border with Vall de Almonacid
Segorbe Austria Matet Jérica Germany Gaibiel Australia Algimia de Almonacid Almedíjar Navajas
action filter_type
action union
action find
entity France
relation diplomatic relation
action find
entity Vall de Almonacid
relation shares border with
type political territorial entity
{'OR': [['France', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Vall de Almonacid', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Vall_de_Almonacid property:shares_border_with ?i } UNION { resource:France property:diplomatic_relation ?i } } . ?i rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P530
Q1048835 Q15617994 Q1048835
USER
Which political territories have ambassadorial relations with atmost 40 political territories and administrative territories ?
(c(Q1048835),P530,c(Q1048835)|c(Q15617994))
action atmost
action union
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 40
[{'concept': 'Q1048835'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?e ) WHERE { { ?u rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q1048835 . ?u property:P530 ?y } UNION { ?u property:P530 ?y . ?y rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1048835 } } GROUP BY ?u } . FILTER ( ?e <= 40 ) }
action atmost
action union
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 40
[{'concept': 'political territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?e ) WHERE { { ?u rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:political_territorial_entity . ?u property:diplomatic_relation ?y } UNION { ?u property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:political_territorial_entity } } GROUP BY ?u } . FILTER ( ?e <= 40 ) }
[]
political territorial entity designation for an administrative territorial entity political territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q1048835)|c(Q15617994))
action atmost
action union
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 40
[ANSWERS] have ambassadorial relations with atmost 40 political territories and administrative territories
[{'concept': 'Q1048835'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?e ) WHERE { { ?u rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q1048835 . ?u property:P530 ?y } UNION { ?u property:P530 ?y . ?y rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1048835 } } GROUP BY ?u } . FILTER ( ?e <= 40 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria have ambassadorial relations with atmost 40 political territories and administrative territories
Denmark Canada Austria
action atmost
action union
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 40
[{'concept': 'political territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?e ) WHERE { { ?u rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:political_territorial_entity . ?u property:diplomatic_relation ?y } UNION { ?u property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:political_territorial_entity } } GROUP BY ?u } . FILTER ( ?e <= 40 ) }
[]