Simple Question (Direct)
Simple Question
Q2527773
P17
Q15617994
USER
Which administrative territory is Saligny situated in ?
(Q2527773,P17,c(Q15617994))
action filter_type
action find
entity Q2527773
relation P17
type Q15617994
['Q2527773', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q2527773 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
Saligny
action filter_type
action find
entity Saligny
relation country
type designation for an administrative territorial entity
['Saligny', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Saligny property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q2527773,P17,c(Q15617994))
action filter_type
action find
entity Q2527773
relation P17
type Q15617994
Saligny is situated en [ANSWER]
['Q2527773', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q2527773 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
France
Saligny is situated en France
France
action filter_type
action find
entity Saligny
relation country
type designation for an administrative territorial entity
['Saligny', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Saligny property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2527773
P47
Q20667921
USER
Which french administrative divisions are bordered by that one ?
(Q142,P47,c(Q20667921))
action filter_type
action find
entity Q2527773
relation P47
type Q20667921
['Q142', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { resource:Q2527773 property:P47 ?t . ?t rdf:type ontology:Q20667921 }
Saligny
action filter_type
action find
entity Saligny
relation shares border with
type type of french administrative division
['France', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { resource:Saligny property:shares_border_with ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q212420 Q1371449 Q208733
SYSTEM
Sens, Malay-le-Grand, Soucy
Q1377169 Q213862 Q1371526 Q212420 Q208733 Q1371449 Q1373741 Q127926
(Q142,P47,c(Q20667921))
action filter_type
action find
entity Q2527773
relation P47
type Q20667921
[ANSWERS] are bordered by that one
['Q142', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { resource:Q2527773 property:P47 ?t . ?t rdf:type ontology:Q20667921 }
Saint-Clément Villiers-Louis Malay-le-Petit Sens Soucy Malay-le-Grand Voisines Fontaine-la-Gaillarde
Sens, Malay-le-Grand and Soucy are bordered by that one
Sens Malay-le-Grand Soucy
action filter_type
action find
entity Saligny
relation shares border with
type type of french administrative division
['France', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { resource:Saligny property:shares_border_with ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q938891
P1376
Q1048835 Q20667921
USER
How many political territories have greater number of french administrative divisions have their first city than San Miguel District ?
(c(Q20667921),P1376,c(Q1048835))
action count
action greater
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q20667921
action count
action filter_type
action find
entity Q938891
relation P1376
type Q1048835
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?h ) WHERE { ?e property:P1376 ?m . ?m rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q20667921 } GROUP BY ?m } . FILTER ( ?h > ?g ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { resource:Q938891 property:P1376 ?j . ?j rdf:type ontology:Q1048835 } } }
San Miguel District
action count
action greater
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type type of french administrative division
action count
action filter_type
action find
entity San Miguel District
relation capital of
type political territorial entity
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?h ) WHERE { ?e property:capital_of ?m . ?m rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:type_of_french_administrative_division } GROUP BY ?m } . FILTER ( ?h > ?g ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { resource:San_Miguel_District property:capital_of ?j . ?j rdf:type ontology:political_territorial_entity } } }
[]
political territorial entity type of french administrative division
SYSTEM
6
Q1122980 Q2485101 Q34617 Q642314 Q1232887 Q778266
(c(Q20667921),P1376,c(Q1048835))
action count
action greater
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q20667921
action count
action filter_type
action find
entity Q938891
relation P1376
type Q1048835
[ANSWER]
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?h ) WHERE { ?e property:P1376 ?m . ?m rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q20667921 } GROUP BY ?m } . FILTER ( ?h > ?g ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { resource:Q938891 property:P1376 ?j . ?j rdf:type ontology:Q1048835 } } }
Comtat Venaissin County of Chiny Saint Pierre and Miquelon County of Burgundy County of Savoy County of Artois
6
action count
action greater
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type type of french administrative division
action count
action filter_type
action find
entity San Miguel District
relation capital of
type political territorial entity
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?h ) WHERE { ?e property:capital_of ?m . ?m rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:type_of_french_administrative_division } GROUP BY ?m } . FILTER ( ?h > ?g ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { resource:San_Miguel_District property:capital_of ?j . ?j rdf:type ontology:political_territorial_entity } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1787207
P1376
Q1048835 Q20667921
USER
And how about Kreis Auerbach?
(c(Q20667921),P1376,c(Q1048835))
action count
action greater
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q20667921
action count
action filter_type
action find
entity Q1787207
relation P1376
type Q1048835
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?r ) WHERE { ?d property:P1376 ?g . ?d rdf:type ontology:Q20667921 . ?g rdf:type ontology:Q1048835 } GROUP BY ?g } . FILTER ( ?r > ?u ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { resource:Q1787207 property:P1376 ?j . ?j rdf:type ontology:Q1048835 } } }
Kreis Auerbach
action count
action greater
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type type of french administrative division
action count
action filter_type
action find
entity Kreis Auerbach
relation capital of
type political territorial entity
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?r ) WHERE { ?d property:capital_of ?g . ?d rdf:type ontology:type_of_french_administrative_division . ?g rdf:type ontology:political_territorial_entity } GROUP BY ?g } . FILTER ( ?r > ?u ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { resource:Kreis_Auerbach property:capital_of ?j . ?j rdf:type ontology:political_territorial_entity } } }
[]
political territorial entity type of french administrative division
SYSTEM
6
Q1122980 Q2485101 Q34617 Q642314 Q1232887 Q778266
(c(Q20667921),P1376,c(Q1048835))
action count
action greater
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q20667921
action count
action filter_type
action find
entity Q1787207
relation P1376
type Q1048835
[ANSWER]
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?r ) WHERE { ?d property:P1376 ?g . ?d rdf:type ontology:Q20667921 . ?g rdf:type ontology:Q1048835 } GROUP BY ?g } . FILTER ( ?r > ?u ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { resource:Q1787207 property:P1376 ?j . ?j rdf:type ontology:Q1048835 } } }
Comtat Venaissin County of Chiny Saint Pierre and Miquelon County of Burgundy County of Savoy County of Artois
6
action count
action greater
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type type of french administrative division
action count
action filter_type
action find
entity Kreis Auerbach
relation capital of
type political territorial entity
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?r ) WHERE { ?d property:capital_of ?g . ?d rdf:type ontology:type_of_french_administrative_division . ?g rdf:type ontology:political_territorial_entity } GROUP BY ?g } . FILTER ( ?r > ?u ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { resource:Kreis_Auerbach property:capital_of ?j . ?j rdf:type ontology:political_territorial_entity } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P84
Q811430
USER
What was designed by France ?
(c(Q811430),P84,Q142)
action filter_type
action find_reverse
entity Q142
relation P84
type Q811430
[{'concept': 'Q811430'}, 'P84', 'Q142']
SELECT DISTINCT ?q WHERE { ?q property:P84 resource:Q142 . ?q rdf:type ontology:Q811430 }
France
action filter_type
action find_reverse
entity France
relation architect
type construction
[{'concept': 'construction'}, 'architect', 'France']
SELECT DISTINCT ?q WHERE { ?q property:architect resource:France . ?q rdf:type ontology:construction }
[]
construction
Q4740023
SYSTEM
Amar Mahal Palace
Q4740023
(c(Q811430),P84,Q142)
action filter_type
action find_reverse
entity Q142
relation P84
type Q811430
[ANSWER] was designed by France
[{'concept': 'Q811430'}, 'P84', 'Q142']
SELECT DISTINCT ?q WHERE { ?q property:P84 resource:Q142 . ?q rdf:type ontology:Q811430 }
Amar Mahal Palace
Amar Mahal Palace was designed by France
Amar Mahal Palace
action filter_type
action find_reverse
entity France
relation architect
type construction
[{'concept': 'construction'}, 'architect', 'France']
SELECT DISTINCT ?q WHERE { ?q property:architect resource:France . ?q rdf:type ontology:construction }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P36
Q56061
USER
Which administrative territory is called the capital of France ?
(Q142,P36,c(Q56061))
action filter_type
action find
entity Q142
relation P36
type Q56061
['Q142', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q142 property:P36 ?j . ?j rdf:type ontology:Q56061 }
France
action filter_type
action find
entity France
relation capital
type administrative territorial entity
['France', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:France property:capital ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q142,P36,c(Q56061))
action filter_type
action find
entity Q142
relation P36
type Q56061
Is [ANSWER] is called the capital of France
['Q142', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q142 property:P36 ?j . ?j rdf:type ontology:Q56061 }
Paris
Is Paris is called the capital of France
Paris
action filter_type
action find
entity France
relation capital
type administrative territorial entity
['France', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:France property:capital ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P706
Q151885
USER
Which concepts have their location as France ?
(c(Q151885),P706,Q142)
action filter_type
action find_reverse
entity Q142
relation P706
type Q151885
[{'concept': 'Q151885'}, 'P706', 'Q142']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q151885 . ?p property:P706 resource:Q142 }
France
action filter_type
action find_reverse
entity France
relation located on terrain feature
type concept
[{'concept': 'concept'}, 'located on terrain feature', 'France']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:concept . ?p property:located_on_terrain_feature resource:France }
[]
concept
Q1808482 Q2379716
SYSTEM
Tardenoisian, Sögel-Wohlde culture
Q1808482 Q2379716
(c(Q151885),P706,Q142)
action filter_type
action find_reverse
entity Q142
relation P706
type Q151885
[ANSWERS] have their location as France
[{'concept': 'Q151885'}, 'P706', 'Q142']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q151885 . ?p property:P706 resource:Q142 }
Tardenoisian Sögel-Wohlde culture
Tardenoisian and Sögel-Wohlde culture have their location as France
Tardenoisian Sögel-Wohlde culture
action filter_type
action find_reverse
entity France
relation located on terrain feature
type concept
[{'concept': 'concept'}, 'located on terrain feature', 'France']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:concept . ?p property:located_on_terrain_feature resource:France }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1808482 Q2379716
P61
Q502895
USER
Which people were the first persons to come up with those concepts ?
(Q1808482,P61,c(Q502895)) (Q2379716,P61,c(Q502895))
action filter_type
action find
entity prev_answer
relation P61
type Q502895
['Q1808482', 'P61', {'concept': 'Q502895'}] ['Q2379716', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . ?a property:P61 ?c . VALUES ( ?a ) { ( resource:Q1808482 ) ( resource:Q2379716 ) } }
Tardenoisian Sögel-Wohlde culture
action filter_type
action find
entity prev_answer
relation discoverer or inventor
type common name
['Tardenoisian', 'discoverer or inventor', {'concept': 'common name'}] ['Sögel-Wohlde culture', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . ?a property:discoverer_or_inventor ?c . VALUES ( ?a ) { ( resource:Tardenoisian ) ( resource:Sögel-Wohlde_culture ) } }
[]
common name
Q740782 Q1460695
SYSTEM
Louis Laurent Gabriel de Mortillet, Friedrich Laux
Q740782 Q1460695
(Q1808482,P61,c(Q502895)) (Q2379716,P61,c(Q502895))
action filter_type
action find
entity prev_answer
relation P61
type Q502895
[ANSWERS] were the first persons to come up with those concepts
['Q1808482', 'P61', {'concept': 'Q502895'}] ['Q2379716', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . ?a property:P61 ?c . VALUES ( ?a ) { ( resource:Q1808482 ) ( resource:Q2379716 ) } }
Louis Laurent Gabriel de Mortillet Friedrich Laux
Louis Laurent Gabriel de Mortillet and Friedrich Laux were the first persons to come up with those concepts
Louis Laurent Gabriel de Mortillet Friedrich Laux
action filter_type
action find
entity prev_answer
relation discoverer or inventor
type common name
['Tardenoisian', 'discoverer or inventor', {'concept': 'common name'}] ['Sögel-Wohlde culture', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . ?a property:discoverer_or_inventor ?c . VALUES ( ?a ) { ( resource:Tardenoisian ) ( resource:Sögel-Wohlde_culture ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q740782 Q1460695
P21
Q290
USER
Which sexes do Louis Laurent Gabriel de Mortillet and Friedrich Laux have ?
(Q740782,P21,c(Q290)) (Q1460695,P21,c(Q290))
action union
action filter_type
action find
entity Q740782
relation P21
type Q290
action filter_type
action find
entity Q1460695
relation P21
type Q290
['Q740782', 'P21', {'concept': 'Q290'}] ['Q1460695', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { { resource:Q1460695 property:P21 ?a . ?a rdf:type ontology:Q290 } UNION { resource:Q740782 property:P21 ?a . ?a rdf:type ontology:Q290 } }
Louis Laurent Gabriel de Mortillet Friedrich Laux
action union
action filter_type
action find
entity Louis Laurent Gabriel de Mortillet
relation gender
type sex
action filter_type
action find
entity Friedrich Laux
relation gender
type sex
['Louis Laurent Gabriel de Mortillet', 'gender', {'concept': 'sex'}] ['Friedrich Laux', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { { resource:Friedrich_Laux property:gender ?a . ?a rdf:type ontology:sex } UNION { resource:Louis_Laurent_Gabriel_de_Mortillet property:gender ?a . ?a rdf:type ontology:sex } }
[]
sex
Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097
(Q740782,P21,c(Q290)) (Q1460695,P21,c(Q290))
action union
action filter_type
action find
entity Q740782
relation P21
type Q290
action filter_type
action find
entity Q1460695
relation P21
type Q290
Louis Laurent Gabriel de Mortillet and Friedrich Laux have been [ANSWER] and [ANSWER]
['Q740782', 'P21', {'concept': 'Q290'}] ['Q1460695', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { { resource:Q1460695 property:P21 ?a . ?a rdf:type ontology:Q290 } UNION { resource:Q740782 property:P21 ?a . ?a rdf:type ontology:Q290 } }
male male
Louis Laurent Gabriel de Mortillet and Friedrich Laux have been male and male
male male
action union
action filter_type
action find
entity Louis Laurent Gabriel de Mortillet
relation gender
type sex
action filter_type
action find
entity Friedrich Laux
relation gender
type sex
['Louis Laurent Gabriel de Mortillet', 'gender', {'concept': 'sex'}] ['Friedrich Laux', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { { resource:Friedrich_Laux property:gender ?a . ?a rdf:type ontology:sex } UNION { resource:Louis_Laurent_Gabriel_de_Mortillet property:gender ?a . ?a rdf:type ontology:sex } }
[]