Simple Question (Direct)
Simple Question
Q2994905
P40
Q502895
USER
Who are the children of Constant d'Aubigné ?
(Q2994905,P40,c(Q502895))
action filter_type
action find
entity Q2994905
relation P40
type Q502895
['Q2994905', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q2994905 property:P40 ?g . ?g rdf:type ontology:Q502895 }
Constant d'Aubigné
action filter_type
action find
entity Constant d'Aubigné
relation child
type common name
["Constant d'Aubigné", 'child', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Constant_d'Aubigné property:child ?g . ?g rdf:type ontology:common_name }
[]
common name
Q17432513 Q230670 Q5084007
SYSTEM
Constant d'Aubigné, Françoise d'Aubigné, Marquise de Maintenon, Charles d'Aubigné, d'Aubigné
Q17432513 Q230670 Q5084007
(Q2994905,P40,c(Q502895))
action filter_type
action find
entity Q2994905
relation P40
type Q502895
[ANSWERS]
['Q2994905', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q2994905 property:P40 ?g . ?g rdf:type ontology:Q502895 }
Constant d'Aubigné Françoise d'Aubigné, Marquise de Maintenon Charles d'Aubigné, d'Aubigné
Constant d'Aubigné Françoise d'Aubigné, Marquise de Maintenon Charles d'Aubigné, d'Aubigné
action filter_type
action find
entity Constant d'Aubigné
relation child
type common name
["Constant d'Aubigné", 'child', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Constant_d'Aubigné property:child ?g . ?g rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5084007
P7
Q502895
USER
Which people have that one as their brother ?
(c(Q502895),P7,Q5084007)
action filter_type
action find_reverse
entity Q5084007
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q5084007']
SELECT DISTINCT ?k WHERE { ?k property:P7 resource:Q5084007 . ?k rdf:type ontology:Q502895 }
Charles d'Aubigné, d'Aubigné
action filter_type
action find_reverse
entity Charles d'Aubigné, d'Aubigné
relation brother
type common name
[{'concept': 'common name'}, 'brother', "Charles d'Aubigné, d'Aubigné"]
SELECT DISTINCT ?k WHERE { ?k property:brother resource:Charles_d'Aubigné,_d'Aubigné . ?k rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q17432513
SYSTEM
Did you mean Constant d'Aubigné ?
Q17432513 Q230670 Q5084007
(c(Q502895),P7,Q17432513) (c(Q502895),P7,Q230670) (c(Q502895),P7,Q5084007)
[ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q17432513'] [{'concept': 'Q502895'}, 'P7', 'Q230670'] [{'concept': 'Q502895'}, 'P7', 'Q5084007']
SELECT DISTINCT ?k WHERE { ?k property:P7 resource:Q5084007 . ?k rdf:type ontology:Q502895 }
Constant d'Aubigné Françoise d'Aubigné, Marquise de Maintenon Charles d'Aubigné, d'Aubigné
Did you mean Constant d'Aubigné ?
Constant d'Aubigné
[{'concept': 'common name'}, 'brother', "Constant d'Aubigné"] [{'concept': 'common name'}, 'brother', "Françoise d'Aubigné, Marquise de Maintenon"] [{'concept': 'common name'}, 'brother', "Charles d'Aubigné, d'Aubigné"]
SELECT DISTINCT ?k WHERE { ?k property:brother resource:Charles_d'Aubigné,_d'Aubigné . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Charles d'Aubigné, d'Aubigné. Could you tell me the answer for that?
(c(Q502895),P7,Q5084007)
Q5084007
[{'concept': 'Q502895'}, 'P7', 'Q5084007']
[{'concept': 'common name'}, 'brother', "Charles d'Aubigné, d'Aubigné"]
[]
Q17432513 Q230670
SYSTEM
Constant d'Aubigné, Françoise d'Aubigné, Marquise de Maintenon
Q17432513 Q230670
(c(Q502895),P7,Q5084007)
action filter_type
action find_reverse
entity Q5084007
relation P7
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P7', 'Q5084007']
SELECT DISTINCT ?k WHERE { ?k property:P7 resource:Q5084007 . ?k rdf:type ontology:Q502895 }
Constant d'Aubigné Françoise d'Aubigné, Marquise de Maintenon
Constant d'Aubigné Françoise d'Aubigné, Marquise de Maintenon
action filter_type
action find_reverse
entity Charles d'Aubigné, d'Aubigné
relation brother
type common name
[{'concept': 'common name'}, 'brother', "Charles d'Aubigné, d'Aubigné"]
SELECT DISTINCT ?k WHERE { ?k property:brother resource:Charles_d'Aubigné,_d'Aubigné . ?k rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q949482 Q5084007
P40
Q502895
USER
Which people have Charles d'Aubigné, d'Aubigné or Paul Stastny as a child ?
OR((c(Q502895),P40,Q5084007), (c(Q502895),P40,Q949482))
action filter_type
action union
action find_reverse
entity Q5084007
relation P40
action find_reverse
entity Q949482
relation P40
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P40', 'Q5084007'], [{'concept': 'Q502895'}, 'P40', 'Q949482']]}
SELECT DISTINCT ?w WHERE { { { ?w property:P40 resource:Q5084007 } UNION { ?w property:P40 resource:Q949482 } } . ?w rdf:type ontology:Q502895 }
Paul Stastny Charles d'Aubigné, d'Aubigné
action filter_type
action union
action find_reverse
entity Charles d'Aubigné, d'Aubigné
relation child
action find_reverse
entity Paul Stastny
relation child
type common name
{'OR': [[{'concept': 'common name'}, 'child', "Charles d'Aubigné, d'Aubigné"], [{'concept': 'common name'}, 'child', 'Paul Stastny']]}
SELECT DISTINCT ?w WHERE { { { ?w property:child resource:Charles_d'Aubigné,_d'Aubigné } UNION { ?w property:child resource:Paul_Stastny } } . ?w rdf:type ontology:common_name }
[]
common name
Q539372 Q2994905
SYSTEM
Peter Šťastný, Constant d'Aubigné
Q539372 Q2994905
OR((c(Q502895),P40,Q5084007), (c(Q502895),P40,Q949482))
action filter_type
action union
action find_reverse
entity Q5084007
relation P40
action find_reverse
entity Q949482
relation P40
type Q502895
[ANSWERS]
{'OR': [[{'concept': 'Q502895'}, 'P40', 'Q5084007'], [{'concept': 'Q502895'}, 'P40', 'Q949482']]}
SELECT DISTINCT ?w WHERE { { { ?w property:P40 resource:Q5084007 } UNION { ?w property:P40 resource:Q949482 } } . ?w rdf:type ontology:Q502895 }
Peter Šťastný Constant d'Aubigné
Peter Šťastný Constant d'Aubigné
action filter_type
action union
action find_reverse
entity Charles d'Aubigné, d'Aubigné
relation child
action find_reverse
entity Paul Stastny
relation child
type common name
{'OR': [[{'concept': 'common name'}, 'child', "Charles d'Aubigné, d'Aubigné"], [{'concept': 'common name'}, 'child', 'Paul Stastny']]}
SELECT DISTINCT ?w WHERE { { { ?w property:child resource:Charles_d'Aubigné,_d'Aubigné } UNION { ?w property:child resource:Paul_Stastny } } . ?w rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1129422
P1303
Q34379 Q502895
USER
How many musical instruments can more number of people perform with than morin khuur ?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1129422
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?n ) AS ?b ) WHERE { ?n property:P1303 ?t . ?t rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { resource:Q1129422 property:P1303 ?v . ?v rdf:type ontology:Q34379 } } . FILTER ( ?b > ?f ) }
morin khuur
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity morin khuur
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?n ) AS ?b ) WHERE { ?n property:instrument ?t . ?t rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { resource:morin_khuur property:instrument ?v . ?v rdf:type ontology:musical_instrument } } . FILTER ( ?b > ?f ) }
[]
musical instrument common name
SYSTEM
30
Q80284 Q46185 Q201129 Q424017 Q80019 Q2563510 Q5994 Q3574843 Q81982 Q182718 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q862501 Q213100 Q537750 Q626035 Q742180 Q1300012 Q1444 Q220971 Q128309 Q726306 Q483994 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1129422
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?n ) AS ?b ) WHERE { ?n property:P1303 ?t . ?t rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { resource:Q1129422 property:P1303 ?v . ?v rdf:type ontology:Q34379 } } . FILTER ( ?b > ?f ) }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
30
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity morin khuur
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?n ) AS ?b ) WHERE { ?n property:instrument ?t . ?t rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { resource:morin_khuur property:instrument ?v . ?v rdf:type ontology:musical_instrument } } . FILTER ( ?b > ?f ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1178361
P1303
Q34379 Q502895
USER
And what about davul?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1178361
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r rdf:type ontology:Q34379 . resource:Q1178361 property:P1303 ?r } } . FILTER ( ?x > ?f ) . { SELECT DISTINCT ?d ( COUNT ( ?j ) AS ?x ) WHERE { ?j property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 } GROUP BY ?d } }
davul
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity davul
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r rdf:type ontology:musical_instrument . resource:davul property:instrument ?r } } . FILTER ( ?x > ?f ) . { SELECT DISTINCT ?d ( COUNT ( ?j ) AS ?x ) WHERE { ?j property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name } GROUP BY ?d } }
[]
musical instrument common name
SYSTEM
30
Q80284 Q46185 Q201129 Q424017 Q80019 Q2563510 Q5994 Q3574843 Q81982 Q182718 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q862501 Q213100 Q537750 Q626035 Q742180 Q1300012 Q1444 Q220971 Q128309 Q726306 Q483994 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1178361
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r rdf:type ontology:Q34379 . resource:Q1178361 property:P1303 ?r } } . FILTER ( ?x > ?f ) . { SELECT DISTINCT ?d ( COUNT ( ?j ) AS ?x ) WHERE { ?j property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 } GROUP BY ?d } }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
30
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity davul
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r rdf:type ontology:musical_instrument . resource:davul property:instrument ?r } } . FILTER ( ?x > ?f ) . { SELECT DISTINCT ?d ( COUNT ( ?j ) AS ?x ) WHERE { ?j property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name } GROUP BY ?d } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q230670
P921
Q2342494
USER
Which collectable was mainly based on Françoise d'Aubigné, Marquise de Maintenon ?
(c(Q2342494),P921,Q230670)
action filter_type
action find_reverse
entity Q230670
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q230670']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q2342494 . ?c property:P921 resource:Q230670 }
Françoise d'Aubigné, Marquise de Maintenon
action filter_type
action find_reverse
entity Françoise d'Aubigné, Marquise de Maintenon
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', "Françoise d'Aubigné, Marquise de Maintenon"]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:collectable . ?c property:main_subject resource:Françoise_d'Aubigné,_Marquise_de_Maintenon }
[]
collectable
Q3201728
SYSTEM
The King's Way
Q3201728
(c(Q2342494),P921,Q230670)
action filter_type
action find_reverse
entity Q230670
relation P921
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P921', 'Q230670']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q2342494 . ?c property:P921 resource:Q230670 }
The King's Way
The King's Way
action filter_type
action find_reverse
entity Françoise d'Aubigné, Marquise de Maintenon
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', "Françoise d'Aubigné, Marquise de Maintenon"]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:collectable . ?c property:main_subject resource:Françoise_d'Aubigné,_Marquise_de_Maintenon }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q230670
P22
Q502895
USER
Which person was the father of Françoise d'Aubigné, Marquise de Maintenon ?
(Q230670,P22,c(Q502895))
action filter_type
action find
entity Q230670
relation P22
type Q502895
['Q230670', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . resource:Q230670 property:P22 ?t }
Françoise d'Aubigné, Marquise de Maintenon
action filter_type
action find
entity Françoise d'Aubigné, Marquise de Maintenon
relation father
type common name
["Françoise d'Aubigné, Marquise de Maintenon", 'father', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . resource:Françoise_d'Aubigné,_Marquise_de_Maintenon property:father ?t }
[]
common name
Q2994905
SYSTEM
Constant d'Aubigné
Q2994905
(Q230670,P22,c(Q502895))
action filter_type
action find
entity Q230670
relation P22
type Q502895
[ANSWER]
['Q230670', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . resource:Q230670 property:P22 ?t }
Constant d'Aubigné
Constant d'Aubigné
action filter_type
action find
entity Françoise d'Aubigné, Marquise de Maintenon
relation father
type common name
["Françoise d'Aubigné, Marquise de Maintenon", 'father', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . resource:Françoise_d'Aubigné,_Marquise_de_Maintenon property:father ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q230670
P138
Q83620
USER
Which thoroughfare is named after Françoise d'Aubigné, Marquise de Maintenon ?
(c(Q83620),P138,Q230670)
action filter_type
action find_reverse
entity Q230670
relation P138
type Q83620
[{'concept': 'Q83620'}, 'P138', 'Q230670']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q83620 . ?f property:P138 resource:Q230670 }
Françoise d'Aubigné, Marquise de Maintenon
action filter_type
action find_reverse
entity Françoise d'Aubigné, Marquise de Maintenon
relation named after
type thoroughfare
[{'concept': 'thoroughfare'}, 'named after', "Françoise d'Aubigné, Marquise de Maintenon"]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:thoroughfare . ?f property:named_after resource:Françoise_d'Aubigné,_Marquise_de_Maintenon }
[]
thoroughfare
Q2838822
SYSTEM
allée Maintenon
Q2838822
(c(Q83620),P138,Q230670)
action filter_type
action find_reverse
entity Q230670
relation P138
type Q83620
[ANSWER]
[{'concept': 'Q83620'}, 'P138', 'Q230670']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q83620 . ?f property:P138 resource:Q230670 }
allée Maintenon
allée Maintenon
action filter_type
action find_reverse
entity Françoise d'Aubigné, Marquise de Maintenon
relation named after
type thoroughfare
[{'concept': 'thoroughfare'}, 'named after', "Françoise d'Aubigné, Marquise de Maintenon"]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:thoroughfare . ?f property:named_after resource:Françoise_d'Aubigné,_Marquise_de_Maintenon }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q230670
P53
Q502895
USER
What is the royal family that Françoise d'Aubigné, Marquise de Maintenon is a part of ?
(Q230670,P53,c(Q502895))
action filter_type
action find
entity Q230670
relation P53
type Q502895
['Q230670', 'P53', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q230670 property:P53 ?g }
Françoise d'Aubigné, Marquise de Maintenon
action filter_type
action find
entity Françoise d'Aubigné, Marquise de Maintenon
relation noble family
type common name
["Françoise d'Aubigné, Marquise de Maintenon", 'noble family', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Françoise_d'Aubigné,_Marquise_de_Maintenon property:noble_family ?g }
[]
common name
Q334950
SYSTEM
Agrippa d'Aubigné
Q334950
(Q230670,P53,c(Q502895))
action filter_type
action find
entity Q230670
relation P53
type Q502895
[ANSWER]
['Q230670', 'P53', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q230670 property:P53 ?g }
Agrippa d'Aubigné
Agrippa d'Aubigné
action filter_type
action find
entity Françoise d'Aubigné, Marquise de Maintenon
relation noble family
type common name
["Françoise d'Aubigné, Marquise de Maintenon", 'noble family', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Françoise_d'Aubigné,_Marquise_de_Maintenon property:noble_family ?g }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q887410
Q502895
USER
And how about Idrieus?
(Q887410,P53,c(Q502895))
action filter_type
action find
entity Q887410
relation P53
type Q502895
['Q887410', 'P53', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q887410 property:P53 ?a . ?a rdf:type ontology:Q502895 }
Idrieus
action filter_type
action find
entity Idrieus
relation noble family
type common name
['Idrieus', 'noble family', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Idrieus property:noble_family ?a . ?a rdf:type ontology:common_name }
[]
common name
Q1370645
SYSTEM
Hecatomnus
Q1370645
(Q887410,P53,c(Q502895))
action filter_type
action find
entity Q887410
relation P53
type Q502895
[ANSWER]
['Q887410', 'P53', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q887410 property:P53 ?a . ?a rdf:type ontology:Q502895 }
Hecatomnus
Hecatomnus
action filter_type
action find
entity Idrieus
relation noble family
type common name
['Idrieus', 'noble family', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Idrieus property:noble_family ?a . ?a rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q95074
USER
Which fictional characters have been dubbed by max number of people ?
(c(Q95074),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q95074
type Q502895
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?w ) { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?a ) WHERE { ?r property:P725 ?t . ?r rdf:type ontology:Q95074 . ?t rdf:type ontology:Q502895 } GROUP BY ?r } } . { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?n ) WHERE { ?s rdf:type ontology:Q95074 . ?v rdf:type ontology:Q502895 . ?s property:P725 ?v } GROUP BY ?s } . FILTER ( ?n = ?w ) }
action argmax
action find_tuple_counts
relation voice actor
type fictional character
type common name
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?w ) { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?a ) WHERE { ?r property:voice_actor ?t . ?r rdf:type ontology:fictional_character . ?t rdf:type ontology:common_name } GROUP BY ?r } } . { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?n ) WHERE { ?s rdf:type ontology:fictional_character . ?v rdf:type ontology:common_name . ?s property:voice_actor ?v } GROUP BY ?s } . FILTER ( ?n = ?w ) }
[]
common name fictional character
Q3471289 Q12400 Q2340460
SYSTEM
Samurai Goroh, Samus Aran, Captain Falcon
Q3471289 Q12400 Q2340460
(c(Q95074),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q95074
type Q502895
[ANSWERS]
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?w ) { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?a ) WHERE { ?r property:P725 ?t . ?r rdf:type ontology:Q95074 . ?t rdf:type ontology:Q502895 } GROUP BY ?r } } . { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?n ) WHERE { ?s rdf:type ontology:Q95074 . ?v rdf:type ontology:Q502895 . ?s property:P725 ?v } GROUP BY ?s } . FILTER ( ?n = ?w ) }
Samurai Goroh Samus Aran Captain Falcon
Samurai Goroh Samus Aran Captain Falcon
action argmax
action find_tuple_counts
relation voice actor
type fictional character
type common name
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?w ) { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?a ) WHERE { ?r property:voice_actor ?t . ?r rdf:type ontology:fictional_character . ?t rdf:type ontology:common_name } GROUP BY ?r } } . { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?n ) WHERE { ?s rdf:type ontology:fictional_character . ?v rdf:type ontology:common_name . ?s property:voice_actor ?v } GROUP BY ?s } . FILTER ( ?n = ?w ) }
[]