Simple Question (Direct)
Simple Question
Q23906252
P551
Q20667921
USER
Where did Caf' Francisco reside ?
(Q23906252,P551,c(Q20667921))
action filter_type
action find
entity Q23906252
relation P551
type Q20667921
['Q23906252', 'P551', {'concept': 'Q20667921'}]
SELECT DISTINCT ?w WHERE { resource:Q23906252 property:P551 ?w . ?w rdf:type ontology:Q20667921 }
Caf' Francisco
action filter_type
action find
entity Caf' Francisco
relation residence
type type of french administrative division
["Caf' Francisco", 'residence', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?w WHERE { resource:Caf'_Francisco property:residence ?w . ?w rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q47045
SYSTEM
Saint-Denis
Q47045
(Q23906252,P551,c(Q20667921))
action filter_type
action find
entity Q23906252
relation P551
type Q20667921
Caf ' Francisco resided in [ANSWER]
['Q23906252', 'P551', {'concept': 'Q20667921'}]
SELECT DISTINCT ?w WHERE { resource:Q23906252 property:P551 ?w . ?w rdf:type ontology:Q20667921 }
Saint-Denis
Caf ' Francisco resided in Saint-Denis
Saint-Denis
action filter_type
action find
entity Caf' Francisco
relation residence
type type of french administrative division
["Caf' Francisco", 'residence', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?w WHERE { resource:Caf'_Francisco property:residence ?w . ?w rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23906252
P21
Q290
USER
Which sex does that person have ?
(Q47045,P21,c(Q290))
action filter_type
action find
entity Q23906252
relation P21
type Q290
['Q47045', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q23906252 property:P21 ?o . ?o rdf:type ontology:Q290 }
Caf' Francisco
action filter_type
action find
entity Caf' Francisco
relation gender
type sex
['Saint-Denis', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Caf'_Francisco property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q47045,P21,c(Q290))
action filter_type
action find
entity Q23906252
relation P21
type Q290
That person has a [ANSWER]
['Q47045', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q23906252 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Caf' Francisco
relation gender
type sex
['Saint-Denis', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Caf'_Francisco property:gender ?o . ?o rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1376
Q15617994 Q20667921
USER
Which administrative territories have around 1 french administrative division as their capital ?
(c(Q20667921),P1376,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
value 1
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?b ) WHERE { ?u rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q20667921 . ?z property:P1376 ?u } GROUP BY ?u } . FILTER ( ?b = 1 ) }
action approx
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
value 1
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?b ) WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:type_of_french_administrative_division . ?z property:capital_of ?u } GROUP BY ?u } . FILTER ( ?b = 1 ) }
[]
designation for an administrative territorial entity type of french administrative division
Q12753 Q12584 Q3113
SYSTEM
Seine-et-Marne, Maine-et-Loire, Allier
Q12631 Q3368 Q3044731 Q12689 Q3377 Q3372 Q3093 Q2528268 Q12594 Q12574 Q12792 Q12700 Q12709 Q12642 Q3216 Q3194 Q12804 Q12808 Q3326 Q3286 Q3266 Q3105 Q33788 Q12740 Q12745 Q12779 Q12607 Q2281221 Q12694 Q12515 Q12517 Q3364 Q3148 Q12675 Q12589 Q12584 Q12580 Q3131 Q12788 Q12784 Q12782 Q12736 Q12657 Q12652 Q12556 Q12816 Q3353 Q3357 Q3184 Q2900529 Q1999970 Q155019 Q107426 Q12661 Q1270623 Q3125 Q3120 Q3110307 Q12722 Q12553 Q12620 Q12626 Q12543 Q12563 Q426025 Q3349 Q3083 Q3240 Q3249 Q12761 Q12765 Q3334 Q12572 Q12576 Q12578 Q12679 Q3113 Q12758 Q12753 Q12751 Q12564
(c(Q20667921),P1376,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
value 1
[ANSWERS] have around 1 french administrative division as their capital
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?b ) WHERE { ?u rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q20667921 . ?z property:P1376 ?u } GROUP BY ?u } . FILTER ( ?b = 1 ) }
Meuse Essonne Guyane Pas-de-Calais Eure-et-Loir Eure Aisne Mont-Blanc Marne Loiret Vaucluse Hautes-Pyrénées Pyrénées-Orientales Morbihan Aveyron Aube Vienne Haute-Vienne Corrèze Cher Charente Vosges New Caledonia Sarthe Savoie Tarn-et-Garonne Haute-Marne Principality of Orange Puy-de-Dôme Gard Gers Drôme Ardèche Oise Manche Maine-et-Loire Lozère Alpes-de-Haute-Provence Val-de-Marne Val-d'Oise Territoire de Belfort Saône-et-Loire Nièvre Moselle Indre-et-Loire Yonne Creuse Dordogne Ariège Bezirk Lothringen Upper Alsace Duchy of Lorraine Anjou Nord Meurthe Hautes-Alpes Jura Golo Haut-Rhin Indre Mayenne Meurthe-et-Moselle Hauts-de-Seine Landes Duchy of Savoy Côtes-d'Armor Ain Bouches-du-Rhône Calvados Seine-Saint-Denis Deux-Sèvres Haute-Corse Haute-Loire Lot Lot-et-Garonne Orne Allier Seine-Maritime Seine-et-Marne Haute-Savoie Loir-et-Cher
Seine-et-Marne, Maine-et-Loire and Allier have around 1 french administrative division as their capital
Seine-et-Marne Maine-et-Loire Allier
action approx
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
value 1
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?b ) WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:type_of_french_administrative_division . ?z property:capital_of ?u } GROUP BY ?u } . FILTER ( ?b = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q267878 Q3113
P47 P190
Q20667921
USER
Which french administrative divisions are the sister cities of Allier or share border with Tancrou ?
OR((Q3113,P190,c(Q20667921)), (Q267878,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q3113
relation P190
action find
entity Q267878
relation P47
type Q20667921
{'OR': [['Q3113', 'P190', {'concept': 'Q20667921'}], ['Q267878', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q3113 property:P190 ?o } UNION { resource:Q267878 property:P47 ?o } } . ?o rdf:type ontology:Q20667921 }
Tancrou Allier
action filter_type
action union
action find
entity Allier
relation sister city
action find
entity Tancrou
relation shares border with
type type of french administrative division
{'OR': [['Allier', 'sister city', {'concept': 'type of french administrative division'}], ['Tancrou', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Allier property:sister_city ?o } UNION { resource:Tancrou property:shares_border_with ?o } } . ?o rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q948326 Q321502 Q271170 Q1461046 Q274263 Q254243 Q1416661 Q530726
SYSTEM
Jaignes, Cusset, Ocquerre, Isles-les-Meldeuses, Armentières-en-Brie, Mary-sur-Marne, Chamigny, Cocherel
Q948326 Q321502 Q271170 Q1461046 Q274263 Q254243 Q1416661 Q530726
OR((Q3113,P190,c(Q20667921)), (Q267878,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q3113
relation P190
action find
entity Q267878
relation P47
type Q20667921
[ANSWERS] are the sister cities of Allier or share border with Tancrou
{'OR': [['Q3113', 'P190', {'concept': 'Q20667921'}], ['Q267878', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q3113 property:P190 ?o } UNION { resource:Q267878 property:P47 ?o } } . ?o rdf:type ontology:Q20667921 }
Jaignes Cusset Ocquerre Isles-les-Meldeuses Armentières-en-Brie Mary-sur-Marne Chamigny Cocherel
Jaignes, Cusset, Ocquerre, Isles-les-Meldeuses, Armentières-en-Brie, Mary-sur-Marne, Chamigny and Cocherel are the sister cities of Allier or share border with Tancrou
Jaignes Cusset Ocquerre Isles-les-Meldeuses Armentières-en-Brie Mary-sur-Marne Chamigny Cocherel
action filter_type
action union
action find
entity Allier
relation sister city
action find
entity Tancrou
relation shares border with
type type of french administrative division
{'OR': [['Allier', 'sister city', {'concept': 'type of french administrative division'}], ['Tancrou', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Allier property:sister_city ?o } UNION { resource:Tancrou property:shares_border_with ?o } } . ?o rdf:type ontology:type_of_french_administrative_division }
[]
Clarification
Simple Question|Single Entity|Indirect
Q948326
P17
Q15617994
USER
Which administrative territory does that french administrative division belong to ?
(Q948326,P17,c(Q15617994))
action filter_type
action find
entity Q948326
relation P17
type Q15617994
['Q948326', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q948326 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Jaignes
action filter_type
action find
entity Jaignes
relation country
type designation for an administrative territorial entity
['Jaignes', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Jaignes property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q271170
SYSTEM
Did you mean Ocquerre ?
Q948326 Q321502 Q271170 Q1461046 Q274263 Q254243 Q1416661 Q530726
(Q948326,P17,c(Q15617994)) (Q321502,P17,c(Q15617994)) (Q271170,P17,c(Q15617994)) (Q1461046,P17,c(Q15617994)) (Q274263,P17,c(Q15617994)) (Q254243,P17,c(Q15617994)) (Q1416661,P17,c(Q15617994)) (Q530726,P17,c(Q15617994))
[ANSWER]
['Q948326', 'P17', {'concept': 'Q15617994'}] ['Q321502', 'P17', {'concept': 'Q15617994'}] ['Q271170', 'P17', {'concept': 'Q15617994'}] ['Q1461046', 'P17', {'concept': 'Q15617994'}] ['Q274263', 'P17', {'concept': 'Q15617994'}] ['Q254243', 'P17', {'concept': 'Q15617994'}] ['Q1416661', 'P17', {'concept': 'Q15617994'}] ['Q530726', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q948326 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Jaignes Cusset Ocquerre Isles-les-Meldeuses Armentières-en-Brie Mary-sur-Marne Chamigny Cocherel
Did you mean Ocquerre ?
Ocquerre
['Jaignes', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Cusset', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Ocquerre', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Isles-les-Meldeuses', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Armentières-en-Brie', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Mary-sur-Marne', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Chamigny', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Cocherel', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Jaignes property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Jaignes. Could you tell me the answer for that?
(Q948326,P17,c(Q15617994))
Q948326
['Q948326', 'P17', {'concept': 'Q15617994'}]
['Jaignes', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q142
SYSTEM
France
Q142
(Q948326,P17,c(Q15617994))
action filter_type
action find
entity Q948326
relation P17
type Q15617994
That french administrative division belongs to the [ANSWER]
['Q948326', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q948326 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
France
That french administrative division belongs to the France
France
action filter_type
action find
entity Jaignes
relation country
type designation for an administrative territorial entity
['Jaignes', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Jaignes property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P35
Q502895
USER
How many people are the heads of state of that administrative territory ?
(Q142,P35,c(Q502895))
action count
action filter_type
action find
entity Q142
relation P35
type Q502895
['Q142', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { ?f rdf:type ontology:Q502895 . resource:Q142 property:P35 ?f }
action count
action filter_type
action find
entity France
relation head of state
type common name
['France', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { ?f rdf:type ontology:common_name . resource:France property:head_of_state ?f }
[]
common name
SYSTEM
8
Q2105 Q2038 Q157 Q329 Q2042 Q12950 Q2185 Q2124
(Q142,P35,c(Q502895))
action count
action filter_type
action find
entity Q142
relation P35
type Q502895
[ANSWER]
['Q142', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { ?f rdf:type ontology:Q502895 . resource:Q142 property:P35 ?f }
Jacques Chirac François Mitterrand François Hollande Nicolas Sarkozy Charles de Gaulle Alain Poher Georges Pompidou Valéry Giscard d'Estaing
8
action count
action filter_type
action find
entity France
relation head of state
type common name
['France', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { ?f rdf:type ontology:common_name . resource:France property:head_of_state ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P189
Q79529
USER
Which chemical substance was discovered at France ?
(c(Q79529),P189,Q142)
action filter_type
action find_reverse
entity Q142
relation P189
type Q79529
[{'concept': 'Q79529'}, 'P189', 'Q142']
SELECT DISTINCT ?h WHERE { ?h property:P189 resource:Q142 . ?h rdf:type ontology:Q79529 }
France
action filter_type
action find_reverse
entity France
relation location of discovery
type chemical substance
[{'concept': 'chemical substance'}, 'location of discovery', 'France']
SELECT DISTINCT ?h WHERE { ?h property:location_of_discovery resource:France . ?h rdf:type ontology:chemical_substance }
[]
chemical substance
Q671
SYSTEM
francium
Q671
(c(Q79529),P189,Q142)
action filter_type
action find_reverse
entity Q142
relation P189
type Q79529
[ANSWER] was discovered at France
[{'concept': 'Q79529'}, 'P189', 'Q142']
SELECT DISTINCT ?h WHERE { ?h property:P189 resource:Q142 . ?h rdf:type ontology:Q79529 }
francium
Francium was discovered at France
francium
action filter_type
action find_reverse
entity France
relation location of discovery
type chemical substance
[{'concept': 'chemical substance'}, 'location of discovery', 'France']
SELECT DISTINCT ?h WHERE { ?h property:location_of_discovery resource:France . ?h rdf:type ontology:chemical_substance }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P937
Q502895
USER
Which people have France as work location ?
(c(Q502895),P937,Q142)
action filter_type
action find_reverse
entity Q142
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q142']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P937 resource:Q142 }
France
action filter_type
action find_reverse
entity France
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'France']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:work_location resource:France }
[]
common name
Q236293 Q17479789 Q923557
SYSTEM
Marie of France, Countess of Champagne, Vicente Urrabieta, Nicolas Baudeau
Q17479789 Q320741 Q222757 Q3301629 Q21288886 Q18599223 Q236293 Q3027537 Q923557
(c(Q502895),P937,Q142)
action filter_type
action find_reverse
entity Q142
relation P937
type Q502895
[ANSWERS] have France as work location
[{'concept': 'Q502895'}, 'P937', 'Q142']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P937 resource:Q142 }
Vicente Urrabieta Edward Molyneux Jacques Bretel Mauricius Francois Habert Felicia Meyer Marsh Marie of France, Countess of Champagne Dietrich-Mohr Nicolas Baudeau
Marie of France, Countess of Champagne, Vicente Urrabieta and Nicolas Baudeau have France as work location
Marie of France, Countess of Champagne Vicente Urrabieta Nicolas Baudeau
action filter_type
action find_reverse
entity France
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'France']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:work_location resource:France }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q236293 Q17479789 Q923557
P27
Q15617994
USER
Which administrative territories are those people an inhabitant of ?
(Q236293,P27,c(Q15617994)) (Q17479789,P27,c(Q15617994)) (Q923557,P27,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P27
type Q15617994
['Q236293', 'P27', {'concept': 'Q15617994'}] ['Q17479789', 'P27', {'concept': 'Q15617994'}] ['Q923557', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?x property:P27 ?v . ?v rdf:type ontology:Q15617994 . VALUES ( ?x ) { ( resource:Q17479789 ) ( resource:Q320741 ) ( resource:Q222757 ) } }
Marie of France, Countess of Champagne Vicente Urrabieta Nicolas Baudeau
action filter_type
action find
entity prev_answer
relation country of citizenship
type designation for an administrative territorial entity
['Marie of France, Countess of Champagne', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Vicente Urrabieta', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Nicolas Baudeau', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?x property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?x ) { ( resource:Vicente_Urrabieta ) ( resource:Edward_Molyneux ) ( resource:Jacques_Bretel ) } }
[]
designation for an administrative territorial entity
Q142 Q29 Q142
SYSTEM
France for 1st, 3rd, Spain for 2nd
Q142 Q29 Q142
(Q236293,P27,c(Q15617994)) (Q17479789,P27,c(Q15617994)) (Q923557,P27,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P27
type Q15617994
[ANSWERS]
['Q236293', 'P27', {'concept': 'Q15617994'}] ['Q17479789', 'P27', {'concept': 'Q15617994'}] ['Q923557', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?x property:P27 ?v . ?v rdf:type ontology:Q15617994 . VALUES ( ?x ) { ( resource:Q17479789 ) ( resource:Q320741 ) ( resource:Q222757 ) } }
France Spain France
France, Spain and France are those people an inhabitant of
France Spain France
action filter_type
action find
entity prev_answer
relation country of citizenship
type designation for an administrative territorial entity
['Marie of France, Countess of Champagne', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Vicente Urrabieta', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Nicolas Baudeau', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?x property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?x ) { ( resource:Vicente_Urrabieta ) ( resource:Edward_Molyneux ) ( resource:Jacques_Bretel ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P921
Q15416
USER
Which television program has France as its main topic ?
(c(Q15416),P921,Q142)
action filter_type
action find_reverse
entity Q142
relation P921
type Q15416
[{'concept': 'Q15416'}, 'P921', 'Q142']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15416 . ?o property:P921 resource:Q142 }
France
action filter_type
action find_reverse
entity France
relation main subject
type television program
[{'concept': 'television program'}, 'main subject', 'France']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:television_program . ?o property:main_subject resource:France }
[]
television program
Q3194552
SYSTEM
Contes et Légendes de France
Q3194552
(c(Q15416),P921,Q142)
action filter_type
action find_reverse
entity Q142
relation P921
type Q15416
[ANSWER] has France as its main topic
[{'concept': 'Q15416'}, 'P921', 'Q142']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15416 . ?o property:P921 resource:Q142 }
Contes et Légendes de France
Contes et Légendes de France has France as its main topic
Contes et Légendes de France
action filter_type
action find_reverse
entity France
relation main subject
type television program
[{'concept': 'television program'}, 'main subject', 'France']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:television_program . ?o property:main_subject resource:France }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P530
Q15617994
USER
Which administrative territories have diplomatic associations with that one ?
(c(Q15617994),P530,Q3194552)
action filter_type
action find_reverse
entity Q142
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q3194552']
SELECT DISTINCT ?y WHERE { ?y property:P530 resource:Q142 . ?y rdf:type ontology:Q15617994 }
France
action filter_type
action find_reverse
entity France
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Contes et Légendes de France']
SELECT DISTINCT ?y WHERE { ?y property:diplomatic_relation resource:France . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q155 Q159
SYSTEM
Italy, Brazil, Russia
Q948 Q711 Q222 Q801 Q145 Q155 Q1011 Q27 Q225 Q228 Q32 Q17 Q399 Q929 Q403 Q159 Q38 Q184
(c(Q15617994),P530,Q3194552)
action filter_type
action find_reverse
entity Q142
relation P530
type Q15617994
[ANSWERS] have diplomatic associations with that one
[{'concept': 'Q15617994'}, 'P530', 'Q3194552']
SELECT DISTINCT ?y WHERE { ?y property:P530 resource:Q142 . ?y rdf:type ontology:Q15617994 }
Tunisia Mongolia Albania Israel United Kingdom Brazil Cape Verde Ireland Bosnia and Herzegovina Andorra Luxembourg Japan Armenia Central African Republic Serbia Russia Italy Belarus
Italy, Brazil and Russia have diplomatic associations with that one
Italy Brazil Russia
action filter_type
action find_reverse
entity France
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Contes et Légendes de France']
SELECT DISTINCT ?y WHERE { ?y property:diplomatic_relation resource:France . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q17479789
P21 P22
Q502895
USER
Which people are the offspring of Vicente Urrabieta and have male as the sex ?
AND((c(Q502895),P22,Q17479789), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q17479789
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q17479789'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?i WHERE { ?i property:P22 resource:Q17479789 . ?i property:P21 resource:Q6581097 . ?i rdf:type ontology:Q502895 }
male Vicente Urrabieta
action filter_type
action intersection
action find_reverse
entity Vicente Urrabieta
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Vicente Urrabieta'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?i WHERE { ?i property:father resource:Vicente_Urrabieta . ?i property:gender resource:male . ?i rdf:type ontology:common_name }
[]
common name
Q17479510 Q627132
SYSTEM
Samuel Urrabieta, Daniel Vierge
Q17479510 Q627132
AND((c(Q502895),P22,Q17479789), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q17479789
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] are the offspring of Vicente Urrabieta and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q17479789'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?i WHERE { ?i property:P22 resource:Q17479789 . ?i property:P21 resource:Q6581097 . ?i rdf:type ontology:Q502895 }
Samuel Urrabieta Daniel Vierge
Samuel Urrabieta and Daniel Vierge are the offspring of Vicente Urrabieta and have male as the sex
Samuel Urrabieta Daniel Vierge
action filter_type
action intersection
action find_reverse
entity Vicente Urrabieta
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Vicente Urrabieta'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?i WHERE { ?i property:father resource:Vicente_Urrabieta . ?i property:gender resource:male . ?i rdf:type ontology:common_name }
[]