Simple Question (Direct)
Simple Question
Q2853978
P22
Q502895
USER
Which person was the father of Antoine Gavini ?
(Q2853978,P22,c(Q502895))
action filter_type
action find
entity Q2853978
relation P22
type Q502895
['Q2853978', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q2853978 property:P22 ?y . ?y rdf:type ontology:Q502895 }
Antoine Gavini
action filter_type
action find
entity Antoine Gavini
relation father
type common name
['Antoine Gavini', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Antoine_Gavini property:father ?y . ?y rdf:type ontology:common_name }
[]
common name
Q3470922
SYSTEM
Sampiero Gavini
Q3470922
(Q2853978,P22,c(Q502895))
action filter_type
action find
entity Q2853978
relation P22
type Q502895
[ANSWER] was the father of Antoine Gavini
['Q2853978', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q2853978 property:P22 ?y . ?y rdf:type ontology:Q502895 }
Sampiero Gavini
Sampiero Gavini was the father of Antoine Gavini
Sampiero Gavini
action filter_type
action find
entity Antoine Gavini
relation father
type common name
['Antoine Gavini', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Antoine_Gavini property:father ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3470922
P7
Q502895
USER
Which person has that one as their brother ?
(c(Q502895),P7,Q3470922)
action filter_type
action find
entity Q3470922
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q3470922']
SELECT DISTINCT ?f WHERE { resource:Q3470922 property:P7 ?f . ?f rdf:type ontology:Q502895 }
Sampiero Gavini
action filter_type
action find
entity Sampiero Gavini
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Sampiero Gavini']
SELECT DISTINCT ?f WHERE { resource:Sampiero_Gavini property:brother ?f . ?f rdf:type ontology:common_name }
[]
common name
Q3022696
SYSTEM
Denis Gavini
Q3022696
(c(Q502895),P7,Q3470922)
action filter_type
action find
entity Q3470922
relation P7
type Q502895
[ANSWER] has that one as their brother
[{'concept': 'Q502895'}, 'P7', 'Q3470922']
SELECT DISTINCT ?f WHERE { resource:Q3470922 property:P7 ?f . ?f rdf:type ontology:Q502895 }
Denis Gavini
Denis Gavini has that one as their brother
Denis Gavini
action filter_type
action find
entity Sampiero Gavini
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Sampiero Gavini']
SELECT DISTINCT ?f WHERE { resource:Sampiero_Gavini property:brother ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3022696
P20
Q56061
USER
Where did the expiration of that person occur ?
(Q3022696,P20,c(Q56061))
action filter_type
action find
entity Q3022696
relation P20
type Q56061
['Q3022696', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q3022696 property:P20 ?q . ?q rdf:type ontology:Q56061 }
Denis Gavini
action filter_type
action find
entity Denis Gavini
relation place of death
type administrative territorial entity
['Denis Gavini', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Denis_Gavini property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q3022696,P20,c(Q56061))
action filter_type
action find
entity Q3022696
relation P20
type Q56061
The expiration of that person occurred in [ANSWER]
['Q3022696', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q3022696 property:P20 ?q . ?q rdf:type ontology:Q56061 }
Paris
The expiration of that person occurred in Paris
Paris
action filter_type
action find
entity Denis Gavini
relation place of death
type administrative territorial entity
['Denis Gavini', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Denis_Gavini property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q90
P17
Q15617994
USER
Which administrative territory is that administrative territory situated in ?
(Q90,P17,c(Q15617994))
action filter_type
action find
entity Q90
relation P17
type Q15617994
['Q90', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q90 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Paris
action filter_type
action find
entity Paris
relation country
type designation for an administrative territorial entity
['Paris', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Paris property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q90,P17,c(Q15617994))
action filter_type
action find
entity Q90
relation P17
type Q15617994
That administrative territory is situated in [ANSWER]
['Q90', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q90 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
France
That administrative territory is situated in France
France
action filter_type
action find
entity Paris
relation country
type designation for an administrative territorial entity
['Paris', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Paris property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P941
Q15617994 Q3895768
USER
How many administrative territories were less number of fictional locations inspired by than that administrative territory ?
(c(Q3895768),P941,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P941
type Q15617994
type Q3895768
action count
action filter_type
action find_reverse
entity Q142
relation P941
type Q3895768
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?r ) WHERE { ?w property:P941 ?o . ?o rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q3895768 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { ?b property:P941 resource:Q142 . ?b rdf:type ontology:Q3895768 } } . FILTER ( ?r < ?q ) }
action count
action less
action find_reverse_tuple_counts
relation inspired by
type designation for an administrative territorial entity
type fictional location
action count
action filter_type
action find_reverse
entity France
relation inspired by
type fictional location
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?r ) WHERE { ?w property:inspired_by ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:fictional_location } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { ?b property:inspired_by resource:France . ?b rdf:type ontology:fictional_location } } . FILTER ( ?r < ?q ) }
[]
designation for an administrative territorial entity fictional location
SYSTEM
1
Q55416
(c(Q3895768),P941,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P941
type Q15617994
type Q3895768
action count
action filter_type
action find_reverse
entity Q142
relation P941
type Q3895768
[ANSWER]
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?r ) WHERE { ?w property:P941 ?o . ?o rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q3895768 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { ?b property:P941 resource:Q142 . ?b rdf:type ontology:Q3895768 } } . FILTER ( ?r < ?q ) }
Chioggia
1
action count
action less
action find_reverse_tuple_counts
relation inspired by
type designation for an administrative territorial entity
type fictional location
action count
action filter_type
action find_reverse
entity France
relation inspired by
type fictional location
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?r ) WHERE { ?w property:inspired_by ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:fictional_location } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { ?b property:inspired_by resource:France . ?b rdf:type ontology:fictional_location } } . FILTER ( ?r < ?q ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q203533 Q142
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relations with France and are Edith Bruck an inhabitant of ?
AND((Q142,P530,c(Q15617994)), (Q203533,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q142
relation P530
action find
entity Q203533
relation P27
type Q15617994
{'AND': [['Q142', 'P530', {'concept': 'Q15617994'}], ['Q203533', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { resource:Q142 property:P530 ?v . resource:Q203533 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Edith Bruck France
action filter_type
action intersection
action find
entity France
relation diplomatic relation
action find
entity Edith Bruck
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Edith Bruck', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { resource:France property:diplomatic_relation ?v . resource:Edith_Bruck property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
AND((Q142,P530,c(Q15617994)), (Q203533,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q142
relation P530
action find
entity Q203533
relation P27
type Q15617994
[ANSWER] have diplomatic relations with France and are Edith Bruck an inhabitant of
{'AND': [['Q142', 'P530', {'concept': 'Q15617994'}], ['Q203533', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { resource:Q142 property:P530 ?v . resource:Q203533 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Italy
Italy have diplomatic relations with France and are Edith Bruck an inhabitant of
Italy
action filter_type
action intersection
action find
entity France
relation diplomatic relation
action find
entity Edith Bruck
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Edith Bruck', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { resource:France property:diplomatic_relation ?v . resource:Edith_Bruck property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P530
Q15617994
USER
How many administrative territories have diplomatic relationships with that administrative territory ?
(Q38,P530,c(Q15617994))
action count
action filter_type
action find
entity Q38
relation P530
type Q15617994
['Q38', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { resource:Q38 property:P530 ?g . ?g rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { resource:Italy property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
74
Q739 Q805 Q801 Q189 Q843 Q928 Q184 Q822 Q419 Q668 Q347 Q414 Q142 Q225 Q224 Q55 Q222 Q221 Q145 Q148 Q96 Q17 Q229 Q228 Q33 Q32 Q31 Q37 Q36 Q34 Q77 Q39 Q1016 Q227 Q215 Q79 Q191 Q733 Q948 Q869 Q298 Q45 Q252 Q30 Q399 Q403 Q230 Q233 Q258 Q43 Q212 Q213 Q236 Q211 Q159 Q217 Q214 Q41 Q155 Q218 Q219 Q238 Q796 Q794 Q20 Q1045 Q889 Q27 Q28 Q29 Q884 Q423 Q881 Q114
(Q38,P530,c(Q15617994))
action count
action filter_type
action find
entity Q38
relation P530
type Q15617994
[ANSWER]
['Q38', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { resource:Q38 property:P530 ?g . ?g rdf:type ontology:Q15617994 }
Colombia Yemen Israel Iceland Pakistan Philippines Belarus Lebanon Peru India Liechtenstein Argentina France Bosnia and Herzegovina Croatia Netherlands Albania Republic of Macedonia United Kingdom People's Republic of China Mexico Japan Cyprus Andorra Finland Luxembourg Belgium Lithuania Poland Sweden Uruguay Switzerland Libya Azerbaijan Slovenia Egypt Estonia Paraguay Tunisia Thailand Chile Portugal Indonesia United States of America Armenia Serbia Georgia Malta South Africa Turkey Ukraine Czech Republic Montenegro Latvia Russia Republic of Moldova Slovakia Greece Brazil Romania Bulgaria San Marino Iraq Iran Norway Somalia Afghanistan Ireland Hungary Spain South Korea North Korea Vietnam Kenya
74
action count
action filter_type
action find
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { resource:Italy property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]