Simple Question (Direct)
Simple Question
Q3085673
P27
Q15617994
USER
Which administrative territory is François Reichenbach a civilian of ?
(Q3085673,P27,c(Q15617994))
action filter_type
action find
entity Q3085673
relation P27
type Q15617994
['Q3085673', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q3085673 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
François Reichenbach
action filter_type
action find
entity François Reichenbach
relation country of citizenship
type designation for an administrative territorial entity
['François Reichenbach', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:François_Reichenbach property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3085673,P27,c(Q15617994))
action filter_type
action find
entity Q3085673
relation P27
type Q15617994
Which administrative territory is François Reichenbach a civilian of
['Q3085673', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q3085673 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
France
Which administrative territory is François Reichenbach a civilian of
France
action filter_type
action find
entity François Reichenbach
relation country of citizenship
type designation for an administrative territorial entity
['François Reichenbach', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:François_Reichenbach property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3085673
P344
Q838948
USER
Which work of art has François Reichenbach as the director of photography ?
(c(Q838948),P344,Q3085673)
action filter_type
action find_reverse
entity Q3085673
relation P344
type Q838948
[{'concept': 'Q838948'}, 'P344', 'Q3085673']
SELECT DISTINCT ?b WHERE { ?b property:P344 resource:Q3085673 . ?b rdf:type ontology:Q838948 }
François Reichenbach
action filter_type
action find_reverse
entity François Reichenbach
relation director of photography
type work of art
[{'concept': 'work of art'}, 'director of photography', 'François Reichenbach']
SELECT DISTINCT ?b WHERE { ?b property:director_of_photography resource:François_Reichenbach . ?b rdf:type ontology:work_of_art }
[]
work of art
Q3548518
SYSTEM
The Winner
Q3548518
(c(Q838948),P344,Q3085673)
action filter_type
action find_reverse
entity Q3085673
relation P344
type Q838948
[ANSWER] has François Reichenbach as the director of photography
[{'concept': 'Q838948'}, 'P344', 'Q3085673']
SELECT DISTINCT ?b WHERE { ?b property:P344 resource:Q3085673 . ?b rdf:type ontology:Q838948 }
The Winner
The Winner has François Reichenbach as the director of photography
The Winner
action filter_type
action find_reverse
entity François Reichenbach
relation director of photography
type work of art
[{'concept': 'work of art'}, 'director of photography', 'François Reichenbach']
SELECT DISTINCT ?b WHERE { ?b property:director_of_photography resource:François_Reichenbach . ?b rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3085673
P162
Q838948
USER
Which work of art created that person ?
(c(Q838948),P162,Q3548518)
action filter_type
action find_reverse
entity Q3085673
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q3548518']
SELECT DISTINCT ?m WHERE { ?m property:P162 resource:Q3085673 . ?m rdf:type ontology:Q838948 }
François Reichenbach
action filter_type
action find_reverse
entity François Reichenbach
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'The Winner']
SELECT DISTINCT ?m WHERE { ?m property:producer resource:François_Reichenbach . ?m rdf:type ontology:work_of_art }
[]
work of art
Q2251852
SYSTEM
F for Fake
Q2251852
(c(Q838948),P162,Q3548518)
action filter_type
action find_reverse
entity Q3085673
relation P162
type Q838948
[ANSWER] created that person
[{'concept': 'Q838948'}, 'P162', 'Q3548518']
SELECT DISTINCT ?m WHERE { ?m property:P162 resource:Q3085673 . ?m rdf:type ontology:Q838948 }
F for Fake
F for Fake created that person
F for Fake
action filter_type
action find_reverse
entity François Reichenbach
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'The Winner']
SELECT DISTINCT ?m WHERE { ?m property:producer resource:François_Reichenbach . ?m rdf:type ontology:work_of_art }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q2251852 Q18686059 Q534601
P161
Q502895
USER
Does that work of art stars Chris Ernesto and Jean-Pierre Aumont as actor ?
(Q2251852,P161,Q18686059) (Q2251852,P161,Q534601)
action is_in
entity Q2251852
action intersection
action find_reverse
entity Q18686059
relation P161
action find_reverse
entity Q534601
relation P161
['Q2251852', 'P161', 'Q18686059'] ['Q2251852', 'P161', 'Q534601']
ASK WHERE { resource:Q2251852 property:P161 resource:Q18686059 . resource:Q2251852 property:P161 resource:Q534601 }
F for Fake Chris Ernesto Jean-Pierre Aumont
action is_in
entity F for Fake
action intersection
action find_reverse
entity Chris Ernesto
relation cast member
action find_reverse
entity Jean-Pierre Aumont
relation cast member
['F for Fake', 'cast member', 'Chris Ernesto'] ['F for Fake', 'cast member', 'Jean-Pierre Aumont']
ASK WHERE { resource:F_for_Fake property:cast_member resource:Chris_Ernesto . resource:F_for_Fake property:cast_member resource:Jean-Pierre_Aumont }
[]
common name
SYSTEM
NO and YES respectively
(Q2251852,P161,Q18686059) (Q2251852,P161,Q534601)
action is_in
entity Q2251852
action intersection
action find_reverse
entity Q18686059
relation P161
action find_reverse
entity Q534601
relation P161
[ANSWER]
['Q2251852', 'P161', 'Q18686059'] ['Q2251852', 'P161', 'Q534601']
ASK WHERE { resource:Q2251852 property:P161 resource:Q18686059 . resource:Q2251852 property:P161 resource:Q534601 }
NO and YES respectively
action is_in
entity F for Fake
action intersection
action find_reverse
entity Chris Ernesto
relation cast member
action find_reverse
entity Jean-Pierre Aumont
relation cast member
['F for Fake', 'cast member', 'Chris Ernesto'] ['F for Fake', 'cast member', 'Jean-Pierre Aumont']
ASK WHERE { resource:F_for_Fake property:cast_member resource:Chris_Ernesto . resource:F_for_Fake property:cast_member resource:Jean-Pierre_Aumont }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6706806 Q3085673
P19
Q56061
USER
Which administrative territories were François Reichenbach or Luís Machado born ?
OR((Q3085673,P19,c(Q56061)), (Q6706806,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3085673
relation P19
action find
entity Q6706806
relation P19
type Q56061
{'OR': [['Q3085673', 'P19', {'concept': 'Q56061'}], ['Q6706806', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q3085673 property:P19 ?j } UNION { resource:Q6706806 property:P19 ?j } } . ?j rdf:type ontology:Q56061 }
Luís Machado François Reichenbach
action filter_type
action union
action find
entity François Reichenbach
relation place of birth
action find
entity Luís Machado
relation place of birth
type administrative territorial entity
{'OR': [['François Reichenbach', 'place of birth', {'concept': 'administrative territorial entity'}], ['Luís Machado', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:François_Reichenbach property:place_of_birth ?j } UNION { resource:Luís_Machado property:place_of_birth ?j } } . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90 Q117591
SYSTEM
Paris, Lamego Municipality
Q90 Q117591
OR((Q3085673,P19,c(Q56061)), (Q6706806,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3085673
relation P19
action find
entity Q6706806
relation P19
type Q56061
François Reichenbach or Luís Machado were born in [ANSWERS]
{'OR': [['Q3085673', 'P19', {'concept': 'Q56061'}], ['Q6706806', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q3085673 property:P19 ?j } UNION { resource:Q6706806 property:P19 ?j } } . ?j rdf:type ontology:Q56061 }
Paris Lamego Municipality
François Reichenbach or Luís Machado were born in Paris and Lamego Municipality
Paris Lamego Municipality
action filter_type
action union
action find
entity François Reichenbach
relation place of birth
action find
entity Luís Machado
relation place of birth
type administrative territorial entity
{'OR': [['François Reichenbach', 'place of birth', {'concept': 'administrative territorial entity'}], ['Luís Machado', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:François_Reichenbach property:place_of_birth ?j } UNION { resource:Luís_Machado property:place_of_birth ?j } } . ?j rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q90
P1071
Q2342494 Q838948
USER
How many collectables and works of art have Paris as their final place of assembly ?
(c(Q2342494),P1071,Q90) (c(Q838948),P1071,Q90)
action count
action union
action filter_type
action find_reverse
entity Q90
relation P1071
type Q2342494
action filter_type
action find_reverse
entity Q90
relation P1071
type Q838948
[{'concept': 'Q2342494'}, 'P1071', 'Q90'] [{'concept': 'Q838948'}, 'P1071', 'Q90']
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { ?f rdf:type ?t . VALUES ( ?t ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } }
Paris
action count
action union
action filter_type
action find_reverse
entity Paris
relation location of final assembly
type collectable
action filter_type
action find_reverse
entity Paris
relation location of final assembly
type work of art
[{'concept': 'collectable'}, 'location of final assembly', 'Paris'] [{'concept': 'work of art'}, 'location of final assembly', 'Paris']
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { ?f rdf:type ?t . VALUES ( ?t ) { ( ontology:collectable ) ( ontology:work_of_art ) } }
[]
collectable work of art
SYSTEM
2 collectables and 1 works of art
Q3470980 Q3555769 Q3407284
(c(Q2342494),P1071,Q90) (c(Q838948),P1071,Q90)
action count
action union
action filter_type
action find_reverse
entity Q90
relation P1071
type Q2342494
action filter_type
action find_reverse
entity Q90
relation P1071
type Q838948
[ANSWER]
[{'concept': 'Q2342494'}, 'P1071', 'Q90'] [{'concept': 'Q838948'}, 'P1071', 'Q90']
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { ?f rdf:type ?t . VALUES ( ?t ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } }
Bons baisers de Nouvelle-France ou Petits jeux (de société) pour rêveurs du dimanche Vercingétorix Correspondance
2 collectables and 1 works of art
action count
action union
action filter_type
action find_reverse
entity Paris
relation location of final assembly
type collectable
action filter_type
action find_reverse
entity Paris
relation location of final assembly
type work of art
[{'concept': 'collectable'}, 'location of final assembly', 'Paris'] [{'concept': 'work of art'}, 'location of final assembly', 'Paris']
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { ?f rdf:type ?t . VALUES ( ?t ) { ( ontology:collectable ) ( ontology:work_of_art ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P291
Q56061 Q2342494 Q1002697
USER
Which administrative territories were around 34 collectables or periodical literatures published ?
(c(Q2342494)|c(Q1002697),P291,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
value 34
[[{'concept': 'Q2342494'}, {'concept': 'Q1002697'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?v ) WHERE { ?n rdf:type ?k . VALUES ( ?k ) { ( ontology:Q2342494 ) ( ontology:Q1002697 ) } } GROUP BY ?j } . FILTER ( ?v = 34 ) }
action approx
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
value 34
[[{'concept': 'collectable'}, {'concept': 'periodical literature'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?v ) WHERE { ?n rdf:type ?k . VALUES ( ?k ) { ( ontology:collectable ) ( ontology:periodical_literature ) } } GROUP BY ?j } . FILTER ( ?v = 34 ) }
[]
administrative territorial entity collectable periodical literature
Q1085 Q649 Q490
SYSTEM
Prague, Moscow, Milan
Q25286 Q3150 Q8692 Q586 Q1289 Q8851 Q1757 Q1754 Q1022 Q99151 Q3992 Q12892 Q365 Q12411 Q8818 Q11125 Q8810 Q1489 Q490 Q23436 Q1490 Q239 Q8686 Q3130 Q1297 Q1748 Q49111 Q71 Q270 Q15678 Q1781 Q14314 Q5092 Q12225 Q220 Q342 Q10282 Q472 Q569661 Q1726 Q8717 Q64 Q61 Q269 Q10313 Q641 Q649 Q485329 Q15696 Q8757 Q34370 Q6441 Q100 Q81137 Q12233 Q350 Q8826 Q1085
(c(Q2342494)|c(Q1002697),P291,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
value 34
[ANSWERS] were around 34 collectables or periodical literatures published
[[{'concept': 'Q2342494'}, {'concept': 'Q1002697'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?v ) WHERE { ?n rdf:type ?k . VALUES ( ?k ) { ( ontology:Q2342494 ) ( ontology:Q1002697 ) } } GROUP BY ?j } . FILTER ( ?v = 34 ) }
Uppsala Jena Bilbao Bonn Grenoble Málaga Helsinki Stockholm Stuttgart Ourense Liège Antwerp Cologne Pontevedra Valencia Lugo Granada Mexico City Milan Edinburgh Tokyo Brussels Shanghai Sydney Chicago Copenhagen Cambridge Geneva Warsaw Cáceres Budapest Santiago de Compostela Baltimore Murcia Rome Quimper Pamplona Sofia Königstein im Taunus Munich Seville Berlin Washington, D.C. Tashkent Donostia/San Sebastián Venice Moscow Ferrol Zamora A Coruña Rotterdam Montpellier Boston Olomouc Santander Cambridge Palma Prague
Prague, Moscow and Milan were around 34 collectables or periodical literatures published
Prague Moscow Milan
action approx
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
value 34
[[{'concept': 'collectable'}, {'concept': 'periodical literature'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?v ) WHERE { ?n rdf:type ?k . VALUES ( ?k ) { ( ontology:collectable ) ( ontology:periodical_literature ) } } GROUP BY ?j } . FILTER ( ?v = 34 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q472
P190
Q56061
USER
Are Sofia partner town of those ones ?
(Q472,P190,Q1085) (Q472,P190,Q649) (Q472,P190,Q490)
action is_in
entity prev_answer
action find
entity Q472
relation P190
['Q472', 'P190', 'Q1085'] ['Q472', 'P190', 'Q649'] ['Q472', 'P190', 'Q490']
ASK WHERE { resource:Q472 property:P190 ?r . VALUES ( ?r ) { ( resource:Q25286 ) ( resource:Q3150 ) ( resource:Q8692 ) } }
Sofia
action is_in
entity prev_answer
action find
entity Sofia
relation sister city
['Sofia', 'sister city', 'Prague'] ['Sofia', 'sister city', 'Moscow'] ['Sofia', 'sister city', 'Milan']
ASK WHERE { resource:Sofia property:sister_city ?r . VALUES ( ?r ) { ( resource:Uppsala ) ( resource:Jena ) ( resource:Bilbao ) } }
[]
administrative territorial entity
SYSTEM
YES
(Q472,P190,Q1085) (Q472,P190,Q649) (Q472,P190,Q490)
action is_in
entity prev_answer
action find
entity Q472
relation P190
[ANSWER]
['Q472', 'P190', 'Q1085'] ['Q472', 'P190', 'Q649'] ['Q472', 'P190', 'Q490']
ASK WHERE { resource:Q472 property:P190 ?r . VALUES ( ?r ) { ( resource:Q25286 ) ( resource:Q3150 ) ( resource:Q8692 ) } }
Yes
action is_in
entity prev_answer
action find
entity Sofia
relation sister city
['Sofia', 'sister city', 'Prague'] ['Sofia', 'sister city', 'Moscow'] ['Sofia', 'sister city', 'Milan']
ASK WHERE { resource:Sofia property:sister_city ?r . VALUES ( ?r ) { ( resource:Uppsala ) ( resource:Jena ) ( resource:Bilbao ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q90
P190
Q486972 Q56061
USER
How many human settlements or administrative territories are partner town of Paris ?
(c(Q486972),P190,Q90) (c(Q56061),P190,Q90)
action count
action union
action filter_type
action find_reverse
entity Q90
relation P190
type Q486972
action filter_type
action find_reverse
entity Q90
relation P190
type Q56061
[{'concept': 'Q486972'}, 'P190', 'Q90'] [{'concept': 'Q56061'}, 'P190', 'Q90']
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { ?s property:P190 resource:Q90 . ?s rdf:type ontology:Q486972 } UNION { ?s property:P190 resource:Q90 . ?s rdf:type ontology:Q56061 } }
Paris
action count
action union
action filter_type
action find_reverse
entity Paris
relation sister city
type human settlement
action filter_type
action find_reverse
entity Paris
relation sister city
type administrative territorial entity
[{'concept': 'human settlement'}, 'sister city', 'Paris'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Paris']
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { ?s property:sister_city resource:Paris . ?s rdf:type ontology:human_settlement } UNION { ?s property:sister_city resource:Paris . ?s rdf:type ontology:administrative_territorial_entity } }
[]
human settlement administrative territorial entity
SYSTEM
8
Q386991 Q220 Q612 Q1490 Q85 Q64 Q40269 Q62
(c(Q486972),P190,Q90) (c(Q56061),P190,Q90)
action count
action union
action filter_type
action find_reverse
entity Q90
relation P190
type Q486972
action filter_type
action find_reverse
entity Q90
relation P190
type Q56061
[ANSWER]
[{'concept': 'Q486972'}, 'P190', 'Q90'] [{'concept': 'Q56061'}, 'P190', 'Q90']
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { ?s property:P190 resource:Q90 . ?s rdf:type ontology:Q486972 } UNION { ?s property:P190 resource:Q90 . ?s rdf:type ontology:Q56061 } }
Torreón Rome Dubai Tokyo Cairo Berlin Porto Alegre San Francisco
8
action count
action union
action filter_type
action find_reverse
entity Paris
relation sister city
type human settlement
action filter_type
action find_reverse
entity Paris
relation sister city
type administrative territorial entity
[{'concept': 'human settlement'}, 'sister city', 'Paris'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Paris']
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { ?s property:sister_city resource:Paris . ?s rdf:type ontology:human_settlement } UNION { ?s property:sister_city resource:Paris . ?s rdf:type ontology:administrative_territorial_entity } }
[]