Simple Question (Direct)
Simple Question
Q44711
P106
Q12737077
USER
What is the profession of Guillaume Lacour ?
(Q44711,P106,c(Q12737077))
action filter_type
action find
entity Q44711
relation P106
type Q12737077
['Q44711', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . resource:Q44711 property:P106 ?r }
Guillaume Lacour
action filter_type
action find
entity Guillaume Lacour
relation occupation
type occupation
['Guillaume Lacour', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . resource:Guillaume_Lacour property:occupation ?r }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q44711,P106,c(Q12737077))
action filter_type
action find
entity Q44711
relation P106
type Q12737077
The profession of Guillaume Lacour is an [ANSWER]
['Q44711', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . resource:Q44711 property:P106 ?r }
association football player
The profession of Guillaume Lacour is an association football player
association football player
action filter_type
action find
entity Guillaume Lacour
relation occupation
type occupation
['Guillaume Lacour', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . resource:Guillaume_Lacour property:occupation ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q44711
P21
Q290
USER
What is the sex of Guillaume Lacour ?
(Q44711,P21,c(Q290))
action filter_type
action find
entity Q44711
relation P21
type Q290
['Q44711', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q44711 property:P21 ?w . ?w rdf:type ontology:Q290 }
Guillaume Lacour
action filter_type
action find
entity Guillaume Lacour
relation gender
type sex
['Guillaume Lacour', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Guillaume_Lacour property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q44711,P21,c(Q290))
action filter_type
action find
entity Q44711
relation P21
type Q290
The sex of Guillaume Lacour is a [ANSWER]
['Q44711', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q44711 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
The sex of Guillaume Lacour is a male
male
action filter_type
action find
entity Guillaume Lacour
relation gender
type sex
['Guillaume Lacour', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Guillaume_Lacour property:gender ?w . ?w rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q44711
P641
Q349
USER
Which sport did that person participate in ?
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q44711
relation P641
type Q349
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q44711 property:P641 ?h . ?h rdf:type ontology:Q349 }
Guillaume Lacour
action filter_type
action find
entity Guillaume Lacour
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Guillaume_Lacour property:sport ?h . ?h rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q44711
relation P641
type Q349
That person participated in [ANSWER]
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q44711 property:P641 ?h . ?h rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Guillaume Lacour
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Guillaume_Lacour property:sport ?h . ?h rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q44711
P19
Q20667921
USER
Which french administrative division is the place of birth of Guillaume Lacour ?
(Q44711,P19,c(Q20667921))
action filter_type
action find
entity Q44711
relation P19
type Q20667921
['Q44711', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?s WHERE { resource:Q44711 property:P19 ?s . ?s rdf:type ontology:Q20667921 }
Guillaume Lacour
action filter_type
action find
entity Guillaume Lacour
relation place of birth
type type of french administrative division
['Guillaume Lacour', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?s WHERE { resource:Guillaume_Lacour property:place_of_birth ?s . ?s rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q189715
SYSTEM
Courbevoie
Q189715
(Q44711,P19,c(Q20667921))
action filter_type
action find
entity Q44711
relation P19
type Q20667921
[ANSWER] is the place of birth of Guillaume Lacour
['Q44711', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?s WHERE { resource:Q44711 property:P19 ?s . ?s rdf:type ontology:Q20667921 }
Courbevoie
Courbevoie is the place of birth of Guillaume Lacour
Courbevoie
action filter_type
action find
entity Guillaume Lacour
relation place of birth
type type of french administrative division
['Guillaume Lacour', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?s WHERE { resource:Guillaume_Lacour property:place_of_birth ?s . ?s rdf:type ontology:type_of_french_administrative_division }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q2718496
P1376
Q1048835 Q20667921
USER
Which political territories have more number of french administrative divisions as their county seat than Andahuaylas District ?
(c(Q20667921),P1376,c(Q1048835))
action greater
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q20667921
action count
action filter_type
action find
entity Q2718496
relation P1376
type Q1048835
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?w ) WHERE { ?u rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q20667921 . ?h property:P1376 ?u } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Q2718496 property:P1376 ?t . ?t rdf:type ontology:Q1048835 } } . FILTER ( ?w > ?i ) }
Andahuaylas District
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 Andahuaylas District
relation capital of
type political territorial entity
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?w ) WHERE { ?u rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:type_of_french_administrative_division . ?h property:capital_of ?u } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Andahuaylas_District property:capital_of ?t . ?t rdf:type ontology:political_territorial_entity } } . FILTER ( ?w > ?i ) }
[]
political territorial entity type of french administrative division
Q34617 Q2485101 Q778266
SYSTEM
Saint Pierre and Miquelon, County of Chiny, County of Artois
Q1122980 Q2485101 Q34617 Q642314 Q1232887 Q778266
(c(Q20667921),P1376,c(Q1048835))
action greater
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q20667921
action count
action filter_type
action find
entity Q2718496
relation P1376
type Q1048835
[ANSWERS] have more number of french administrative divisions as their county seat than Andahuaylas District
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?w ) WHERE { ?u rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q20667921 . ?h property:P1376 ?u } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Q2718496 property:P1376 ?t . ?t rdf:type ontology:Q1048835 } } . FILTER ( ?w > ?i ) }
Comtat Venaissin County of Chiny Saint Pierre and Miquelon County of Burgundy County of Savoy County of Artois
Saint Pierre and Miquelon, County of Chiny and County of Artois have more number of french administrative divisions as their county seat than Andahuaylas District
Saint Pierre and Miquelon County of Chiny County of Artois
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 Andahuaylas District
relation capital of
type political territorial entity
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?w ) WHERE { ?u rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:type_of_french_administrative_division . ?h property:capital_of ?u } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Andahuaylas_District property:capital_of ?t . ?t rdf:type ontology:political_territorial_entity } } . FILTER ( ?w > ?i ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q13769
P1376
Q1048835 Q20667921
USER
And what about Camiguin?
(c(Q20667921),P1376,c(Q1048835))
action greater
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q20667921
action count
action filter_type
action find
entity Q13769
relation P1376
type Q1048835
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:P1376 ?j . ?j rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q20667921 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { resource:Q13769 property:P1376 ?c . ?c rdf:type ontology:Q1048835 } } . FILTER ( ?z > ?q ) }
Camiguin
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 Camiguin
relation capital of
type political territorial entity
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:capital_of ?j . ?j rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:type_of_french_administrative_division } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { resource:Camiguin property:capital_of ?c . ?c rdf:type ontology:political_territorial_entity } } . FILTER ( ?z > ?q ) }
[]
political territorial entity type of french administrative division
Q34617 Q2485101 Q778266
SYSTEM
Saint Pierre and Miquelon, County of Chiny, County of Artois
Q1122980 Q2485101 Q34617 Q642314 Q1232887 Q778266
(c(Q20667921),P1376,c(Q1048835))
action greater
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q20667921
action count
action filter_type
action find
entity Q13769
relation P1376
type Q1048835
[ANSWERS]
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:P1376 ?j . ?j rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q20667921 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { resource:Q13769 property:P1376 ?c . ?c rdf:type ontology:Q1048835 } } . FILTER ( ?z > ?q ) }
Comtat Venaissin County of Chiny Saint Pierre and Miquelon County of Burgundy County of Savoy County of Artois
Saint Pierre and Miquelon County of Chiny County of Artois
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 Camiguin
relation capital of
type political territorial entity
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:capital_of ?j . ?j rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:type_of_french_administrative_division } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { resource:Camiguin property:capital_of ?c . ?c rdf:type ontology:political_territorial_entity } } . FILTER ( ?z > ?q ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q185351 Q937857
P106
Q502895
USER
Which people have association football player and jurist as his/her means of employment ?
AND((c(Q502895),P106,Q937857), (c(Q502895),P106,Q185351))
action filter_type
action intersection
action find_reverse
entity Q937857
relation P106
action find_reverse
entity Q185351
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q937857'], [{'concept': 'Q502895'}, 'P106', 'Q185351']]}
SELECT DISTINCT ?j WHERE { ?j property:P106 resource:Q937857 . ?j property:P106 resource:Q185351 . ?j rdf:type ontology:Q502895 }
jurist association football player
action filter_type
action intersection
action find_reverse
entity association football player
relation occupation
action find_reverse
entity jurist
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'association football player'], [{'concept': 'common name'}, 'occupation', 'jurist']]}
SELECT DISTINCT ?j WHERE { ?j property:occupation resource:association_football_player . ?j property:occupation resource:jurist . ?j rdf:type ontology:common_name }
[]
common name
Q5818943 Q57641 Q11982076 Q15056915 Q329185
SYSTEM
Eduardo Aizpún Andueza, Viktor Orbán, Kristian Wiese, Bernhard Niggemeyer, Achim Stocker
Q5818943 Q57641 Q11982076 Q15056915 Q329185
AND((c(Q502895),P106,Q937857), (c(Q502895),P106,Q185351))
action filter_type
action intersection
action find_reverse
entity Q937857
relation P106
action find_reverse
entity Q185351
relation P106
type Q502895
[ANSWERS] have association football player and jurist as his/her means of employment
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q937857'], [{'concept': 'Q502895'}, 'P106', 'Q185351']]}
SELECT DISTINCT ?j WHERE { ?j property:P106 resource:Q937857 . ?j property:P106 resource:Q185351 . ?j rdf:type ontology:Q502895 }
Eduardo Aizpún Andueza Viktor Orbán Kristian Wiese Bernhard Niggemeyer Achim Stocker
Eduardo Aizpún Andueza, Viktor Orbán, Kristian Wiese, Bernhard Niggemeyer and Achim Stocker have association football player and jurist as his/her means of employment
Eduardo Aizpún Andueza Viktor Orbán Kristian Wiese Bernhard Niggemeyer Achim Stocker
action filter_type
action intersection
action find_reverse
entity association football player
relation occupation
action find_reverse
entity jurist
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'association football player'], [{'concept': 'common name'}, 'occupation', 'jurist']]}
SELECT DISTINCT ?j WHERE { ?j property:occupation resource:association_football_player . ?j property:occupation resource:jurist . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q5818943 Q57641 Q11982076 Q15056915 Q329185
P21
Q290
USER
Which sexes do Eduardo Aizpún Andueza, Viktor Orbán, Kristian Wiese, Bernhard Niggemeyer and Achim Stocker belong to ?
(Q5818943,P21,c(Q290)) (Q57641,P21,c(Q290)) (Q11982076,P21,c(Q290)) (Q15056915,P21,c(Q290)) (Q329185,P21,c(Q290))
action union
action filter_type
action find
entity Q5818943
relation P21
type Q290
action filter_type
action find
entity Q57641
relation P21
type Q290
action filter_type
action find
entity Q11982076
relation P21
type Q290
action filter_type
action find
entity Q15056915
relation P21
type Q290
action filter_type
action find
entity Q329185
relation P21
type Q290
['Q5818943', 'P21', {'concept': 'Q290'}] ['Q57641', 'P21', {'concept': 'Q290'}] ['Q11982076', 'P21', {'concept': 'Q290'}] ['Q15056915', 'P21', {'concept': 'Q290'}] ['Q329185', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { { resource:Q5818943 property:P21 ?m . ?m rdf:type ontology:Q290 } UNION { resource:Q57641 property:P21 ?m . ?m rdf:type ontology:Q290 } }
Eduardo Aizpún Andueza Viktor Orbán Kristian Wiese Bernhard Niggemeyer Achim Stocker
action union
action filter_type
action find
entity Eduardo Aizpún Andueza
relation gender
type sex
action filter_type
action find
entity Viktor Orbán
relation gender
type sex
action filter_type
action find
entity Kristian Wiese
relation gender
type sex
action filter_type
action find
entity Bernhard Niggemeyer
relation gender
type sex
action filter_type
action find
entity Achim Stocker
relation gender
type sex
['Eduardo Aizpún Andueza', 'gender', {'concept': 'sex'}] ['Viktor Orbán', 'gender', {'concept': 'sex'}] ['Kristian Wiese', 'gender', {'concept': 'sex'}] ['Bernhard Niggemeyer', 'gender', {'concept': 'sex'}] ['Achim Stocker', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { { resource:Eduardo_Aizpún_Andueza property:gender ?m . ?m rdf:type ontology:sex } UNION { resource:Viktor_Orbán property:gender ?m . ?m rdf:type ontology:sex } }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097 Q6581097 Q6581097
(Q5818943,P21,c(Q290)) (Q57641,P21,c(Q290)) (Q11982076,P21,c(Q290)) (Q15056915,P21,c(Q290)) (Q329185,P21,c(Q290))
action union
action filter_type
action find
entity Q5818943
relation P21
type Q290
action filter_type
action find
entity Q57641
relation P21
type Q290
action filter_type
action find
entity Q11982076
relation P21
type Q290
action filter_type
action find
entity Q15056915
relation P21
type Q290
action filter_type
action find
entity Q329185
relation P21
type Q290
[ANSWER], [ANSWER] and [ANSWER] Eduar Aizpún Andueza, Viktor Orbán, Kristian Wiese, Bernhard Niggemeyer and Achim Stocker belong to
['Q5818943', 'P21', {'concept': 'Q290'}] ['Q57641', 'P21', {'concept': 'Q290'}] ['Q11982076', 'P21', {'concept': 'Q290'}] ['Q15056915', 'P21', {'concept': 'Q290'}] ['Q329185', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { { resource:Q5818943 property:P21 ?m . ?m rdf:type ontology:Q290 } UNION { resource:Q57641 property:P21 ?m . ?m rdf:type ontology:Q290 } }
male male male male male
Male, male and male Eduar Aizpún Andueza, Viktor Orbán, Kristian Wiese, Bernhard Niggemeyer and Achim Stocker belong to
male male male
action union
action filter_type
action find
entity Eduardo Aizpún Andueza
relation gender
type sex
action filter_type
action find
entity Viktor Orbán
relation gender
type sex
action filter_type
action find
entity Kristian Wiese
relation gender
type sex
action filter_type
action find
entity Bernhard Niggemeyer
relation gender
type sex
action filter_type
action find
entity Achim Stocker
relation gender
type sex
['Eduardo Aizpún Andueza', 'gender', {'concept': 'sex'}] ['Viktor Orbán', 'gender', {'concept': 'sex'}] ['Kristian Wiese', 'gender', {'concept': 'sex'}] ['Bernhard Niggemeyer', 'gender', {'concept': 'sex'}] ['Achim Stocker', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { { resource:Eduardo_Aizpún_Andueza property:gender ?m . ?m rdf:type ontology:sex } UNION { resource:Viktor_Orbán property:gender ?m . ?m rdf:type ontology:sex } }
[]