Simple Question (Direct)
Simple Question
Q3847860
P20
Q20667921
USER
Which french administrative division is the place of death of Marie Charlotte de La Tour d'Auvergne ?
(Q3847860,P20,c(Q20667921))
action filter_type
action find
entity Q3847860
relation P20
type Q20667921
['Q3847860', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q20667921 . resource:Q3847860 property:P20 ?g }
Marie Charlotte de La Tour d'Auvergne
action filter_type
action find
entity Marie Charlotte de La Tour d'Auvergne
relation place of death
type type of french administrative division
["Marie Charlotte de La Tour d'Auvergne", 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:type_of_french_administrative_division . resource:Marie_Charlotte_de_La_Tour_d'Auvergne property:place_of_death ?g }
[]
type of french administrative division
Q208794
SYSTEM
Lunéville
Q208794
(Q3847860,P20,c(Q20667921))
action filter_type
action find
entity Q3847860
relation P20
type Q20667921
[ANSWER] is the place of death of Marie Charlotte de La Tour d'Auvergne
['Q3847860', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q20667921 . resource:Q3847860 property:P20 ?g }
Lunéville
Lunéville is the place of death of Marie Charlotte de La Tour d'Auvergne
Lunéville
action filter_type
action find
entity Marie Charlotte de La Tour d'Auvergne
relation place of death
type type of french administrative division
["Marie Charlotte de La Tour d'Auvergne", 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:type_of_french_administrative_division . resource:Marie_Charlotte_de_La_Tour_d'Auvergne property:place_of_death ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q208794
P47
Q20667921
USER
Who share the border with that one ?
(Q208794,P47,c(Q20667921))
action filter_type
action find
entity Q208794
relation P47
type Q20667921
['Q208794', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?m WHERE { resource:Q208794 property:P47 ?m . ?m rdf:type ontology:Q20667921 }
Lunéville
action filter_type
action find
entity Lunéville
relation shares border with
type type of french administrative division
['Lunéville', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?m WHERE { resource:Lunéville property:shares_border_with ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q208397 Q227756 Q1048138
SYSTEM
Moncel-lès-Lunéville, Deuxville, Vitrimont
Q990753 Q208397 Q227756 Q611279 Q990941 Q1048138 Q1064035 Q946958
(Q208794,P47,c(Q20667921))
action filter_type
action find
entity Q208794
relation P47
type Q20667921
[ANSWERS] share the border with that one
['Q208794', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?m WHERE { resource:Q208794 property:P47 ?m . ?m rdf:type ontology:Q20667921 }
Chanteheux Moncel-lès-Lunéville Deuxville Rehainviller Bonviller Vitrimont Hériménil Jolivet
Moncel-lès-Lunéville, Deuxville and Vitrimont share the border with that one
Moncel-lès-Lunéville Deuxville Vitrimont
action filter_type
action find
entity Lunéville
relation shares border with
type type of french administrative division
['Lunéville', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?m WHERE { resource:Lunéville property:shares_border_with ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q208794
P47
Q20667921
USER
Does Lunéville share border with those ones ?
(Q208794,P47,Q208397) (Q208794,P47,Q227756) (Q208794,P47,Q1048138)
action is_in
entity prev_answer
action find
entity Q208794
relation P47
['Q208794', 'P47', 'Q208397'] ['Q208794', 'P47', 'Q227756'] ['Q208794', 'P47', 'Q1048138']
ASK WHERE { VALUES ( ?c ) { ( resource:Q990753 ) ( resource:Q208397 ) ( resource:Q227756 ) } . resource:Q208794 property:P47 ?c }
Lunéville
action is_in
entity prev_answer
action find
entity Lunéville
relation shares border with
['Lunéville', 'shares border with', 'Moncel-lès-Lunéville'] ['Lunéville', 'shares border with', 'Deuxville'] ['Lunéville', 'shares border with', 'Vitrimont']
ASK WHERE { VALUES ( ?c ) { ( resource:Chanteheux ) ( resource:Moncel-lès-Lunéville ) ( resource:Deuxville ) } . resource:Lunéville property:shares_border_with ?c }
[]
type of french administrative division
SYSTEM
YES
(Q208794,P47,Q208397) (Q208794,P47,Q227756) (Q208794,P47,Q1048138)
action is_in
entity prev_answer
action find
entity Q208794
relation P47
[ANSWER]
['Q208794', 'P47', 'Q208397'] ['Q208794', 'P47', 'Q227756'] ['Q208794', 'P47', 'Q1048138']
ASK WHERE { VALUES ( ?c ) { ( resource:Q990753 ) ( resource:Q208397 ) ( resource:Q227756 ) } . resource:Q208794 property:P47 ?c }
Yes
action is_in
entity prev_answer
action find
entity Lunéville
relation shares border with
['Lunéville', 'shares border with', 'Moncel-lès-Lunéville'] ['Lunéville', 'shares border with', 'Deuxville'] ['Lunéville', 'shares border with', 'Vitrimont']
ASK WHERE { VALUES ( ?c ) { ( resource:Chanteheux ) ( resource:Moncel-lès-Lunéville ) ( resource:Deuxville ) } . resource:Lunéville property:shares_border_with ?c }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q839543
P47
Q20667921
USER
How many french administrative divisions share border with Ciry-le-Noble ?
(Q839543,P47,c(Q20667921))
action count
action filter_type
action find
entity Q839543
relation P47
type Q20667921
['Q839543', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { resource:Q839543 property:P47 ?x . ?x rdf:type ontology:Q20667921 }
Ciry-le-Noble
action count
action filter_type
action find
entity Ciry-le-Noble
relation shares border with
type type of french administrative division
['Ciry-le-Noble', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { resource:Ciry-le-Noble property:shares_border_with ?x . ?x rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
SYSTEM
7
Q900643 Q949538 Q1625951 Q668572 Q1602947 Q1626773 Q383553
(Q839543,P47,c(Q20667921))
action count
action filter_type
action find
entity Q839543
relation P47
type Q20667921
[ANSWER]
['Q839543', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { resource:Q839543 property:P47 ?x . ?x rdf:type ontology:Q20667921 }
Martigny-le-Comte Génelard Pouilloux Perrecy-les-Forges Saint-Vallier Saint-Bonnet-de-Vieille-Vigne Sanvignes-les-Mines
7
action count
action filter_type
action find
entity Ciry-le-Noble
relation shares border with
type type of french administrative division
['Ciry-le-Noble', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { resource:Ciry-le-Noble property:shares_border_with ?x . ?x rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q208794
P166
Q618779
USER
Which award was Lunéville awarded with ?
(Q208794,P166,c(Q618779))
action filter_type
action find
entity Q208794
relation P166
type Q618779
['Q208794', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?y WHERE { resource:Q208794 property:P166 ?y . ?y rdf:type ontology:Q618779 }
Lunéville
action filter_type
action find
entity Lunéville
relation award received
type award
['Lunéville', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?y WHERE { resource:Lunéville property:award_received ?y . ?y rdf:type ontology:award }
[]
award
Q2727598
SYSTEM
Croix de guerre 1914–1918
Q2727598
(Q208794,P166,c(Q618779))
action filter_type
action find
entity Q208794
relation P166
type Q618779
Lunéville was awarded the [ANSWER]
['Q208794', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?y WHERE { resource:Q208794 property:P166 ?y . ?y rdf:type ontology:Q618779 }
Croix de guerre 1914–1918
Lunéville was awarded the Croix de guerre 1914–1918
Croix de guerre 1914–1918
action filter_type
action find
entity Lunéville
relation award received
type award
['Lunéville', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?y WHERE { resource:Lunéville property:award_received ?y . ?y rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2727598
P17
Q15617994
USER
Which administrative territory is that award located in ?
(Q2727598,P17,c(Q15617994))
action filter_type
action find
entity Q2727598
relation P17
type Q15617994
['Q2727598', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q2727598 property:P17 ?f }
Croix de guerre 1914–1918
action filter_type
action find
entity Croix de guerre 1914–1918
relation country
type designation for an administrative territorial entity
['Croix de guerre 1914–1918', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Croix_de_guerre_1914–1918 property:country ?f }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q2727598,P17,c(Q15617994))
action filter_type
action find
entity Q2727598
relation P17
type Q15617994
That award is located in [ANSWER]
['Q2727598', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q2727598 property:P17 ?f }
France
That award is located in France
France
action filter_type
action find
entity Croix de guerre 1914–1918
relation country
type designation for an administrative territorial entity
['Croix de guerre 1914–1918', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Croix_de_guerre_1914–1918 property:country ?f }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q35
P530
Q15617994 Q1048835
USER
Which political territories have diplomatic associations with approximately the same number of administrative territories as Denmark ?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?g ) WHERE { ?t property:P530 ?j . ?j rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q1048835 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { resource:Q35 property:P530 ?w . ?w rdf:type ontology:Q1048835 } } . FILTER ( ?g = ?q ) }
Denmark
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?g ) WHERE { ?t property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:political_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { resource:Denmark property:diplomatic_relation ?w . ?w rdf:type ontology:political_territorial_entity } } . FILTER ( ?g = ?q ) }
[]
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(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[ANSWERS] have diplomatic associations with approximately the same number of administrative territories as Denmark
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?g ) WHERE { ?t property:P530 ?j . ?j rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q1048835 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { resource:Q35 property:P530 ?w . ?w rdf:type ontology:Q1048835 } } . FILTER ( ?g = ?q ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria have diplomatic associations with approximately the same number of administrative territories as Denmark
Denmark Canada Austria
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?g ) WHERE { ?t property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:political_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { resource:Denmark property:diplomatic_relation ?w . ?w rdf:type ontology:political_territorial_entity } } . FILTER ( ?g = ?q ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q1048835 Q1048835
USER
Which political territories have diplomatic associations with min number of political territories ?
(c(Q1048835),P530,c(Q1048835))
action argmin
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?w ) WHERE { ?g property:P530 ?c . ?g rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q1048835 } GROUP BY ?g } . FILTER ( ?w = ?x ) . { SELECT DISTINCT ( MIN ( ?z ) AS ?x ) { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?z ) WHERE { ?o property:P530 ?h . ?h rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q1048835 } GROUP BY ?o } } }
action argmin
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?w ) WHERE { ?g property:diplomatic_relation ?c . ?g rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:political_territorial_entity } GROUP BY ?g } . FILTER ( ?w = ?x ) . { SELECT DISTINCT ( MIN ( ?z ) AS ?x ) { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?z ) WHERE { ?o property:diplomatic_relation ?h . ?h rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:political_territorial_entity } GROUP BY ?o } } }
[]
political territorial entity political territorial entity
Q1000 Q769 Q691
SYSTEM
Gabon, Grenada, Papua New Guinea
Q1000 Q781 Q778 Q769 Q685 Q691 Q766
(c(Q1048835),P530,c(Q1048835))
action argmin
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
[ANSWERS] have diplomatic associations with min number of political territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?w ) WHERE { ?g property:P530 ?c . ?g rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q1048835 } GROUP BY ?g } . FILTER ( ?w = ?x ) . { SELECT DISTINCT ( MIN ( ?z ) AS ?x ) { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?z ) WHERE { ?o property:P530 ?h . ?h rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q1048835 } GROUP BY ?o } } }
Gabon Antigua and Barbuda The Bahamas Grenada Solomon Islands Papua New Guinea Jamaica
Gabon, Grenada and Papua New Guinea have diplomatic associations with min number of political territories
Gabon Grenada Papua New Guinea
action argmin
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?w ) WHERE { ?g property:diplomatic_relation ?c . ?g rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:political_territorial_entity } GROUP BY ?g } . FILTER ( ?w = ?x ) . { SELECT DISTINCT ( MIN ( ?z ) AS ?x ) { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?z ) WHERE { ?o property:diplomatic_relation ?h . ?h rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:political_territorial_entity } GROUP BY ?o } } }
[]