Simple Question (Direct)
Simple Question
Q1050172
P21
Q290
USER
What is the sex of Cataldo Cozza ?
(Q1050172,P21,c(Q290))
action filter_type
action find
entity Q1050172
relation P21
type Q290
['Q1050172', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q1050172 property:P21 ?g . ?g rdf:type ontology:Q290 }
Cataldo Cozza
action filter_type
action find
entity Cataldo Cozza
relation gender
type sex
['Cataldo Cozza', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Cataldo_Cozza property:gender ?g . ?g rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1050172,P21,c(Q290))
action filter_type
action find
entity Q1050172
relation P21
type Q290
The sex of Cataldo Cozza is the [ANSWER]
['Q1050172', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q1050172 property:P21 ?g . ?g rdf:type ontology:Q290 }
male
The sex of Cataldo Cozza is the male
male
action filter_type
action find
entity Cataldo Cozza
relation gender
type sex
['Cataldo Cozza', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Cataldo_Cozza property:gender ?g . ?g rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1050172
P641
Q349
USER
Which sport did that person participate in ?
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q1050172
relation P641
type Q349
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q1050172 property:P641 ?u . ?u rdf:type ontology:Q349 }
Cataldo Cozza
action filter_type
action find
entity Cataldo Cozza
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:Cataldo_Cozza property:sport ?u . ?u rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q1050172
relation P641
type Q349
That person participated in [ANSWER]
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q1050172 property:P641 ?u . ?u rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Cataldo Cozza
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:Cataldo_Cozza property:sport ?u . ?u rdf:type ontology:sport }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q233224
P88
Q502895 Q2235308 Q860861
USER
How many people commissioned more number of ship types and sculptures than Gemmei ?
(c(Q2235308)|c(Q860861),P88,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q2235308
action find_reverse_tuple_counts
relation P88
type Q502895
type Q860861
action count
action filter_multi_types
action find_reverse
entity Q233224
relation P88
type Q2235308
type Q860861
[[{'concept': 'Q2235308'}, {'concept': 'Q860861'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?h ) WHERE { { ?a property:P88 ?x . ?x rdf:type ontology:Q502895 . ?a rdf:type ontology:Q2235308 } UNION { ?x rdf:type ontology:Q502895 . ?a rdf:type ontology:Q860861 . ?a property:P88 ?x } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { ?u property:P88 resource:Q233224 . { { ?u rdf:type ontology:Q2235308 } UNION { ?u rdf:type ontology:Q860861 } } } } . FILTER ( ?h > ?j ) }
Gemmei
action count
action greater
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type ship type
action find_reverse_tuple_counts
relation commissioned by
type common name
type sculpture
action count
action filter_multi_types
action find_reverse
entity Gemmei
relation commissioned by
type ship type
type sculpture
[[{'concept': 'ship type'}, {'concept': 'sculpture'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?h ) WHERE { { ?a property:commissioned_by ?x . ?x rdf:type ontology:common_name . ?a rdf:type ontology:ship_type } UNION { ?x rdf:type ontology:common_name . ?a rdf:type ontology:sculpture . ?a property:commissioned_by ?x } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { ?u property:commissioned_by resource:Gemmei . { { ?u rdf:type ontology:ship_type } UNION { ?u rdf:type ontology:sculpture } } } } . FILTER ( ?h > ?j ) }
[]
common name ship type sculpture
SYSTEM
5
Q1066012 Q450160 Q3048511 Q6138693 Q19837
(c(Q2235308)|c(Q860861),P88,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q2235308
action find_reverse_tuple_counts
relation P88
type Q502895
type Q860861
action count
action filter_multi_types
action find_reverse
entity Q233224
relation P88
type Q2235308
type Q860861
[ANSWER]
[[{'concept': 'Q2235308'}, {'concept': 'Q860861'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?h ) WHERE { { ?a property:P88 ?x . ?x rdf:type ontology:Q502895 . ?a rdf:type ontology:Q2235308 } UNION { ?x rdf:type ontology:Q502895 . ?a rdf:type ontology:Q860861 . ?a property:P88 ?x } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { ?u property:P88 resource:Q233224 . { { ?u rdf:type ontology:Q2235308 } UNION { ?u rdf:type ontology:Q860861 } } } } . FILTER ( ?h > ?j ) }
Charles Saatchi Marjorie Merriweather Post Edward Francis Hutton James Mackay, 1st Earl of Inchcape Steve Jobs
5
action count
action greater
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type ship type
action find_reverse_tuple_counts
relation commissioned by
type common name
type sculpture
action count
action filter_multi_types
action find_reverse
entity Gemmei
relation commissioned by
type ship type
type sculpture
[[{'concept': 'ship type'}, {'concept': 'sculpture'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?h ) WHERE { { ?a property:commissioned_by ?x . ?x rdf:type ontology:common_name . ?a rdf:type ontology:ship_type } UNION { ?x rdf:type ontology:common_name . ?a rdf:type ontology:sculpture . ?a property:commissioned_by ?x } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { ?u property:commissioned_by resource:Gemmei . { { ?u rdf:type ontology:ship_type } UNION { ?u rdf:type ontology:sculpture } } } } . FILTER ( ?h > ?j ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q591851
P88
Q502895 Q2235308 Q860861
USER
And also tell me about Ralph von Merle?
(c(Q2235308)|c(Q860861),P88,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q2235308
action find_reverse_tuple_counts
relation P88
type Q502895
type Q860861
action count
action filter_multi_types
action find_reverse
entity Q591851
relation P88
type Q2235308
type Q860861
[[{'concept': 'Q2235308'}, {'concept': 'Q860861'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) ?r WHERE { ?o rdf:type ?f . VALUES ( ?f ) { ( ontology:Q2235308 ) ( ontology:Q860861 ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { ?j property:P88 resource:Q591851 . { { ?j rdf:type ontology:Q2235308 } UNION { ?j rdf:type ontology:Q860861 } } } } . FILTER ( ?h > ?z ) }
Ralph von Merle
action count
action greater
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type ship type
action find_reverse_tuple_counts
relation commissioned by
type common name
type sculpture
action count
action filter_multi_types
action find_reverse
entity Ralph von Merle
relation commissioned by
type ship type
type sculpture
[[{'concept': 'ship type'}, {'concept': 'sculpture'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) ?r WHERE { ?o rdf:type ?f . VALUES ( ?f ) { ( ontology:ship_type ) ( ontology:sculpture ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { ?j property:commissioned_by resource:Ralph_von_Merle . { { ?j rdf:type ontology:ship_type } UNION { ?j rdf:type ontology:sculpture } } } } . FILTER ( ?h > ?z ) }
[]
common name ship type sculpture
SYSTEM
5
Q1066012 Q450160 Q3048511 Q6138693 Q19837
(c(Q2235308)|c(Q860861),P88,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q2235308
action find_reverse_tuple_counts
relation P88
type Q502895
type Q860861
action count
action filter_multi_types
action find_reverse
entity Q591851
relation P88
type Q2235308
type Q860861
[ANSWER]
[[{'concept': 'Q2235308'}, {'concept': 'Q860861'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) ?r WHERE { ?o rdf:type ?f . VALUES ( ?f ) { ( ontology:Q2235308 ) ( ontology:Q860861 ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { ?j property:P88 resource:Q591851 . { { ?j rdf:type ontology:Q2235308 } UNION { ?j rdf:type ontology:Q860861 } } } } . FILTER ( ?h > ?z ) }
Charles Saatchi Marjorie Merriweather Post Edward Francis Hutton James Mackay, 1st Earl of Inchcape Steve Jobs
5
action count
action greater
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type ship type
action find_reverse_tuple_counts
relation commissioned by
type common name
type sculpture
action count
action filter_multi_types
action find_reverse
entity Ralph von Merle
relation commissioned by
type ship type
type sculpture
[[{'concept': 'ship type'}, {'concept': 'sculpture'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) ?r WHERE { ?o rdf:type ?f . VALUES ( ?f ) { ( ontology:ship_type ) ( ontology:sculpture ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { ?j property:commissioned_by resource:Ralph_von_Merle . { { ?j rdf:type ontology:ship_type } UNION { ?j rdf:type ontology:sculpture } } } } . FILTER ( ?h > ?z ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P88
Q502895 Q811430 Q4989906
USER
How many people were around 1 constructions or monuments commissioned by ?
(c(Q811430)|c(Q4989906),P88,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q811430
action find_reverse_tuple_counts
relation P88
type Q502895
type Q4989906
value 1
[[{'concept': 'Q811430'}, {'concept': 'Q4989906'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?v ) WHERE { { ?j property:P88 ?z . ?z rdf:type ontology:Q502895 . ?j rdf:type ontology:Q811430 } UNION { ?z rdf:type ontology:Q502895 . ?j rdf:type ontology:Q4989906 . ?j property:P88 ?z } } GROUP BY ?z } . FILTER ( ?v = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type construction
action find_reverse_tuple_counts
relation commissioned by
type common name
type monument
value 1
[[{'concept': 'construction'}, {'concept': 'monument'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?v ) WHERE { { ?j property:commissioned_by ?z . ?z rdf:type ontology:common_name . ?j rdf:type ontology:construction } UNION { ?z rdf:type ontology:common_name . ?j rdf:type ontology:monument . ?j property:commissioned_by ?z } } GROUP BY ?z } . FILTER ( ?v = 1 ) }
[]
common name construction monument
SYSTEM
12
Q312637 Q937 Q95946 Q1523 Q129857 Q737533 Q44361 Q8474 Q152229 Q131706 Q111354 Q517
(c(Q811430)|c(Q4989906),P88,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q811430
action find_reverse_tuple_counts
relation P88
type Q502895
type Q4989906
value 1
[ANSWER]
[[{'concept': 'Q811430'}, {'concept': 'Q4989906'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?v ) WHERE { { ?j property:P88 ?z . ?z rdf:type ontology:Q502895 . ?j rdf:type ontology:Q811430 } UNION { ?z rdf:type ontology:Q502895 . ?j rdf:type ontology:Q4989906 . ?j property:P88 ?z } } GROUP BY ?z } . FILTER ( ?v = 1 ) }
Curzio Malaparte Albert Einstein Ferdinand Mülhens Ramesses II Francis I of France Louis XIII of France Ludwig I of Bavaria Suleiman the Magnificent Frederick William II of Prussia Maria Theresa of Austria August Julius Albert Borsig Napoleon
12
action count
action approx
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type construction
action find_reverse_tuple_counts
relation commissioned by
type common name
type monument
value 1
[[{'concept': 'construction'}, {'concept': 'monument'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?v ) WHERE { { ?j property:commissioned_by ?z . ?z rdf:type ontology:common_name . ?j rdf:type ontology:construction } UNION { ?z rdf:type ontology:common_name . ?j rdf:type ontology:monument . ?j property:commissioned_by ?z } } GROUP BY ?z } . FILTER ( ?v = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1050172
P19
Q15617994
USER
Which administrative territory is the birthplace of Cataldo Cozza ?
(Q1050172,P19,c(Q15617994))
action filter_type
action find
entity Q1050172
relation P19
type Q15617994
['Q1050172', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q1050172 property:P19 ?o . ?o rdf:type ontology:Q15617994 }
Cataldo Cozza
action filter_type
action find
entity Cataldo Cozza
relation place of birth
type designation for an administrative territorial entity
['Cataldo Cozza', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Cataldo_Cozza property:place_of_birth ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q3097
SYSTEM
Remscheid
Q3097
(Q1050172,P19,c(Q15617994))
action filter_type
action find
entity Q1050172
relation P19
type Q15617994
[ANSWER] is the birthplace of Cataldo Cozza
['Q1050172', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q1050172 property:P19 ?o . ?o rdf:type ontology:Q15617994 }
Remscheid
Remscheid is the birthplace of Cataldo Cozza
Remscheid
action filter_type
action find
entity Cataldo Cozza
relation place of birth
type designation for an administrative territorial entity
['Cataldo Cozza', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Cataldo_Cozza property:place_of_birth ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19975764
Q15617994
USER
And what about Darnley Alexander?
(Q19975764,P19,c(Q15617994))
action filter_type
action find
entity Q19975764
relation P19
type Q15617994
['Q19975764', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q19975764 property:P19 ?s . ?s rdf:type ontology:Q15617994 }
Darnley Alexander
action filter_type
action find
entity Darnley Alexander
relation place of birth
type designation for an administrative territorial entity
['Darnley Alexander', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Darnley_Alexander property:place_of_birth ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q760
SYSTEM
Saint Lucia
Q760
(Q19975764,P19,c(Q15617994))
action filter_type
action find
entity Q19975764
relation P19
type Q15617994
[ANSWER]
['Q19975764', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q19975764 property:P19 ?s . ?s rdf:type ontology:Q15617994 }
Saint Lucia
Saint Lucia
action filter_type
action find
entity Darnley Alexander
relation place of birth
type designation for an administrative territorial entity
['Darnley Alexander', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Darnley_Alexander property:place_of_birth ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q760 Q23310 Q717
P47
Q15617994
USER
Is that administrative territory next to the border of Cossogno and Venezuela ?
(Q760,P47,Q23310) (Q760,P47,Q717)
action is_in
entity Q760
action intersection
action find_reverse
entity Q23310
relation P47
action find_reverse
entity Q717
relation P47
['Q760', 'P47', 'Q23310'] ['Q760', 'P47', 'Q717']
ASK WHERE { resource:Q760 property:P47 resource:Q23310 . resource:Q760 property:P47 resource:Q717 }
Saint Lucia Cossogno Venezuela
action is_in
entity Saint Lucia
action intersection
action find_reverse
entity Cossogno
relation shares border with
action find_reverse
entity Venezuela
relation shares border with
['Saint Lucia', 'shares border with', 'Cossogno'] ['Saint Lucia', 'shares border with', 'Venezuela']
ASK WHERE { resource:Saint_Lucia property:shares_border_with resource:Cossogno . resource:Saint_Lucia property:shares_border_with resource:Venezuela }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q760,P47,Q23310) (Q760,P47,Q717)
action is_in
entity Q760
action intersection
action find_reverse
entity Q23310
relation P47
action find_reverse
entity Q717
relation P47
[ANSWER]
['Q760', 'P47', 'Q23310'] ['Q760', 'P47', 'Q717']
ASK WHERE { resource:Q760 property:P47 resource:Q23310 . resource:Q760 property:P47 resource:Q717 }
NO and YES respectively
action is_in
entity Saint Lucia
action intersection
action find_reverse
entity Cossogno
relation shares border with
action find_reverse
entity Venezuela
relation shares border with
['Saint Lucia', 'shares border with', 'Cossogno'] ['Saint Lucia', 'shares border with', 'Venezuela']
ASK WHERE { resource:Saint_Lucia property:shares_border_with resource:Cossogno . resource:Saint_Lucia property:shares_border_with resource:Venezuela }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1674799 Q19975764
P27
Q15617994
USER
Which administrative territories do Darnley Alexander or Issoufou Saidou-Djermakoye belong to ?
OR((Q19975764,P27,c(Q15617994)), (Q1674799,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q19975764
relation P27
action find
entity Q1674799
relation P27
type Q15617994
{'OR': [['Q19975764', 'P27', {'concept': 'Q15617994'}], ['Q1674799', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { ?w property:P27 ?p . VALUES ( ?w ) { ( resource:Q19975764 ) ( resource:Q1674799 ) } } . ?p rdf:type ontology:Q15617994 }
Issoufou Saidou-Djermakoye Darnley Alexander
action filter_type
action union
action find
entity Darnley Alexander
relation country of citizenship
action find
entity Issoufou Saidou-Djermakoye
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Darnley Alexander', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Issoufou Saidou-Djermakoye', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { ?w property:country_of_citizenship ?p . VALUES ( ?w ) { ( resource:Darnley_Alexander ) ( resource:Issoufou_Saidou-Djermakoye ) } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q1032 Q1033
SYSTEM
France, Niger, Nigeria
Q142 Q1032 Q1033
OR((Q19975764,P27,c(Q15617994)), (Q1674799,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q19975764
relation P27
action find
entity Q1674799
relation P27
type Q15617994
[ANSWERS] Darnley Alexander or Issoufou Saiu-Djermakoye belong to
{'OR': [['Q19975764', 'P27', {'concept': 'Q15617994'}], ['Q1674799', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { ?w property:P27 ?p . VALUES ( ?w ) { ( resource:Q19975764 ) ( resource:Q1674799 ) } } . ?p rdf:type ontology:Q15617994 }
France Niger Nigeria
France, Niger and Nigeria Darnley Alexander or Issoufou Saiu-Djermakoye belong to
France Niger Nigeria
action filter_type
action union
action find
entity Darnley Alexander
relation country of citizenship
action find
entity Issoufou Saidou-Djermakoye
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Darnley Alexander', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Issoufou Saidou-Djermakoye', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { ?w property:country_of_citizenship ?p . VALUES ( ?w ) { ( resource:Darnley_Alexander ) ( resource:Issoufou_Saidou-Djermakoye ) } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q142 Q1032 Q1033
P17
Q2221906
USER
Which geographic locations are present in those administrative territories ?
(c(Q2221906),P17,Q142) (c(Q2221906),P17,Q1032) (c(Q2221906),P17,Q1033)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q2221906
[{'concept': 'Q2221906'}, 'P17', 'Q142'] [{'concept': 'Q2221906'}, 'P17', 'Q1032'] [{'concept': 'Q2221906'}, 'P17', 'Q1033']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q2221906 . VALUES ( ?q ) { ( resource:Q142 ) ( resource:Q1032 ) ( resource:Q1033 ) } . ?h property:P17 ?q }
France Niger Nigeria
action filter_type
action find_reverse
entity prev_answer
relation country
type geographic location
[{'concept': 'geographic location'}, 'country', 'France'] [{'concept': 'geographic location'}, 'country', 'Niger'] [{'concept': 'geographic location'}, 'country', 'Nigeria']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:geographic_location . VALUES ( ?q ) { ( resource:France ) ( resource:Niger ) ( resource:Nigeria ) } . ?h property:country ?q }
[]
geographic location
Q3088984 Q27700889 Q6557114
SYSTEM
European Union–Switzerland border, normal zero, Liptako
Q5194646 Q16984904 Q22665766 Q4827846 Q1468519 Q5189766 Q3553525 Q850620 Q3035602 Q7227495 Q4479869 Q1237299 Q3088984 Q5290696 Q112513 Q3287374 Q16680564 Q2944635 Q27700889 Q22704024 Q15250658 Q3412741 Q3393712 Q27701408 Q6557114 Q26235315 Q14234624 Q3752938 Q3049624
(c(Q2221906),P17,Q142) (c(Q2221906),P17,Q1032) (c(Q2221906),P17,Q1033)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q2221906
[ANSWERS] are present in those administrative territories
[{'concept': 'Q2221906'}, 'P17', 'Q142'] [{'concept': 'Q2221906'}, 'P17', 'Q1032'] [{'concept': 'Q2221906'}, 'P17', 'Q1033']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q2221906 . VALUES ( ?q ) { ( resource:Q142 ) ( resource:Q1032 ) ( resource:Q1033 ) } . ?h property:P17 ?q }
Curbans Solar Park Bordeaux wine regions Valley of Munster Avatoru Pass Nivernais Crucey Solar Park CEA Valduc Périgord Dommartin Pompogne Solar Park Uia Southern France European Union–Switzerland border Dominica Passage SOLEIL Marais breton Tour Percée Themis normal zero Great Cross of Hendaye Massangis Solar Park docks of Bordeaux La Pointe du Chay average Mediterranean Sea level in Ajaccio Liptako First Mining Beacon, Tilden Fulani Southeast Nigeria Yorùbáland Eko Atlantic
European Union–Switzerland border, normal zero and Liptako are present in those administrative territories
European Union–Switzerland border normal zero Liptako
action filter_type
action find_reverse
entity prev_answer
relation country
type geographic location
[{'concept': 'geographic location'}, 'country', 'France'] [{'concept': 'geographic location'}, 'country', 'Niger'] [{'concept': 'geographic location'}, 'country', 'Nigeria']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:geographic_location . VALUES ( ?q ) { ( resource:France ) ( resource:Niger ) ( resource:Nigeria ) } . ?h property:country ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P840
Q166142
USER
Which applications have their narrative set in France ?
(c(Q166142),P840,Q3088984) (c(Q166142),P840,Q27700889) (c(Q166142),P840,Q6557114)
action filter_type
action find_reverse
entity Q142
relation P840
type Q166142
[{'concept': 'Q166142'}, 'P840', 'Q3088984'] [{'concept': 'Q166142'}, 'P840', 'Q27700889'] [{'concept': 'Q166142'}, 'P840', 'Q6557114']
SELECT DISTINCT ?o WHERE { ?o property:P840 resource:Q142 . ?o rdf:type ontology:Q166142 }
France
action filter_type
action find_reverse
entity France
relation narrative location
type application
[{'concept': 'application'}, 'narrative location', 'European Union–Switzerland border'] [{'concept': 'application'}, 'narrative location', 'normal zero'] [{'concept': 'application'}, 'narrative location', 'Liptako']
SELECT DISTINCT ?o WHERE { ?o property:narrative_location resource:France . ?o rdf:type ontology:application }
[]
application
Q486233 Q137977 Q2632206
SYSTEM
Call of Duty: Modern Warfare 3, FIFA 13, Euro Truck Simulator 2
Q2712291 Q7378148 Q386452 Q7378145 Q7279682 Q1461007 Q593572 Q1168322 Q1542701 Q1117741 Q500851 Q811024 Q20860329 Q7954910 Q7954911 Q2289071 Q692360 Q17156010 Q4045031 Q210298 Q304003 Q2312441 Q978768 Q2547348 Q2569492 Q7246721 Q26097 Q13423675 Q13422270 Q13361633 Q2387 Q3452820 Q912286 Q1163024 Q533304 Q40627 Q791454 Q5884557 Q1950734 Q3093440 Q1149718 Q1189155 Q1068006 Q16671192 Q2599190 Q2632206 Q773395 Q24031560 Q4043974 Q2734059 Q16622867 Q2418753 Q7491002 Q1341049 Q1149590 Q850587 Q544818 Q684904 Q18705852 Q2545624 Q5241254 Q7378190 Q308961 Q7378192 Q7378193 Q137977 Q7378215 Q388225 Q16267633 Q2526511 Q2351397 Q2580580 Q18639864 Q796916 Q2069428 Q1750961 Q580202 Q15983778 Q3278817 Q16333777 Q791439 Q3874948 Q1932615 Q1861162 Q2278202 Q1775040 Q2732474 Q1442104 Q3663089 Q1750390 Q17138 Q932113 Q4797246 Q2459400 Q16267670 Q4424425 Q18758127 Q380918 Q2452625 Q7388961 Q1053110 Q4046400 Q1648331 Q15630929 Q7805184 Q2275773 Q2733995 Q7378213 Q3748349 Q3283304 Q843456 Q2734941 Q17183996 Q4830592 Q4414741 Q3521960 Q2442526 Q211096 Q672049 Q2201608 Q4037010 Q1064176 Q7378147 Q835522 Q7578297 Q15036828 Q3942416 Q15143489 Q2605819 Q2614557 Q2319086 Q1750568 Q4906178 Q970794 Q486233 Q7993400 Q2906318 Q2450773 Q784143 Q1329384 Q840776 Q865237 Q746351 Q3553426 Q7737737 Q1538485 Q1069537 Q1105711 Q2226763 Q4038932 Q1584849 Q1247366 Q11256854
(c(Q166142),P840,Q3088984) (c(Q166142),P840,Q27700889) (c(Q166142),P840,Q6557114)
action filter_type
action find_reverse
entity Q142
relation P840
type Q166142
[ANSWERS] have their narrative set in France
[{'concept': 'Q166142'}, 'P840', 'Q3088984'] [{'concept': 'Q166142'}, 'P840', 'Q27700889'] [{'concept': 'Q166142'}, 'P840', 'Q6557114']
SELECT DISTINCT ?o WHERE { ?o property:P840 resource:Q142 . ?o rdf:type ontology:Q166142 }
FIFA Soccer 95 Rugby 2004 Imperialism Rugby Racing Hero The Saboteur Formula One Championship Edition EA Sports F1 2001 Grand Prix Legends Medal of Honor: Vanguard Company of Heroes Battlefield 2142 Rugby Challenge 3 WRC: FIA World Rally Championship Arcade WRC: FIA World Rally Championship Call of Duty: Roads to Victory Medal of Honor: Allied Assault FIFA 15 Michael Andretti's World GP Call of Duty 2 Lords of the Realm III Virtua Tennis 2009 Race Driver: Grid Medal of Honor: Infiltrator Rock Band 2 Pro Evolution Soccer 2014 XCOM: Enemy Unknown Tekken Revolution Rugby Challenge 2 Forza Motorsport 5 Commandos 2: Men of Courage Rugby Challenge NES Open Tournament Golf Rugby 08 Tom Clancy's Splinter Cell: Chaos Theory Sly Cooper and the Thievius Raccoonus Battlefield 3 Gran Turismo 6 Tom Clancy's Splinter Cell: Essentials GTR 2 – FIA GT Racing Game Combat Mission: Beyond Overlord Robert Ludlum's The Bourne Conspiracy Darklands Pro Evolution Soccer 2015 OutRunners Euro Truck Simulator 2 Gran Turismo 5 Battlefield 1 Memento Mori Top Spin 3 WRC 4 Formula 1 Shaun White Snowboarding: World Stage Need for Speed: Porsche Unleashed The Last Express Vampire Night Broken Sword II: The Smoking Mirror Command & Conquer: Red Alert 2 Brothers in Arms 3: Sons of War Ratatouille David Wolf: Secret Agent Rugby League 2: World Cup Edition Call of Duty 3 Rugby League 2 Rugby League 3 FIFA 13 Rugby League Live 2 Command & Conquer: Red Alert Tour de France Gabriel Knight 3: Blood of the Sacred, Blood of the Damned Remember Me Out to Lunch Verdun Brothers in Arms: Road to Hill 30 Project CARS Driv3r Syberia Assassin's Creed Unity WRC: Rally Evolved Imagination Is the Only Escape Battlefield 1942 NetKar Pro Bladestorm: The Hundred Years' War Top Spin Commandos: Behind Enemy Lines Formula 1 97 Virtua Tennis: World Tour The Duel: Test Drive II Castles II: Siege and Conquest Formula One 99 Uncharted 3: Drake's Deception Medal of Honor: Airborne Art of Murder: Hunt for the Puppeteer Jeanne d'Arc Tour de France 2013: 100 Edition Death to Spies: Moment of Truth Rugby League Live 3 Call of Duty: Black Ops II Commandos 3: Destination Berlin SBK-08: Superbike World Championship Tom Clancy's Splinter Cell: Pandora Tomorrow Panzer Front Euro Truck Simulator Hitman 6 Time Twist: Rekishi no Katasumi de... Medal of Honor: Heroes 2 Grand Prix 2 Rugby League Live Formula One 2001 Formula 1 98 Forza Motorsport 3 Brothers in Arms DS Tom Clancy's Rainbow Six Siege Axis & Allies Race Pro The Mystery of the Druids Asterix Call of Duty Tekken Tag Tournament 2 Medal of Honor: European Assault Danger By Design Medal of Honor: Underground Rugby 06 GT Legends Spitfire Ace CJ's Elephant Antics Rugby World Cup 2011 Nostradamus: The Last Prophecy Formula One 06 Velvet Assassin Commandos: Strike Force FIFA 06 Big Red Racing Cruise for a Corpse Call of Duty: Modern Warfare 3 Where in the World Is Carmen Sandiego? Wings 2: Aces High Top Spin 2 Call of Duty 2: Big Red One Race – The Official WTCC Game Tom Clancy's EndWar Brothers in Arms: Earned in Blood Command & Conquer: Red Alert 3 Val d'Isère Skiing and Snowboarding The Great Escape Tony Hawk's Pro Skater 2 Medal of Honor Codename: Panzers Medal of Honor: Frontline Formula One: Built to Win Sly 2: Band of Thieves The Da Vinci Code FIFA 14
Call of Duty: Modern Warfare 3, FIFA 13 and Euro Truck Simulator 2 have their narrative set in France
Call of Duty: Modern Warfare 3 FIFA 13 Euro Truck Simulator 2
action filter_type
action find_reverse
entity France
relation narrative location
type application
[{'concept': 'application'}, 'narrative location', 'European Union–Switzerland border'] [{'concept': 'application'}, 'narrative location', 'normal zero'] [{'concept': 'application'}, 'narrative location', 'Liptako']
SELECT DISTINCT ?o WHERE { ?o property:narrative_location resource:France . ?o rdf:type ontology:application }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q3177580
P1445
Q166142 Q386724
USER
Which works were described in more number of applications than The Walking Dead ?
(c(Q386724),P1445,c(Q166142))
action greater
action find_tuple_counts
relation P1445
type Q386724
type Q166142
action count
action filter_type
action find
entity Q3177580
relation P1445
type Q386724
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q166142'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?y ) AS ?q ) WHERE { ?r property:P1445 ?y . ?r rdf:type ontology:Q386724 . ?y rdf:type ontology:Q166142 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { ?a rdf:type ontology:Q386724 . resource:Q3177580 property:P1445 ?a } } . FILTER ( ?q > ?u ) }
The Walking Dead
action greater
action find_tuple_counts
relation fictional universe described in
type work
type application
action count
action filter_type
action find
entity The Walking Dead
relation fictional universe described in
type work
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'application'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?y ) AS ?q ) WHERE { ?r property:fictional_universe_described_in ?y . ?r rdf:type ontology:work . ?y rdf:type ontology:application } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { ?a rdf:type ontology:work . resource:The_Walking_Dead property:fictional_universe_described_in ?a } } . FILTER ( ?q > ?u ) }
[]
application work
Q1203222 Q384426
SYSTEM
Shrek, Pirates of the Caribbean
Q1203222 Q384426
(c(Q386724),P1445,c(Q166142))
action greater
action find_tuple_counts
relation P1445
type Q386724
type Q166142
action count
action filter_type
action find
entity Q3177580
relation P1445
type Q386724
[ANSWERS] were described in more number of applications than The Walking Dead
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q166142'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?y ) AS ?q ) WHERE { ?r property:P1445 ?y . ?r rdf:type ontology:Q386724 . ?y rdf:type ontology:Q166142 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { ?a rdf:type ontology:Q386724 . resource:Q3177580 property:P1445 ?a } } . FILTER ( ?q > ?u ) }
Shrek Pirates of the Caribbean
Shrek and Pirates of the Caribbean were described in more number of applications than The Walking Dead
Shrek Pirates of the Caribbean
action greater
action find_tuple_counts
relation fictional universe described in
type work
type application
action count
action filter_type
action find
entity The Walking Dead
relation fictional universe described in
type work
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'application'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?y ) AS ?q ) WHERE { ?r property:fictional_universe_described_in ?y . ?r rdf:type ontology:work . ?y rdf:type ontology:application } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { ?a rdf:type ontology:work . resource:The_Walking_Dead property:fictional_universe_described_in ?a } } . FILTER ( ?q > ?u ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q11927
P1445
Q166142 Q386724
USER
And how about Stargate?
(c(Q386724),P1445,c(Q166142))
action greater
action find_tuple_counts
relation P1445
type Q386724
type Q166142
action count
action filter_type
action find
entity Q11927
relation P1445
type Q386724
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q166142'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?e ) AS ?j ) WHERE { ?l property:P1445 ?e . ?l rdf:type ontology:Q386724 . ?e rdf:type ontology:Q166142 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { resource:Q11927 property:P1445 ?y . ?y rdf:type ontology:Q386724 } } . FILTER ( ?j > ?x ) }
Stargate
action greater
action find_tuple_counts
relation fictional universe described in
type work
type application
action count
action filter_type
action find
entity Stargate
relation fictional universe described in
type work
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'application'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?e ) AS ?j ) WHERE { ?l property:fictional_universe_described_in ?e . ?l rdf:type ontology:work . ?e rdf:type ontology:application } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { resource:Stargate property:fictional_universe_described_in ?y . ?y rdf:type ontology:work } } . FILTER ( ?j > ?x ) }
[]
application work
Q1203222 Q384426
SYSTEM
Shrek, Pirates of the Caribbean
Q1203222 Q384426
(c(Q386724),P1445,c(Q166142))
action greater
action find_tuple_counts
relation P1445
type Q386724
type Q166142
action count
action filter_type
action find
entity Q11927
relation P1445
type Q386724
[ANSWERS]
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q166142'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?e ) AS ?j ) WHERE { ?l property:P1445 ?e . ?l rdf:type ontology:Q386724 . ?e rdf:type ontology:Q166142 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { resource:Q11927 property:P1445 ?y . ?y rdf:type ontology:Q386724 } } . FILTER ( ?j > ?x ) }
Shrek Pirates of the Caribbean
Shrek Pirates of the Caribbean
action greater
action find_tuple_counts
relation fictional universe described in
type work
type application
action count
action filter_type
action find
entity Stargate
relation fictional universe described in
type work
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'application'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?e ) AS ?j ) WHERE { ?l property:fictional_universe_described_in ?e . ?l rdf:type ontology:work . ?e rdf:type ontology:application } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { resource:Stargate property:fictional_universe_described_in ?y . ?y rdf:type ontology:work } } . FILTER ( ?j > ?x ) }
[]