Simple Question (Direct)
Simple Question
Q3763724
P19
Q56061
USER
Where was Gianpaolo Incerti born ?
(Q3763724,P19,c(Q56061))
action filter_type
action find
entity Q3763724
relation P19
type Q56061
['Q3763724', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q3763724 property:P19 ?f }
Gianpaolo Incerti
action filter_type
action find
entity Gianpaolo Incerti
relation place of birth
type administrative territorial entity
['Gianpaolo Incerti', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Gianpaolo_Incerti property:place_of_birth ?f }
[]
administrative territorial entity
Q490
SYSTEM
Milan
Q490
(Q3763724,P19,c(Q56061))
action filter_type
action find
entity Q3763724
relation P19
type Q56061
Gianpaolo Incerti was born in [ANSWER]
['Q3763724', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q3763724 property:P19 ?f }
Milan
Gianpaolo Incerti was born in Milan
Milan
action filter_type
action find
entity Gianpaolo Incerti
relation place of birth
type administrative territorial entity
['Gianpaolo Incerti', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Gianpaolo_Incerti property:place_of_birth ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3763724
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q490,P27,c(Q15617994))
action filter_type
action find
entity Q3763724
relation P27
type Q15617994
['Q490', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q3763724 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Gianpaolo Incerti
action filter_type
action find
entity Gianpaolo Incerti
relation country of citizenship
type designation for an administrative territorial entity
['Milan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Gianpaolo_Incerti property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q490,P27,c(Q15617994))
action filter_type
action find
entity Q3763724
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q490', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q3763724 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Italy
The Italy is that person an inhabitant of
Italy
action filter_type
action find
entity Gianpaolo Incerti
relation country of citizenship
type designation for an administrative territorial entity
['Milan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Gianpaolo_Incerti property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q38 Q7403870
P27
Q502895
USER
Is Saleema Nawaz a citizen of that administrative territory ?
(Q7403870,P27,Q38)
action is_in
entity Q7403870
action find
entity Q38
relation P27
['Q7403870', 'P27', 'Q38']
ASK WHERE { resource:Q38 property:P27 resource:Q7403870 }
Italy Saleema Nawaz
action is_in
entity Saleema Nawaz
action find
entity Italy
relation country of citizenship
['Saleema Nawaz', 'country of citizenship', 'Italy']
ASK WHERE { resource:Italy property:country_of_citizenship resource:Saleema_Nawaz }
[]
common name
SYSTEM
NO
(Q7403870,P27,Q38)
action is_in
entity Q7403870
action find
entity Q38
relation P27
[ANSWER]
['Q7403870', 'P27', 'Q38']
ASK WHERE { resource:Q38 property:P27 resource:Q7403870 }
No
action is_in
entity Saleema Nawaz
action find
entity Italy
relation country of citizenship
['Saleema Nawaz', 'country of citizenship', 'Italy']
ASK WHERE { resource:Italy property:country_of_citizenship resource:Saleema_Nawaz }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q4648360
P608
Q1656682 Q667276 Q502895
USER
How many people were displayed at greater number of events and art exhibitions than A. S. Baylinson ?
(c(Q502895),P608,c(Q1656682)|c(Q667276))
action count
action greater
action union
action find_tuple_counts
relation P608
type Q502895
type Q1656682
action find_tuple_counts
relation P608
type Q502895
type Q667276
action count
action filter_multi_types
action find
entity Q4648360
relation P608
type Q1656682
type Q667276
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q1656682'}, {'concept': 'Q667276'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?b ) WHERE { { ?n property:P608 ?o . ?n rdf:type ontology:Q502895 . ?o rdf:type ontology:Q1656682 } UNION { ?n property:P608 ?o . ?n rdf:type ontology:Q502895 . ?o rdf:type ontology:Q667276 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { resource:Q4648360 property:P608 ?f . { { ?f rdf:type ontology:Q1656682 } UNION { ?f rdf:type ontology:Q667276 } } } } . FILTER ( ?b > ?g ) }
A. S. Baylinson
action count
action greater
action union
action find_tuple_counts
relation exhibition history
type common name
type event
action find_tuple_counts
relation exhibition history
type common name
type art exhibition
action count
action filter_multi_types
action find
entity A. S. Baylinson
relation exhibition history
type event
type art exhibition
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'event'}, {'concept': 'art exhibition'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?b ) WHERE { { ?n property:exhibition_history ?o . ?n rdf:type ontology:common_name . ?o rdf:type ontology:event } UNION { ?n property:exhibition_history ?o . ?n rdf:type ontology:common_name . ?o rdf:type ontology:art_exhibition } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { resource:A._S._Baylinson property:exhibition_history ?f . { { ?f rdf:type ontology:event } UNION { ?f rdf:type ontology:art_exhibition } } } } . FILTER ( ?b > ?g ) }
[]
event art exhibition common name
SYSTEM
9
Q17455385 Q16004451 Q16062545 Q16005428 Q1964408 Q20888837 Q22815085 Q9015308 Q3335569
(c(Q502895),P608,c(Q1656682)|c(Q667276))
action count
action greater
action union
action find_tuple_counts
relation P608
type Q502895
type Q1656682
action find_tuple_counts
relation P608
type Q502895
type Q667276
action count
action filter_multi_types
action find
entity Q4648360
relation P608
type Q1656682
type Q667276
[ANSWER]
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q1656682'}, {'concept': 'Q667276'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?b ) WHERE { { ?n property:P608 ?o . ?n rdf:type ontology:Q502895 . ?o rdf:type ontology:Q1656682 } UNION { ?n property:P608 ?o . ?n rdf:type ontology:Q502895 . ?o rdf:type ontology:Q667276 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { resource:Q4648360 property:P608 ?f . { { ?f rdf:type ontology:Q1656682 } UNION { ?f rdf:type ontology:Q667276 } } } } . FILTER ( ?b > ?g ) }
Jerry Cooke Jennifer Bolande Alice Havers Andrea Bowers Nan Hoover Angélique Bègue Georges Violet Juan Carlos Alom Nancy Elizabeth Prophet
9
action count
action greater
action union
action find_tuple_counts
relation exhibition history
type common name
type event
action find_tuple_counts
relation exhibition history
type common name
type art exhibition
action count
action filter_multi_types
action find
entity A. S. Baylinson
relation exhibition history
type event
type art exhibition
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'event'}, {'concept': 'art exhibition'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?b ) WHERE { { ?n property:exhibition_history ?o . ?n rdf:type ontology:common_name . ?o rdf:type ontology:event } UNION { ?n property:exhibition_history ?o . ?n rdf:type ontology:common_name . ?o rdf:type ontology:art_exhibition } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { resource:A._S._Baylinson property:exhibition_history ?f . { { ?f rdf:type ontology:event } UNION { ?f rdf:type ontology:art_exhibition } } } } . FILTER ( ?b > ?g ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q16121375
P608
Q1656682 Q667276 Q502895
USER
And what about Judith Lowry?
(c(Q502895),P608,c(Q1656682)|c(Q667276))
action count
action greater
action union
action find_tuple_counts
relation P608
type Q502895
type Q1656682
action find_tuple_counts
relation P608
type Q502895
type Q667276
action count
action filter_multi_types
action find
entity Q16121375
relation P608
type Q1656682
type Q667276
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q1656682'}, {'concept': 'Q667276'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) ?s WHERE { VALUES ( ?q ) { ( ontology:Q1656682 ) ( ontology:Q667276 ) } . ?w rdf:type ?q } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { resource:Q16121375 property:P608 ?y . { ?y rdf:type ?c . VALUES ( ?c ) { ( ontology:Q1656682 ) ( ontology:Q667276 ) } } } } . FILTER ( ?n > ?i ) }
Judith Lowry
action count
action greater
action union
action find_tuple_counts
relation exhibition history
type common name
type event
action find_tuple_counts
relation exhibition history
type common name
type art exhibition
action count
action filter_multi_types
action find
entity Judith Lowry
relation exhibition history
type event
type art exhibition
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'event'}, {'concept': 'art exhibition'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) ?s WHERE { VALUES ( ?q ) { ( ontology:event ) ( ontology:art_exhibition ) } . ?w rdf:type ?q } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { resource:Judith_Lowry property:exhibition_history ?y . { ?y rdf:type ?c . VALUES ( ?c ) { ( ontology:event ) ( ontology:art_exhibition ) } } } } . FILTER ( ?n > ?i ) }
[]
event art exhibition common name
SYSTEM
9
Q17455385 Q16004451 Q16062545 Q16005428 Q1964408 Q20888837 Q22815085 Q9015308 Q3335569
(c(Q502895),P608,c(Q1656682)|c(Q667276))
action count
action greater
action union
action find_tuple_counts
relation P608
type Q502895
type Q1656682
action find_tuple_counts
relation P608
type Q502895
type Q667276
action count
action filter_multi_types
action find
entity Q16121375
relation P608
type Q1656682
type Q667276
[ANSWER]
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q1656682'}, {'concept': 'Q667276'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) ?s WHERE { VALUES ( ?q ) { ( ontology:Q1656682 ) ( ontology:Q667276 ) } . ?w rdf:type ?q } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { resource:Q16121375 property:P608 ?y . { ?y rdf:type ?c . VALUES ( ?c ) { ( ontology:Q1656682 ) ( ontology:Q667276 ) } } } } . FILTER ( ?n > ?i ) }
Jerry Cooke Jennifer Bolande Alice Havers Andrea Bowers Nan Hoover Angélique Bègue Georges Violet Juan Carlos Alom Nancy Elizabeth Prophet
9
action count
action greater
action union
action find_tuple_counts
relation exhibition history
type common name
type event
action find_tuple_counts
relation exhibition history
type common name
type art exhibition
action count
action filter_multi_types
action find
entity Judith Lowry
relation exhibition history
type event
type art exhibition
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'event'}, {'concept': 'art exhibition'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) ?s WHERE { VALUES ( ?q ) { ( ontology:event ) ( ontology:art_exhibition ) } . ?w rdf:type ?q } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { resource:Judith_Lowry property:exhibition_history ?y . { ?y rdf:type ?c . VALUES ( ?c ) { ( ontology:event ) ( ontology:art_exhibition ) } } } } . FILTER ( ?n > ?i ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q38 Q733
P530
Q1048835
USER
How many political territories are known to have diplomatic connections with Italy and Paraguay ?
(c(Q1048835),P530,Q38) (c(Q1048835),P530,Q733)
action count
action intersection
action filter_type
action find_reverse
entity Q38
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q733
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q38'] [{'concept': 'Q1048835'}, 'P530', 'Q733']
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { ?n rdf:type ontology:Q1048835 . ?n property:P530 resource:Q38 . ?n rdf:type ontology:Q1048835 . ?n property:P530 resource:Q733 }
Italy Paraguay
action count
action intersection
action filter_type
action find_reverse
entity Italy
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Paraguay
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Italy'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Paraguay']
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { ?n rdf:type ontology:political_territorial_entity . ?n property:diplomatic_relation resource:Italy . ?n rdf:type ontology:political_territorial_entity . ?n property:diplomatic_relation resource:Paraguay }
[]
political territorial entity
SYSTEM
2
Q408 Q183
(c(Q1048835),P530,Q38) (c(Q1048835),P530,Q733)
action count
action intersection
action filter_type
action find_reverse
entity Q38
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q733
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q38'] [{'concept': 'Q1048835'}, 'P530', 'Q733']
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { ?n rdf:type ontology:Q1048835 . ?n property:P530 resource:Q38 . ?n rdf:type ontology:Q1048835 . ?n property:P530 resource:Q733 }
Australia Germany
2
action count
action intersection
action filter_type
action find_reverse
entity Italy
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Paraguay
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Italy'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Paraguay']
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { ?n rdf:type ontology:political_territorial_entity . ?n property:diplomatic_relation resource:Italy . ?n rdf:type ontology:political_territorial_entity . ?n property:diplomatic_relation resource:Paraguay }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q490
P1376
Q15089
USER
Which province of Italy has Milan as its capital ?
(Q490,P1376,c(Q15089))
action filter_type
action find
entity Q490
relation P1376
type Q15089
['Q490', 'P1376', {'concept': 'Q15089'}]
SELECT DISTINCT ?w WHERE { resource:Q490 property:P1376 ?w . ?w rdf:type ontology:Q15089 }
Milan
action filter_type
action find
entity Milan
relation capital of
type province of Italy
['Milan', 'capital of', {'concept': 'province of Italy'}]
SELECT DISTINCT ?w WHERE { resource:Milan property:capital_of ?w . ?w rdf:type ontology:province_of_Italy }
[]
province of Italy
Q15121
SYSTEM
Province of Milan
Q15121
(Q490,P1376,c(Q15089))
action filter_type
action find
entity Q490
relation P1376
type Q15089
[ANSWER] has Milan as its capital
['Q490', 'P1376', {'concept': 'Q15089'}]
SELECT DISTINCT ?w WHERE { resource:Q490 property:P1376 ?w . ?w rdf:type ontology:Q15089 }
Province of Milan
Province of Milan has Milan as its capital
Province of Milan
action filter_type
action find
entity Milan
relation capital of
type province of Italy
['Milan', 'capital of', {'concept': 'province of Italy'}]
SELECT DISTINCT ?w WHERE { resource:Milan property:capital_of ?w . ?w rdf:type ontology:province_of_Italy }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15121
P36
Q56061
USER
Which administrative territory is called the capital of that province of Italy ?
(Q15121,P36,c(Q56061))
action filter_type
action find
entity Q15121
relation P36
type Q56061
['Q15121', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . resource:Q15121 property:P36 ?m }
Province of Milan
action filter_type
action find
entity Province of Milan
relation capital
type administrative territorial entity
['Province of Milan', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . resource:Province_of_Milan property:capital ?m }
[]
administrative territorial entity
Q490
SYSTEM
Milan
Q490
(Q15121,P36,c(Q56061))
action filter_type
action find
entity Q15121
relation P36
type Q56061
The [ANSWER] is called the capital of that province of Italy
['Q15121', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . resource:Q15121 property:P36 ?m }
Milan
The Milan is called the capital of that province of Italy
Milan
action filter_type
action find
entity Province of Milan
relation capital
type administrative territorial entity
['Province of Milan', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . resource:Province_of_Milan property:capital ?m }
[]