Simple Question (Direct)
Simple Question
Q15109894
P1412
Q34770
USER
Which language is Eusebio Cano Pinto capable of writing ?
(Q15109894,P1412,c(Q34770))
action filter_type
action find
entity Q15109894
relation P1412
type Q34770
['Q15109894', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q15109894 property:P1412 ?a . ?a rdf:type ontology:Q34770 }
Eusebio Cano Pinto
action filter_type
action find
entity Eusebio Cano Pinto
relation languages spoken, written or signed
type language
['Eusebio Cano Pinto', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:Eusebio_Cano_Pinto property:languages_spoken,_written_or_signed ?a . ?a rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q15109894,P1412,c(Q34770))
action filter_type
action find
entity Q15109894
relation P1412
type Q34770
[ANSWER] is Eusebio Cano Pinto capable of writing
['Q15109894', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q15109894 property:P1412 ?a . ?a rdf:type ontology:Q34770 }
Spanish
Spanish is Eusebio Cano Pinto capable of writing
Spanish
action filter_type
action find
entity Eusebio Cano Pinto
relation languages spoken, written or signed
type language
['Eusebio Cano Pinto', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:Eusebio_Cano_Pinto property:languages_spoken,_written_or_signed ?a . ?a rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15109894
P39
Q12737077
USER
Which occupations were the positions occupied by that person ?
(Q1321,P39,c(Q12737077))
action filter_type
action find
entity Q15109894
relation P39
type Q12737077
['Q1321', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q15109894 property:P39 ?a . ?a rdf:type ontology:Q12737077 }
Eusebio Cano Pinto
action filter_type
action find
entity Eusebio Cano Pinto
relation position held
type occupation
['Spanish', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Eusebio_Cano_Pinto property:position_held ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q18171345 Q27169 Q1055894
SYSTEM
Member of the Congress of Deputies of Spain, member of the European Parliament, deputy
Q18171345 Q27169 Q1055894
(Q1321,P39,c(Q12737077))
action filter_type
action find
entity Q15109894
relation P39
type Q12737077
[ANSWERS] were the positions occupied by that person
['Q1321', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q15109894 property:P39 ?a . ?a rdf:type ontology:Q12737077 }
Member of the Congress of Deputies of Spain member of the European Parliament deputy
Member of the Congress of Deputies of Spain, member of the European Parliament and deputy were the positions occupied by that person
Member of the Congress of Deputies of Spain member of the European Parliament deputy
action filter_type
action find
entity Eusebio Cano Pinto
relation position held
type occupation
['Spanish', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Eusebio_Cano_Pinto property:position_held ?a . ?a rdf:type ontology:occupation }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P106
Q502895 Q6619679
USER
How many people or fictional humanoids have a job as that occupation ?
(c(Q502895),P106,Q1055894) (c(Q6619679),P106,Q1055894) (c(Q502895),P106,Q18171345) (c(Q6619679),P106,Q18171345) (c(Q502895),P106,Q27169) (c(Q6619679),P106,Q27169) (c(Q502895),P106,Q1055894) (c(Q6619679),P106,Q1055894)
[{'concept': 'Q502895'}, 'P106', 'Q1055894'] [{'concept': 'Q6619679'}, 'P106', 'Q1055894'] [{'concept': 'Q502895'}, 'P106', 'Q18171345'] [{'concept': 'Q6619679'}, 'P106', 'Q18171345'] [{'concept': 'Q502895'}, 'P106', 'Q27169'] [{'concept': 'Q6619679'}, 'P106', 'Q27169'] [{'concept': 'Q502895'}, 'P106', 'Q1055894'] [{'concept': 'Q6619679'}, 'P106', 'Q1055894']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:Q528892 resource:Q3250324 } UNION { ?y property:Q528892 resource:Q3250324 } UNION { ?z property:Q528892 resource:Q18171345 } UNION { ?y property:Q528892 resource:Q18171345 } UNION { ?z property:Q528892 resource:Q27169 } UNION { ?y property:Q528892 resource:Q27169 } UNION { ?z property:Q528892 resource:Q3250324 } UNION { ?y property:Q528892 resource:Q3250324 } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q6619679 }
[{'concept': 'common name'}, 'occupation', 'deputy'] [{'concept': 'fictional humanoid'}, 'occupation', 'deputy'] [{'concept': 'common name'}, 'occupation', 'Member of the Congress of Deputies of Spain'] [{'concept': 'fictional humanoid'}, 'occupation', 'Member of the Congress of Deputies of Spain'] [{'concept': 'common name'}, 'occupation', 'member of the European Parliament'] [{'concept': 'fictional humanoid'}, 'occupation', 'member of the European Parliament'] [{'concept': 'common name'}, 'occupation', 'deputy'] [{'concept': 'fictional humanoid'}, 'occupation', 'deputy']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:occupation resource:deputy } UNION { ?y property:occupation resource:deputy } UNION { ?z property:occupation resource:Member_of_the_Congress_of_Deputies_of_Spain } UNION { ?y property:occupation resource:Member_of_the_Congress_of_Deputies_of_Spain } UNION { ?z property:occupation resource:member_of_the_European_Parliament } UNION { ?y property:occupation resource:member_of_the_European_Parliament } UNION { ?z property:occupation resource:deputy } UNION { ?y property:occupation resource:deputy } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:fictional_humanoid }
[]
common name fictional humanoid
Quantitative|Count|Mult. entity type|Clarification
Q18171345
SYSTEM
Did you mean Member of the Congress of Deputies of Spain ?
[ANSWER]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:Q528892 resource:Q3250324 } UNION { ?y property:Q528892 resource:Q3250324 } UNION { ?z property:Q528892 resource:Q18171345 } UNION { ?y property:Q528892 resource:Q18171345 } UNION { ?z property:Q528892 resource:Q27169 } UNION { ?y property:Q528892 resource:Q27169 } UNION { ?z property:Q528892 resource:Q3250324 } UNION { ?y property:Q528892 resource:Q3250324 } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q6619679 }
Did you mean Member of the Congress of Deputies of Spain ?
Member of the Congress of Deputies of Spain
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:occupation resource:deputy } UNION { ?y property:occupation resource:deputy } UNION { ?z property:occupation resource:Member_of_the_Congress_of_Deputies_of_Spain } UNION { ?y property:occupation resource:Member_of_the_Congress_of_Deputies_of_Spain } UNION { ?z property:occupation resource:member_of_the_European_Parliament } UNION { ?y property:occupation resource:member_of_the_European_Parliament } UNION { ?z property:occupation resource:deputy } UNION { ?y property:occupation resource:deputy } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:fictional_humanoid }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant deputy. Could you tell me the answer for that?
(c(Q502895),P106,Q1055894) (c(Q6619679),P106,Q1055894) (c(Q502895),P106,Q18171345) (c(Q6619679),P106,Q18171345) (c(Q502895),P106,Q27169) (c(Q6619679),P106,Q27169) (c(Q502895),P106,Q1055894) (c(Q6619679),P106,Q1055894)
Q1055894
[{'concept': 'Q502895'}, 'P106', 'Q1055894'] [{'concept': 'Q6619679'}, 'P106', 'Q1055894'] [{'concept': 'Q502895'}, 'P106', 'Q18171345'] [{'concept': 'Q6619679'}, 'P106', 'Q18171345'] [{'concept': 'Q502895'}, 'P106', 'Q27169'] [{'concept': 'Q6619679'}, 'P106', 'Q27169'] [{'concept': 'Q502895'}, 'P106', 'Q1055894'] [{'concept': 'Q6619679'}, 'P106', 'Q1055894']
[{'concept': 'common name'}, 'occupation', 'deputy'] [{'concept': 'fictional humanoid'}, 'occupation', 'deputy'] [{'concept': 'common name'}, 'occupation', 'Member of the Congress of Deputies of Spain'] [{'concept': 'fictional humanoid'}, 'occupation', 'Member of the Congress of Deputies of Spain'] [{'concept': 'common name'}, 'occupation', 'member of the European Parliament'] [{'concept': 'fictional humanoid'}, 'occupation', 'member of the European Parliament'] [{'concept': 'common name'}, 'occupation', 'deputy'] [{'concept': 'fictional humanoid'}, 'occupation', 'deputy']
[]
SYSTEM
44
Q6173068 Q1115890 Q5947337 Q21483856 Q21282018 Q21282072 Q21965887 Q14324032 Q21282075 Q18327971 Q21282100 Q24247749 Q26721216 Q18918135 Q6753591 Q11725064 Q21282037 Q11838500 Q13635303 Q7606229 Q11940727 Q21282026 Q21282021 Q5837688 Q17478318 Q21282118 Q23636058 Q21282113 Q21282134 Q24262149 Q21282114 Q21509560 Q21694215 Q21597657 Q11814365 Q14542633 Q5883344 Q21282145 Q5937328 Q15077313 Q13635316 Q21038694 Q26721154 Q16556925
(c(Q502895),P106,Q1055894) (c(Q6619679),P106,Q1055894) (c(Q502895),P106,Q18171345) (c(Q6619679),P106,Q18171345) (c(Q502895),P106,Q27169) (c(Q6619679),P106,Q27169) (c(Q502895),P106,Q1055894) (c(Q6619679),P106,Q1055894)
[ANSWER]
[{'concept': 'Q502895'}, 'P106', 'Q1055894'] [{'concept': 'Q6619679'}, 'P106', 'Q1055894'] [{'concept': 'Q502895'}, 'P106', 'Q18171345'] [{'concept': 'Q6619679'}, 'P106', 'Q18171345'] [{'concept': 'Q502895'}, 'P106', 'Q27169'] [{'concept': 'Q6619679'}, 'P106', 'Q27169'] [{'concept': 'Q502895'}, 'P106', 'Q1055894'] [{'concept': 'Q6619679'}, 'P106', 'Q1055894']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:Q528892 resource:Q3250324 } UNION { ?y property:Q528892 resource:Q3250324 } UNION { ?z property:Q528892 resource:Q18171345 } UNION { ?y property:Q528892 resource:Q18171345 } UNION { ?z property:Q528892 resource:Q27169 } UNION { ?y property:Q528892 resource:Q27169 } UNION { ?z property:Q528892 resource:Q3250324 } UNION { ?y property:Q528892 resource:Q3250324 } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q6619679 }
Ángel Bañuelos y Rodríguez Esmail Momtaz od-Dowleh Juan Antonio Mateos Lorena Ruiz-Huerta Adam Cyrański Ewa Lieder Pierre-Marie-Athanase Babey Luis Larroque Katarzyna Lubnauer Jesús E. Valenzuela Mirosław Pampuch María Gabriela Burgos Deputy West Oscar Adolfo Mijangos López Mao Monyvann Jerzy Meysztowicz Zbigniew Gryglas Zygmunt Berdychowski Luis Apostua Stefan Pastuszewski Pedro Sodupe Corcuera Grzegorz Furgo Barbara Dolniak Escolástico Rubio Gómez José Bonifacio Vergara Correa Joanna Scheuring-Wielgus Louis-Alexis-Arsène Valette des Hermaux Monika Rosa Adam Szłapka Miguel Zavala Rodriguez Marek Ruciński Carl Fundulus Francisco Concha Castillo Zoya Bashlyaeva Paweł Rabiej Jesús López-Medel Gonzalo Yuseff Sotomayor Krzysztof Truskolaski José Adrián Pérez Blas Camacho Zancada Máximo Rodríguez Valverde Pavel Balcárek Deputy Smalls Diego Vergara Correa
44
[{'concept': 'common name'}, 'occupation', 'deputy'] [{'concept': 'fictional humanoid'}, 'occupation', 'deputy'] [{'concept': 'common name'}, 'occupation', 'Member of the Congress of Deputies of Spain'] [{'concept': 'fictional humanoid'}, 'occupation', 'Member of the Congress of Deputies of Spain'] [{'concept': 'common name'}, 'occupation', 'member of the European Parliament'] [{'concept': 'fictional humanoid'}, 'occupation', 'member of the European Parliament'] [{'concept': 'common name'}, 'occupation', 'deputy'] [{'concept': 'fictional humanoid'}, 'occupation', 'deputy']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:occupation resource:deputy } UNION { ?y property:occupation resource:deputy } UNION { ?z property:occupation resource:Member_of_the_Congress_of_Deputies_of_Spain } UNION { ?y property:occupation resource:Member_of_the_Congress_of_Deputies_of_Spain } UNION { ?z property:occupation resource:member_of_the_European_Parliament } UNION { ?y property:occupation resource:member_of_the_European_Parliament } UNION { ?z property:occupation resource:deputy } UNION { ?y property:occupation resource:deputy } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:fictional_humanoid }
[]
Logical Reasoning (All)
Logical|Difference|Single_Relation
Q1622272 Q1055894
P106
Q502895
USER
Which people have the profession of deputy but not university teacher ?
AND((c(Q502895),P106,Q1055894), NOT((c(Q502895),P106,Q1622272)))
action filter_type
action difference
action find_reverse
entity Q1055894
relation P106
action find_reverse
entity Q1622272
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q1055894'], {'NOT': [[{'concept': 'Q502895'}, 'P106', 'Q1622272']]}]}
SELECT DISTINCT ?s WHERE { ?s property:P106 resource:Q1055894 . MINUS { ?s property:P106 resource:Q1622272 } . ?s rdf:type ontology:Q502895 }
university teacher deputy
action filter_type
action difference
action find_reverse
entity deputy
relation occupation
action find_reverse
entity university teacher
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'deputy'], {'NOT': [[{'concept': 'common name'}, 'occupation', 'university teacher']]}]}
SELECT DISTINCT ?s WHERE { ?s property:occupation resource:deputy . MINUS { ?s property:occupation resource:university_teacher } . ?s rdf:type ontology:common_name }
[]
common name
Q11814365 Q21282134 Q13635316 Q21483856 Q21965887 Q1115890 Q11838500 Q21282145 Q16556925 Q14542633
SYSTEM
Some of them are Paweł Rabiej, Adam Szłapka, Máximo Rodríguez Valverde, Lorena Ruiz-Huerta, Pierre-Marie-Athanase Babey, Esmail Momtaz od-Dowleh, Zygmunt Berdychowski, Krzysztof Truskolaski, Diego Vergara Correa, Jesús López-Medel
Q6173068 Q1115890 Q5947337 Q21483856 Q21282018 Q21282072 Q21965887 Q14324032 Q21282075 Q18327971 Q21282100 Q24247749 Q6753591 Q11725064 Q21282037 Q11838500 Q13635303 Q7606229 Q11814365 Q21282026 Q21282021 Q5837688 Q17478318 Q21282118 Q23636058 Q21282113 Q21282134 Q24262149 Q21282114 Q21509560 Q21694215 Q21597657 Q14542633 Q5883344 Q21282145 Q5937328 Q15077313 Q13635316 Q21038694 Q16556925
AND((c(Q502895),P106,Q1055894), NOT((c(Q502895),P106,Q1622272)))
action filter_type
action difference
action find_reverse
entity Q1055894
relation P106
action find_reverse
entity Q1622272
relation P106
type Q502895
[ANSWERS] have the profession of deputy but not university teacher
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q1055894'], {'NOT': [[{'concept': 'Q502895'}, 'P106', 'Q1622272']]}]}
SELECT DISTINCT ?s WHERE { ?s property:P106 resource:Q1055894 . MINUS { ?s property:P106 resource:Q1622272 } . ?s rdf:type ontology:Q502895 }
Ángel Bañuelos y Rodríguez Esmail Momtaz od-Dowleh Juan Antonio Mateos Lorena Ruiz-Huerta Adam Cyrański Ewa Lieder Pierre-Marie-Athanase Babey Luis Larroque Katarzyna Lubnauer Jesús E. Valenzuela Mirosław Pampuch María Gabriela Burgos Mao Monyvann Jerzy Meysztowicz Zbigniew Gryglas Zygmunt Berdychowski Luis Apostua Stefan Pastuszewski Paweł Rabiej Grzegorz Furgo Barbara Dolniak Escolástico Rubio Gómez José Bonifacio Vergara Correa Joanna Scheuring-Wielgus Louis-Alexis-Arsène Valette des Hermaux Monika Rosa Adam Szłapka Miguel Zavala Rodriguez Marek Ruciński Carl Fundulus Francisco Concha Castillo Zoya Bashlyaeva Jesús López-Medel Gonzalo Yuseff Sotomayor Krzysztof Truskolaski José Adrián Pérez Blas Camacho Zancada Máximo Rodríguez Valverde Pavel Balcárek Diego Vergara Correa
Paweł Rabiej, Adam Szłapka, Máximo Rodríguez Valverde, Lorena Ruiz-Huerta, Pierre-Marie-Athanase Babey, Esmail Momtaz od-Dowleh, Zygmunt Berdychowski, Krzysztof Truskolaski, Diego Vergara Correa and Jesús López-Medel have the profession of deputy but not university teacher
Paweł Rabiej Adam Szłapka Máximo Rodríguez Valverde Lorena Ruiz-Huerta Pierre-Marie-Athanase Babey Esmail Momtaz od-Dowleh Zygmunt Berdychowski Krzysztof Truskolaski Diego Vergara Correa Jesús López-Medel
action filter_type
action difference
action find_reverse
entity deputy
relation occupation
action find_reverse
entity university teacher
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'deputy'], {'NOT': [[{'concept': 'common name'}, 'occupation', 'university teacher']]}]}
SELECT DISTINCT ?s WHERE { ?s property:occupation resource:deputy . MINUS { ?s property:occupation resource:university_teacher } . ?s rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P20
Q515
USER
How many cities did the expiration of that person occur ?
(Q16556925,P20,c(Q515))
['Q16556925', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q16556925 property:Q18658526 ?z . ?z rdf:type ontology:Q7930989 }
['Diego Vergara Correa', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Diego_Vergara_Correa property:place_of_death ?z . ?z rdf:type ontology:city }
[]
city
Quantitative|Count|Single entity type|Clarification
Q21965887
SYSTEM
Did you mean Pierre-Marie-Athanase Babey ?
(Q11814365,P20,c(Q515)) (Q21282134,P20,c(Q515)) (Q13635316,P20,c(Q515)) (Q21483856,P20,c(Q515)) (Q21965887,P20,c(Q515)) (Q1115890,P20,c(Q515)) (Q11838500,P20,c(Q515)) (Q21282145,P20,c(Q515)) (Q16556925,P20,c(Q515)) (Q14542633,P20,c(Q515))
[ANSWER]
['Q11814365', 'P20', {'concept': 'Q515'}] ['Q21282134', 'P20', {'concept': 'Q515'}] ['Q13635316', 'P20', {'concept': 'Q515'}] ['Q21483856', 'P20', {'concept': 'Q515'}] ['Q21965887', 'P20', {'concept': 'Q515'}] ['Q1115890', 'P20', {'concept': 'Q515'}] ['Q11838500', 'P20', {'concept': 'Q515'}] ['Q21282145', 'P20', {'concept': 'Q515'}] ['Q16556925', 'P20', {'concept': 'Q515'}] ['Q14542633', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q16556925 property:Q18658526 ?z . ?z rdf:type ontology:Q7930989 }
Did you mean Pierre-Marie-Athanase Babey ?
Pierre-Marie-Athanase Babey
['Paweł Rabiej', 'place of death', {'concept': 'city'}] ['Adam Szłapka', 'place of death', {'concept': 'city'}] ['Máximo Rodríguez Valverde', 'place of death', {'concept': 'city'}] ['Lorena Ruiz-Huerta', 'place of death', {'concept': 'city'}] ['Pierre-Marie-Athanase Babey', 'place of death', {'concept': 'city'}] ['Esmail Momtaz od-Dowleh', 'place of death', {'concept': 'city'}] ['Zygmunt Berdychowski', 'place of death', {'concept': 'city'}] ['Krzysztof Truskolaski', 'place of death', {'concept': 'city'}] ['Diego Vergara Correa', 'place of death', {'concept': 'city'}] ['Jesús López-Medel', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Diego_Vergara_Correa property:place_of_death ?z . ?z rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Diego Vergara Correa. Could you tell me the answer for that?
(Q16556925,P20,c(Q515))
Q16556925
['Q16556925', 'P20', {'concept': 'Q515'}]
['Diego Vergara Correa', 'place of death', {'concept': 'city'}]
[]
SYSTEM
1
Q2887
(Q16556925,P20,c(Q515))
[ANSWER]
['Q16556925', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q16556925 property:Q18658526 ?z . ?z rdf:type ontology:Q7930989 }
Santiago
1
['Diego Vergara Correa', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Diego_Vergara_Correa property:place_of_death ?z . ?z rdf:type ontology:city }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q2005910
P725
Q502895 Q166142
USER
How many applications did lesser number of people dub for than Metroid: Other M ?
(c(Q166142),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q166142
type Q502895
action count
action filter_type
action find
entity Q2005910
relation P725
type Q502895
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { resource:Q2005910 property:P725 ?e . ?e rdf:type ontology:Q502895 } } . FILTER ( ?o < ?k ) . { SELECT DISTINCT ?r ( COUNT ( ?f ) AS ?o ) WHERE { ?r property:P725 ?f . ?f rdf:type ontology:Q502895 . ?r rdf:type ontology:Q166142 } GROUP BY ?r } }
Metroid: Other M
action count
action less
action find_tuple_counts
relation voice actor
type application
type common name
action count
action filter_type
action find
entity Metroid: Other M
relation voice actor
type common name
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { resource:Metroid:_Other_M property:voice_actor ?e . ?e rdf:type ontology:common_name } } . FILTER ( ?o < ?k ) . { SELECT DISTINCT ?r ( COUNT ( ?f ) AS ?o ) WHERE { ?r property:voice_actor ?f . ?f rdf:type ontology:common_name . ?r rdf:type ontology:application } GROUP BY ?r } }
[]
common name application
SYSTEM
72
Q5319170 Q602979 Q1371495 Q1065670 Q8059682 Q7379808 Q3546883 Q7379806 Q6902732 Q3274352 Q2709892 Q3291127 Q2987460 Q1986800 Q14831173 Q1302197 Q1141572 Q2887359 Q840449 Q338486 Q483103 Q239288 Q756856 Q14785138 Q3823700 Q2819427 Q2525598 Q3992270 Q1068256 Q1037042 Q1801455 Q699815 Q6133492 Q1868703 Q483120 Q2627892 Q706638 Q482472 Q482500 Q17911588 Q1153316 Q6143593 Q5944170 Q277021 Q857823 Q887421 Q3178243 Q515254 Q16547653 Q914286 Q2760871 Q1205695 Q1105802 Q3267335 Q2471350 Q746438 Q1347470 Q1774415 Q1113356 Q531552 Q2457536 Q2403902 Q129277 Q891706 Q3866908 Q3715363 Q476230 Q239889 Q165929 Q600707 Q5968518 Q1075410
(c(Q166142),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q166142
type Q502895
action count
action filter_type
action find
entity Q2005910
relation P725
type Q502895
[ANSWER]
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { resource:Q2005910 property:P725 ?e . ?e rdf:type ontology:Q502895 } } . FILTER ( ?o < ?k ) . { SELECT DISTINCT ?r ( COUNT ( ?f ) AS ?o ) WHERE { ?r property:P725 ?f . ?f rdf:type ontology:Q502895 . ?r rdf:type ontology:Q166142 } GROUP BY ?r } }
Dynasty Warriors 8 Tokyo Majin System Shock 2 Shuffle! Ys Seven Rune Factory 4 Hourglass of Summer Rune Factory: Tides of Destiny Monster Hunter Diary: Poka Poka Airu Village Poyopoyo Kansatsu Nikki Phantasy Star Online 2 Arc Rise Fantasia Tsuyokiss Megazone 23 Space Dandy Princess Lover! Miracle Girls God Eater 2 Kenran Butohsai Street Fighter X Tekken Nogizaka Haruka no Himitsu StarCraft II: Wings of Liberty Hitman: Codename 47 Kantai Collection Princess Minerva ASH: Archaic Sealed Heat Zegapain Tokimeki Memorial Online Gakuen Utopia Manabi Straight! Hitman 2: Silent Assassin Saints Row: The Third Galaxy Angel Shippū! Iron Leaguer Lollipop Chainsaw Nichijou Tales of Innocence Future GPX Cyber Formula School Rumble Bludgeoning Angel Dokuro-Chan Saints Row: Gat out of Hell Dragon Nest Zettai Bōei Leviathan Nora to Toki no Kōbō: Kiri no Mori no Majo A Certain Magical Index Fate/stay night Queen's Blade Luminous Arc Record of Agarest War Zero Under Night In-Birth Street Fighter IV Sengoku Collection Akaneiro ni Somaru Saka Lagrange: The Flower of Rin-ne Luminous Arc 2 Godannar Hiiro no Kakera 11eyes: Tsumi to Batsu to Aganai no Shōjo Final Fantasy Type-0 Atelier Meruru: The Apprentice of Arland Angel Beats! Galaxy Angel II Disgaea 4: A Promise Unforgotten Hitman: Absolution Super Robot Wars UX Mugen Souls Tanken Driland Claymore Hitman: Blood Money StarCraft Hitman: Contracts Rune Factory 3: A Fantasy Harvest Moon Fate/Extra
72
action count
action less
action find_tuple_counts
relation voice actor
type application
type common name
action count
action filter_type
action find
entity Metroid: Other M
relation voice actor
type common name
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { resource:Metroid:_Other_M property:voice_actor ?e . ?e rdf:type ontology:common_name } } . FILTER ( ?o < ?k ) . { SELECT DISTINCT ?r ( COUNT ( ?f ) AS ?o ) WHERE { ?r property:voice_actor ?f . ?f rdf:type ontology:common_name . ?r rdf:type ontology:application } GROUP BY ?r } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q843131
P725
Q502895 Q166142
USER
And also tell me about Super Smash Bros. Brawl?
(c(Q166142),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q166142
type Q502895
action count
action filter_type
action find
entity Q843131
relation P725
type Q502895
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?b ) AS ?u ) WHERE { ?v property:P725 ?b . ?v rdf:type ontology:Q166142 . ?b rdf:type ontology:Q502895 } GROUP BY ?v } . FILTER ( ?u < ?e ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { resource:Q843131 property:P725 ?l . ?l rdf:type ontology:Q502895 } } }
Super Smash Bros. Brawl
action count
action less
action find_tuple_counts
relation voice actor
type application
type common name
action count
action filter_type
action find
entity Super Smash Bros. Brawl
relation voice actor
type common name
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?b ) AS ?u ) WHERE { ?v property:voice_actor ?b . ?v rdf:type ontology:application . ?b rdf:type ontology:common_name } GROUP BY ?v } . FILTER ( ?u < ?e ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { resource:Super_Smash_Bros._Brawl property:voice_actor ?l . ?l rdf:type ontology:common_name } } }
[]
common name application
SYSTEM
104
Q16031150 Q1052131 Q5319170 Q1141963 Q602979 Q1371495 Q53362 Q1065670 Q870981 Q8059682 Q7379808 Q3546883 Q2578717 Q7379806 Q6902732 Q15588417 Q3274352 Q1191681 Q2709892 Q2061445 Q3291127 Q2987460 Q1986800 Q14831173 Q166060 Q1302197 Q1141572 Q1035512 Q27863 Q2887359 Q840449 Q338486 Q538150 Q483103 Q239288 Q756856 Q14785138 Q216995 Q3823700 Q2819427 Q2525598 Q3992270 Q838707 Q1068256 Q207981 Q1154327 Q1037042 Q1207525 Q2005910 Q1801455 Q699815 Q6133492 Q847471 Q1868703 Q483120 Q2627892 Q537389 Q706638 Q482472 Q23017199 Q482500 Q17911588 Q1153316 Q6143593 Q170489 Q839091 Q5944170 Q484072 Q277021 Q1371603 Q857823 Q887421 Q3178243 Q515254 Q16547653 Q914286 Q2760871 Q1205695 Q1105802 Q3267335 Q2471350 Q746438 Q484233 Q182548 Q1347470 Q385228 Q2666042 Q1774415 Q1113356 Q531552 Q2457536 Q2403902 Q129277 Q4121008 Q891706 Q3866908 Q3715363 Q476230 Q239889 Q165929 Q600707 Q5968518 Q2473832 Q1075410
(c(Q166142),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q166142
type Q502895
action count
action filter_type
action find
entity Q843131
relation P725
type Q502895
[ANSWER]
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?b ) AS ?u ) WHERE { ?v property:P725 ?b . ?v rdf:type ontology:Q166142 . ?b rdf:type ontology:Q502895 } GROUP BY ?v } . FILTER ( ?u < ?e ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { resource:Q843131 property:P725 ?l . ?l rdf:type ontology:Q502895 } } }
Hyperdimension Neptunia PP Super Smash Bros. Melee Dynasty Warriors 8 Star Fox 64 Tokyo Majin System Shock 2 Bakemonogatari Shuffle! Super Smash Bros. Ys Seven Rune Factory 4 Hourglass of Summer Star Fox Adventures Rune Factory: Tides of Destiny Monster Hunter Diary: Poka Poka Airu Village Project 575 Poyopoyo Kansatsu Nikki Battle Vixens Phantasy Star Online 2 Hyperdimension Neptunia Mk2 Arc Rise Fantasia Tsuyokiss Megazone 23 Space Dandy Umineko: When They Cry Princess Lover! Miracle Girls Danganronpa: Trigger Happy Havoc Sword Art Online God Eater 2 Kenran Butohsai Street Fighter X Tekken To Love-Ru Nogizaka Haruka no Himitsu StarCraft II: Wings of Liberty Hitman: Codename 47 Kantai Collection Super Mario 64 Princess Minerva ASH: Archaic Sealed Heat Zegapain Tokimeki Memorial Online Mario Kart Wii Gakuen Utopia Manabi Straight! Code Geass XIII Hitman 2: Silent Assassin Hyperdimension Neptunia Metroid: Other M Saints Row: The Third Galaxy Angel Shippū! Iron Leaguer Full Throttle Lollipop Chainsaw Nichijou Tales of Innocence Soul Eater Future GPX Cyber Formula School Rumble Marvel Avengers Academy Bludgeoning Angel Dokuro-Chan Saints Row: Gat out of Hell Dragon Nest Zettai Bōei Leviathan Super Mario Galaxy Lucky Star Nora to Toki no Kōbō: Kiri no Mori no Majo Granado Espada A Certain Magical Index Star Fox 64 3D Fate/stay night Queen's Blade Luminous Arc Record of Agarest War Zero Under Night In-Birth Street Fighter IV Sengoku Collection Akaneiro ni Somaru Saka Lagrange: The Flower of Rin-ne Luminous Arc 2 Godannar Hiiro no Kakera Dungeon Fighter Online (DFO) Date A Live 11eyes: Tsumi to Batsu to Aganai no Shōjo Spice and Wolf Star Fox: Assault Final Fantasy Type-0 Atelier Meruru: The Apprentice of Arland Angel Beats! Galaxy Angel II Disgaea 4: A Promise Unforgotten Hitman: Absolution Hyperdimension Neptunia Victory Super Robot Wars UX Mugen Souls Tanken Driland Claymore Hitman: Blood Money StarCraft Hitman: Contracts Rune Factory 3: A Fantasy Harvest Moon Tantei Opera Milky Holmes Fate/Extra
104
action count
action less
action find_tuple_counts
relation voice actor
type application
type common name
action count
action filter_type
action find
entity Super Smash Bros. Brawl
relation voice actor
type common name
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?b ) AS ?u ) WHERE { ?v property:voice_actor ?b . ?v rdf:type ontology:application . ?b rdf:type ontology:common_name } GROUP BY ?v } . FILTER ( ?u < ?e ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { resource:Super_Smash_Bros._Brawl property:voice_actor ?l . ?l rdf:type ontology:common_name } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27169
P1001
Q56061
USER
Which administrative territory belongs to jurisdiction of member of the European Parliament ?
(Q27169,P1001,c(Q56061))
action filter_type
action find
entity Q27169
relation P1001
type Q56061
['Q27169', 'P1001', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q56061 . resource:Q27169 property:P1001 ?n }
member of the European Parliament
action filter_type
action find
entity member of the European Parliament
relation applies to jurisdiction
type administrative territorial entity
['member of the European Parliament', 'applies to jurisdiction', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:administrative_territorial_entity . resource:member_of_the_European_Parliament property:applies_to_jurisdiction ?n }
[]
administrative territorial entity
Q458
SYSTEM
European Union
Q458
(Q27169,P1001,c(Q56061))
action filter_type
action find
entity Q27169
relation P1001
type Q56061
The [ANSWER] belongs to jurisdiction of member of the European Parliament
['Q27169', 'P1001', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q56061 . resource:Q27169 property:P1001 ?n }
European Union
The European Union belongs to jurisdiction of member of the European Parliament
European Union
action filter_type
action find
entity member of the European Parliament
relation applies to jurisdiction
type administrative territorial entity
['member of the European Parliament', 'applies to jurisdiction', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:administrative_territorial_entity . resource:member_of_the_European_Parliament property:applies_to_jurisdiction ?n }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q7440002
P532
Q56061 Q2235308
USER
How many ship types have more number of administrative territories as their registry harbour than Sea Shepherd II ?
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q7440002
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?b ) WHERE { ?c property:P532 ?x . ?c rdf:type ontology:Q2235308 . ?x rdf:type ontology:Q56061 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { resource:Q7440002 property:P532 ?m . ?m rdf:type ontology:Q2235308 } } . FILTER ( ?b > ?w ) }
Sea Shepherd II
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Sea Shepherd II
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?b ) WHERE { ?c property:port_of_registry ?x . ?c rdf:type ontology:ship_type . ?x rdf:type ontology:administrative_territorial_entity } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { resource:Sea_Shepherd_II property:port_of_registry ?m . ?m rdf:type ontology:ship_type } } . FILTER ( ?b > ?w ) }
[]
administrative territorial entity ship type
SYSTEM
70
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q7440002
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?b ) WHERE { ?c property:P532 ?x . ?c rdf:type ontology:Q2235308 . ?x rdf:type ontology:Q56061 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { resource:Q7440002 property:P532 ?m . ?m rdf:type ontology:Q2235308 } } . FILTER ( ?b > ?w ) }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
70
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Sea Shepherd II
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?b ) WHERE { ?c property:port_of_registry ?x . ?c rdf:type ontology:ship_type . ?x rdf:type ontology:administrative_territorial_entity } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { resource:Sea_Shepherd_II property:port_of_registry ?m . ?m rdf:type ontology:ship_type } } . FILTER ( ?b > ?w ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13635316
P937
Q56061
USER
What is the location where Máximo Rodríguez Valverde worked ?
(Q13635316,P937,c(Q56061))
action filter_type
action find
entity Q13635316
relation P937
type Q56061
['Q13635316', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q56061 . resource:Q13635316 property:P937 ?z }
Máximo Rodríguez Valverde
action filter_type
action find
entity Máximo Rodríguez Valverde
relation work location
type administrative territorial entity
['Máximo Rodríguez Valverde', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity . resource:Máximo_Rodríguez_Valverde property:work_location ?z }
[]
administrative territorial entity
Q2807
SYSTEM
Madrid
Q2807
(Q13635316,P937,c(Q56061))
action filter_type
action find
entity Q13635316
relation P937
type Q56061
The location Máximo Rodríguez Valverde worked is in [ANSWER]
['Q13635316', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q56061 . resource:Q13635316 property:P937 ?z }
Madrid
The location Máximo Rodríguez Valverde worked is in Madrid
Madrid
action filter_type
action find
entity Máximo Rodríguez Valverde
relation work location
type administrative territorial entity
['Máximo Rodríguez Valverde', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity . resource:Máximo_Rodríguez_Valverde property:work_location ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13635316
P102
Q7278
USER
Which political party is Máximo Rodríguez Valverde a member of ?
(Q13635316,P102,c(Q7278))
action filter_type
action find
entity Q13635316
relation P102
type Q7278
['Q13635316', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?f WHERE { resource:Q13635316 property:P102 ?f . ?f rdf:type ontology:Q7278 }
Máximo Rodríguez Valverde
action filter_type
action find
entity Máximo Rodríguez Valverde
relation member of political party
type political party
['Máximo Rodríguez Valverde', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?f WHERE { resource:Máximo_Rodríguez_Valverde property:member_of_political_party ?f . ?f rdf:type ontology:political_party }
[]
political party
Q138198
SYSTEM
Spanish Socialist Workers' Party
Q138198
(Q13635316,P102,c(Q7278))
action filter_type
action find
entity Q13635316
relation P102
type Q7278
[ANSWER] is Máximo Rodríguez Valverde a member of
['Q13635316', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?f WHERE { resource:Q13635316 property:P102 ?f . ?f rdf:type ontology:Q7278 }
Spanish Socialist Workers' Party
Spanish Socialist Workers' Party is Máximo Rodríguez Valverde a member of
Spanish Socialist Workers' Party
action filter_type
action find
entity Máximo Rodríguez Valverde
relation member of political party
type political party
['Máximo Rodríguez Valverde', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?f WHERE { resource:Máximo_Rodríguez_Valverde property:member_of_political_party ?f . ?f rdf:type ontology:political_party }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18171345
P361
Q11204
USER
What is Member of the Congress of Deputies of Spain a component of ?
(Q18171345,P361,c(Q11204))
action filter_type
action find
entity Q18171345
relation P361
type Q11204
['Q18171345', 'P361', {'concept': 'Q11204'}]
SELECT DISTINCT ?w WHERE { resource:Q18171345 property:P361 ?w . ?w rdf:type ontology:Q11204 }
Member of the Congress of Deputies of Spain
action filter_type
action find
entity Member of the Congress of Deputies of Spain
relation part of
type legislature
['Member of the Congress of Deputies of Spain', 'part of', {'concept': 'legislature'}]
SELECT DISTINCT ?w WHERE { resource:Member_of_the_Congress_of_Deputies_of_Spain property:part_of ?w . ?w rdf:type ontology:legislature }
[]
legislature
Q539149
SYSTEM
Congress of Deputies
Q539149
(Q18171345,P361,c(Q11204))
action filter_type
action find
entity Q18171345
relation P361
type Q11204
Member of the [ANSWER] of Spain a component of is the [ANSWER]
['Q18171345', 'P361', {'concept': 'Q11204'}]
SELECT DISTINCT ?w WHERE { resource:Q18171345 property:P361 ?w . ?w rdf:type ontology:Q11204 }
Congress of Deputies
Member of the Congress of Deputies of Spain a component of is the Congress of Deputies
Congress of Deputies
action filter_type
action find
entity Member of the Congress of Deputies of Spain
relation part of
type legislature
['Member of the Congress of Deputies of Spain', 'part of', {'concept': 'legislature'}]
SELECT DISTINCT ?w WHERE { resource:Member_of_the_Congress_of_Deputies_of_Spain property:part_of ?w . ?w rdf:type ontology:legislature }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18810377
Q11204
USER
And what about Member of the New South Wales Legislative Council?
(Q18810377,P361,c(Q11204))
action filter_type
action find
entity Q18810377
relation P361
type Q11204
['Q18810377', 'P361', {'concept': 'Q11204'}]
SELECT DISTINCT ?s WHERE { resource:Q18810377 property:P361 ?s . ?s rdf:type ontology:Q11204 }
Member of the New South Wales Legislative Council
action filter_type
action find
entity Member of the New South Wales Legislative Council
relation part of
type legislature
['Member of the New South Wales Legislative Council', 'part of', {'concept': 'legislature'}]
SELECT DISTINCT ?s WHERE { resource:Member_of_the_New_South_Wales_Legislative_Council property:part_of ?s . ?s rdf:type ontology:legislature }
[]
legislature
Q3244676
SYSTEM
New South Wales Legislative Council
Q3244676
(Q18810377,P361,c(Q11204))
action filter_type
action find
entity Q18810377
relation P361
type Q11204
[ANSWER]
['Q18810377', 'P361', {'concept': 'Q11204'}]
SELECT DISTINCT ?s WHERE { resource:Q18810377 property:P361 ?s . ?s rdf:type ontology:Q11204 }
New South Wales Legislative Council
New South Wales Legislative Council
action filter_type
action find
entity Member of the New South Wales Legislative Council
relation part of
type legislature
['Member of the New South Wales Legislative Council', 'part of', {'concept': 'legislature'}]
SELECT DISTINCT ?s WHERE { resource:Member_of_the_New_South_Wales_Legislative_Council property:part_of ?s . ?s rdf:type ontology:legislature }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3244676
P463
Q502895
USER
Which person is a member of that legislature ?
(c(Q502895),P463,Q3244676)
action filter_type
action find_reverse
entity Q3244676
relation P463
type Q502895
[{'concept': 'Q502895'}, 'P463', 'Q3244676']
SELECT DISTINCT ?f WHERE { ?f property:P463 resource:Q3244676 . ?f rdf:type ontology:Q502895 }
New South Wales Legislative Council
action filter_type
action find_reverse
entity New South Wales Legislative Council
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'New South Wales Legislative Council']
SELECT DISTINCT ?f WHERE { ?f property:member_of resource:New_South_Wales_Legislative_Council . ?f rdf:type ontology:common_name }
[]
common name
Q4888316
SYSTEM
Benjamin Boyd
Q4888316
(c(Q502895),P463,Q3244676)
action filter_type
action find_reverse
entity Q3244676
relation P463
type Q502895
[ANSWER] is a member of that legislature
[{'concept': 'Q502895'}, 'P463', 'Q3244676']
SELECT DISTINCT ?f WHERE { ?f property:P463 resource:Q3244676 . ?f rdf:type ontology:Q502895 }
Benjamin Boyd
Benjamin Boyd is a member of that legislature
Benjamin Boyd
action filter_type
action find_reverse
entity New South Wales Legislative Council
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'New South Wales Legislative Council']
SELECT DISTINCT ?f WHERE { ?f property:member_of resource:New_South_Wales_Legislative_Council . ?f rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q4888316 Q1368896 Q408
P27
Q1048835
USER
Is that person a native of Narón and Australia ?
(Q4888316,P27,Q1368896) (Q4888316,P27,Q408)
action is_in
entity Q4888316
action intersection
action find_reverse
entity Q1368896
relation P27
action find_reverse
entity Q408
relation P27
['Q4888316', 'P27', 'Q1368896'] ['Q4888316', 'P27', 'Q408']
ASK WHERE { resource:Q4888316 property:P27 resource:Q408 . resource:Q4888316 property:P27 resource:Q1368896 }
Benjamin Boyd Narón Australia
action is_in
entity Benjamin Boyd
action intersection
action find_reverse
entity Narón
relation country of citizenship
action find_reverse
entity Australia
relation country of citizenship
['Benjamin Boyd', 'country of citizenship', 'Narón'] ['Benjamin Boyd', 'country of citizenship', 'Australia']
ASK WHERE { resource:Benjamin_Boyd property:country_of_citizenship resource:Australia . resource:Benjamin_Boyd property:country_of_citizenship resource:Narón }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q4888316,P27,Q1368896) (Q4888316,P27,Q408)
action is_in
entity Q4888316
action intersection
action find_reverse
entity Q1368896
relation P27
action find_reverse
entity Q408
relation P27
[ANSWER]
['Q4888316', 'P27', 'Q1368896'] ['Q4888316', 'P27', 'Q408']
ASK WHERE { resource:Q4888316 property:P27 resource:Q408 . resource:Q4888316 property:P27 resource:Q1368896 }
NO and YES respectively
action is_in
entity Benjamin Boyd
action intersection
action find_reverse
entity Narón
relation country of citizenship
action find_reverse
entity Australia
relation country of citizenship
['Benjamin Boyd', 'country of citizenship', 'Narón'] ['Benjamin Boyd', 'country of citizenship', 'Australia']
ASK WHERE { resource:Benjamin_Boyd property:country_of_citizenship resource:Australia . resource:Benjamin_Boyd property:country_of_citizenship resource:Narón }
[]