Simple Question (Direct)
Simple Question
Q15628987
P40
Q502895
USER
Which people are a successors of Eberhard von Gemmingen ?
(Q15628987,P40,c(Q502895))
action filter_type
action find
entity Q15628987
relation P40
type Q502895
['Q15628987', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q15628987 property:P40 ?v }
Eberhard von Gemmingen
action filter_type
action find
entity Eberhard von Gemmingen
relation child
type common name
['Eberhard von Gemmingen', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Eberhard_von_Gemmingen property:child ?v }
[]
common name
Q15629205 Q15629117
SYSTEM
Schweikard von Gemmingen, Bernolph von Gemmingen
Q15629205 Q15629117
(Q15628987,P40,c(Q502895))
action filter_type
action find
entity Q15628987
relation P40
type Q502895
[ANSWERS] are a successors of Eberhard von Gemmingen
['Q15628987', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q15628987 property:P40 ?v }
Schweikard von Gemmingen Bernolph von Gemmingen
Schweikard von Gemmingen and Bernolph von Gemmingen are a successors of Eberhard von Gemmingen
Schweikard von Gemmingen Bernolph von Gemmingen
action filter_type
action find
entity Eberhard von Gemmingen
relation child
type common name
['Eberhard von Gemmingen', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Eberhard_von_Gemmingen property:child ?v }
[]
Clarification
Simple Question|Single Entity|Indirect
Q15629205
P22
Q502895
USER
Who was the father of that one ?
(Q15629205,P22,c(Q502895))
action filter_type
action find
entity Q15629205
relation P22
type Q502895
['Q15629205', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q15629205 property:P22 ?t . ?t rdf:type ontology:Q502895 }
Schweikard von Gemmingen
action filter_type
action find
entity Schweikard von Gemmingen
relation father
type common name
['Schweikard von Gemmingen', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Schweikard_von_Gemmingen property:father ?t . ?t rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q15629117
SYSTEM
Did you mean Bernolph von Gemmingen ?
Q15629205 Q15629117
(Q15629205,P22,c(Q502895)) (Q15629117,P22,c(Q502895))
[ANSWER]
['Q15629205', 'P22', {'concept': 'Q502895'}] ['Q15629117', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q15629205 property:P22 ?t . ?t rdf:type ontology:Q502895 }
Schweikard von Gemmingen Bernolph von Gemmingen
Did you mean Bernolph von Gemmingen ?
Bernolph von Gemmingen
['Schweikard von Gemmingen', 'father', {'concept': 'common name'}] ['Bernolph von Gemmingen', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Schweikard_von_Gemmingen property:father ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Schweikard von Gemmingen. Could you tell me the answer for that?
(Q15629205,P22,c(Q502895))
Q15629205
['Q15629205', 'P22', {'concept': 'Q502895'}]
['Schweikard von Gemmingen', 'father', {'concept': 'common name'}]
[]
Q15628987
SYSTEM
Eberhard von Gemmingen
Q15628987
(Q15629205,P22,c(Q502895))
action filter_type
action find
entity Q15629205
relation P22
type Q502895
The father of that one was Count [ANSWER]
['Q15629205', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q15629205 property:P22 ?t . ?t rdf:type ontology:Q502895 }
Eberhard von Gemmingen
The father of that one was Count Eberhard von Gemmingen
Eberhard von Gemmingen
action filter_type
action find
entity Schweikard von Gemmingen
relation father
type common name
['Schweikard von Gemmingen', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Schweikard_von_Gemmingen property:father ?t . ?t rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q21428001
P725
Q502895 Q838948
USER
How many works of art have been dubbed by around the same number of people as Riley's First Date? ?
(c(Q838948),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q21428001
relation P725
type Q838948
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { resource:Q21428001 property:P725 ?w . ?w rdf:type ontology:Q838948 } } . FILTER ( ?n = ?r ) . { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?n ) WHERE { ?h property:P725 ?g . ?h rdf:type ontology:Q838948 . ?g rdf:type ontology:Q502895 } GROUP BY ?h } }
Riley's First Date?
action count
action approx
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Riley's First Date?
relation voice actor
type work of art
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { resource:Riley's_First_Date? property:voice_actor ?w . ?w rdf:type ontology:work_of_art } } . FILTER ( ?n = ?r ) . { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?n ) WHERE { ?h property:voice_actor ?g . ?h rdf:type ontology:work_of_art . ?g rdf:type ontology:common_name } GROUP BY ?h } }
[]
common name work of art
SYSTEM
83
Q4346544 Q13091172 Q127367 Q3458494 Q8024145 Q15139235 Q21428001 Q890656 Q834799 Q82579 Q568928 Q3139297 Q212792 Q190145 Q909318 Q6675708 Q5901134 Q19948770 Q1325217 Q286868 Q1315185 Q1583966 Q390341 Q25218391 Q477965 Q5640689 Q777739 Q4942936 Q1572709 Q3282491 Q640695 Q14540226 Q16782 Q18407657 Q868048 Q615813 Q4367569 Q180098 Q4158396 Q1100231 Q4503243 Q1368693 Q19776571 Q1185099 Q4646903 Q18786473 Q4305149 Q176198 Q25167044 Q622742 Q567884 Q1196712 Q19776435 Q15627005 Q204416 Q5237953 Q1309592 Q890665 Q207659 Q1519753 Q641315 Q729809 Q888131 Q23034444 Q1702819 Q4468674 Q318975 Q2165639 Q4204793 Q1201022 Q587921 Q1810461 Q387674 Q5694508 Q741883 Q1193324 Q18167809 Q7767682 Q18200409 Q18857408 Q16998034 Q179411 Q246418
(c(Q838948),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q21428001
relation P725
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { resource:Q21428001 property:P725 ?w . ?w rdf:type ontology:Q838948 } } . FILTER ( ?n = ?r ) . { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?n ) WHERE { ?h property:P725 ?g . ?h rdf:type ontology:Q838948 . ?g rdf:type ontology:Q502895 } GROUP BY ?h } }
Passport Big Hero 6 The Lord of the Rings: The Fellowship of the Ring A Tree of Palme Windfall Nobunaga the Fool Riley's First Date? Pokémon Heroes Pokémon: The First Movie: Mewtwo Strikes Back Pokémon 4Ever Garfield: The Movie Hold the Lion, Please Bolt Spider-Man 2 Keroro Gunso the Super Movie 3: Keroro vs. Keroro Great Sky Duel Looney Tunes Super Stars' Foghorn Leghorn & Friends: Barnyard Bigmouth Ant-Man From Caligari to Hitler: German Cinema in the Age of the Masses Flubber Noah Steamboy Underdog Beverly Hills Chihuahua Exile Persepolis Hal Ivan Vasilievich: Back to the Future Book Girl Pretty Cure All Stars Trigun: Badlands Rumble Metropolis Celestial Wives of the Meadow Mari Buried Captain America: Civil War Pokémon: The Movie 2000: The Power of One Pokémon the Movie: Black—Victini and Reshiram and White—Victini and Zekrom The Witches Cave Ben-Hur Radio Day Hayate the Combat Butler! Heaven Is a Place on Earth The Tsar's Bride GeGeGe no Kitarō N - The Madness of Reason Star Driver: Kagayaki no Takuto A-Haunting We Will Go Pete's Dragon Mozart and Salieri The Last Unicorn Wreck-It Ralph 2 Where the Wild Things Are Another Detective Conan: The Phantom of Baker Street Szenario Fair Play Felidae Inazuma Eleven GO vs. Danbōru Senki W Doraemon: Nobita and the Wind Wizard Pokémon 3: The Movie: Spell of the Unown Space Jam Mimino Spirit: Stallion of the Cimarron Bodacious Space Pirates The Wind Rises Ghost in the Shell 2.0 Secret of the Wings To Kill a Dragon Atlantis: The Lost Empire Watership Down History of the Arkanar Massacre Tiger & Bunny Garfield: A Tail of Two Kitties Springtime with Roo Final Fantasy VII: Advent Children Heaven's Lost Property the Movie: The Angeloid of Clockwork Heaven's Lost Property The Disappearance of Haruhi Suzumiya The Prophet The Swing School A Monster Calls Thou-Vou falakros praktor Monkey Kingdom A Very Merry Pooh Year Gulliver's Travels
83
action count
action approx
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Riley's First Date?
relation voice actor
type work of art
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { resource:Riley's_First_Date? property:voice_actor ?w . ?w rdf:type ontology:work_of_art } } . FILTER ( ?n = ?r ) . { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?n ) WHERE { ?h property:voice_actor ?g . ?h rdf:type ontology:work_of_art . ?g rdf:type ontology:common_name } GROUP BY ?h } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q15628987
P21 P7
Q502895
USER
Which people had Eberhard von Gemmingen as brother and are a male ?
AND((c(Q502895),P7,Q15628987), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q15628987
relation P7
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q15628987'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?e WHERE { ?e property:P7 resource:Q15628987 . ?e property:P21 resource:Q6581097 . ?e rdf:type ontology:Q502895 }
male Eberhard von Gemmingen
action filter_type
action intersection
action find_reverse
entity Eberhard von Gemmingen
relation brother
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Eberhard von Gemmingen'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?e WHERE { ?e property:brother resource:Eberhard_von_Gemmingen . ?e property:gender resource:male . ?e rdf:type ontology:common_name }
[]
common name
Q2141141 Q15628986 Q15628988
SYSTEM
Reinhard von Gemmingen, Pleikard von Gemmingen, Hans Walther von Gemmingen
Q2141141 Q15628986 Q15628988
AND((c(Q502895),P7,Q15628987), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q15628987
relation P7
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] had Eberhard von Gemmingen as brother and are a male
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q15628987'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?e WHERE { ?e property:P7 resource:Q15628987 . ?e property:P21 resource:Q6581097 . ?e rdf:type ontology:Q502895 }
Reinhard von Gemmingen Pleikard von Gemmingen Hans Walther von Gemmingen
Reinhard von Gemmingen, Pleikard von Gemmingen and Hans Walther von Gemmingen had Eberhard von Gemmingen as brother and are a male
Reinhard von Gemmingen Pleikard von Gemmingen Hans Walther von Gemmingen
action filter_type
action intersection
action find_reverse
entity Eberhard von Gemmingen
relation brother
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Eberhard von Gemmingen'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?e WHERE { ?e property:brother resource:Eberhard_von_Gemmingen . ?e property:gender resource:male . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2141141 Q15628986 Q15628988
P7
Q502895
USER
Who are those ones a brother of ?
(c(Q502895),P7,Q2141141) (c(Q502895),P7,Q15628986) (c(Q502895),P7,Q15628988)
action filter_type
action find
entity prev_answer
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q2141141'] [{'concept': 'Q502895'}, 'P7', 'Q15628986'] [{'concept': 'Q502895'}, 'P7', 'Q15628988']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . VALUES ( ?l ) { ( resource:Q2141141 ) ( resource:Q15628986 ) ( resource:Q15628988 ) } . ?l property:P7 ?p }
Reinhard von Gemmingen Pleikard von Gemmingen Hans Walther von Gemmingen
action filter_type
action find
entity prev_answer
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Reinhard von Gemmingen'] [{'concept': 'common name'}, 'brother', 'Pleikard von Gemmingen'] [{'concept': 'common name'}, 'brother', 'Hans Walther von Gemmingen']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . VALUES ( ?l ) { ( resource:Reinhard_von_Gemmingen ) ( resource:Pleikard_von_Gemmingen ) ( resource:Hans_Walther_von_Gemmingen ) } . ?l property:brother ?p }
[]
common name
Q2141141 Q2141141 Q15628987
SYSTEM
Eberhard von Gemmingen for 3rd, Reinhard von Gemmingen for 1st, 2nd
Q15628987 Q15628986 Q15628988 Q2141141 Q15628987 Q15628988 Q2141141 Q15628987 Q15628986
(c(Q502895),P7,Q2141141) (c(Q502895),P7,Q15628986) (c(Q502895),P7,Q15628988)
action filter_type
action find
entity prev_answer
relation P7
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P7', 'Q2141141'] [{'concept': 'Q502895'}, 'P7', 'Q15628986'] [{'concept': 'Q502895'}, 'P7', 'Q15628988']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . VALUES ( ?l ) { ( resource:Q2141141 ) ( resource:Q15628986 ) ( resource:Q15628988 ) } . ?l property:P7 ?p }
Eberhard von Gemmingen Pleikard von Gemmingen Hans Walther von Gemmingen Reinhard von Gemmingen Eberhard von Gemmingen Hans Walther von Gemmingen Reinhard von Gemmingen Eberhard von Gemmingen Pleikard von Gemmingen
Those ones a brother of are Reinhard von Gemmingen, Reinhard von Gemmingen and Eberhard von Gemmingen
Reinhard von Gemmingen Reinhard von Gemmingen Eberhard von Gemmingen
action filter_type
action find
entity prev_answer
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Reinhard von Gemmingen'] [{'concept': 'common name'}, 'brother', 'Pleikard von Gemmingen'] [{'concept': 'common name'}, 'brother', 'Hans Walther von Gemmingen']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . VALUES ( ?l ) { ( resource:Reinhard_von_Gemmingen ) ( resource:Pleikard_von_Gemmingen ) ( resource:Hans_Walther_von_Gemmingen ) } . ?l property:brother ?p }
[]
Clarification
Simple Question|Single Entity|Indirect
Q15628987
P22
Q502895
USER
Who was the dad of that one ?
(Q15628987,P22,c(Q502895))
action filter_type
action find
entity Q15628987
relation P22
type Q502895
['Q15628987', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q15628987 property:P22 ?o . ?o rdf:type ontology:Q502895 }
Eberhard von Gemmingen
action filter_type
action find
entity Eberhard von Gemmingen
relation father
type common name
['Eberhard von Gemmingen', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Eberhard_von_Gemmingen property:father ?o . ?o rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q2141141
SYSTEM
Did you mean Reinhard von Gemmingen ?
Q2141141 Q2141141 Q15628987
(Q2141141,P22,c(Q502895)) (Q2141141,P22,c(Q502895)) (Q15628987,P22,c(Q502895))
[ANSWER]
['Q2141141', 'P22', {'concept': 'Q502895'}] ['Q2141141', 'P22', {'concept': 'Q502895'}] ['Q15628987', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q15628987 property:P22 ?o . ?o rdf:type ontology:Q502895 }
Reinhard von Gemmingen Reinhard von Gemmingen Eberhard von Gemmingen
Did you mean Reinhard von Gemmingen ?
Reinhard von Gemmingen
['Reinhard von Gemmingen', 'father', {'concept': 'common name'}] ['Reinhard von Gemmingen', 'father', {'concept': 'common name'}] ['Eberhard von Gemmingen', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Eberhard_von_Gemmingen property:father ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Eberhard von Gemmingen. Could you tell me the answer for that?
(Q15628987,P22,c(Q502895))
Q15628987
['Q15628987', 'P22', {'concept': 'Q502895'}]
['Eberhard von Gemmingen', 'father', {'concept': 'common name'}]
[]
Q1279582
SYSTEM
Eberhard von Gemmingen zu Bürg
Q1279582
(Q15628987,P22,c(Q502895))
action filter_type
action find
entity Q15628987
relation P22
type Q502895
The dad of that one was Count [ANSWER]
['Q15628987', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q15628987 property:P22 ?o . ?o rdf:type ontology:Q502895 }
Eberhard von Gemmingen zu Bürg
The dad of that one was Count Eberhard von Gemmingen zu Bürg
Eberhard von Gemmingen zu Bürg
action filter_type
action find
entity Eberhard von Gemmingen
relation father
type common name
['Eberhard von Gemmingen', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Eberhard_von_Gemmingen property:father ?o . ?o rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1279582 Q183
P27
Q1048835
USER
Is Germany the country of citizenship of that person ?
(Q1279582,P27,Q183)
action is_in
entity Q183
action find
entity Q1279582
relation P27
['Q1279582', 'P27', 'Q183']
ASK WHERE { resource:Q1279582 property:P27 resource:Q183 }
Eberhard von Gemmingen zu Bürg Germany
action is_in
entity Germany
action find
entity Eberhard von Gemmingen zu Bürg
relation country of citizenship
['Eberhard von Gemmingen zu Bürg', 'country of citizenship', 'Germany']
ASK WHERE { resource:Eberhard_von_Gemmingen_zu_Bürg property:country_of_citizenship resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q1279582,P27,Q183)
action is_in
entity Q183
action find
entity Q1279582
relation P27
[ANSWER]
['Q1279582', 'P27', 'Q183']
ASK WHERE { resource:Q1279582 property:P27 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Eberhard von Gemmingen zu Bürg
relation country of citizenship
['Eberhard von Gemmingen zu Bürg', 'country of citizenship', 'Germany']
ASK WHERE { resource:Eberhard_von_Gemmingen_zu_Bürg property:country_of_citizenship resource:Germany }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P3279
Q502895 Q500834 Q13406554
USER
How many people were the statistical leader of atleast 7 tournaments or sport competitions ?
(c(Q500834)|c(Q13406554),P3279,c(Q502895))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q500834
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q13406554
value 7
[[{'concept': 'Q500834'}, {'concept': 'Q13406554'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) ?p WHERE { { ?p rdf:type ontology:Q502895 . ?h rdf:type ontology:Q500834 . ?h property:P3279 ?p } UNION { ?h property:P3279 ?p . ?p rdf:type ontology:Q502895 . ?h rdf:type ontology:Q13406554 } } GROUP BY ?p } . FILTER ( ?u >= 7 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type tournament
action find_reverse_tuple_counts
relation statistical leader
type common name
type sport competition
value 7
[[{'concept': 'tournament'}, {'concept': 'sport competition'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) ?p WHERE { { ?p rdf:type ontology:common_name . ?h rdf:type ontology:tournament . ?h property:statistical_leader ?p } UNION { ?h property:statistical_leader ?p . ?p rdf:type ontology:common_name . ?h rdf:type ontology:sport_competition } } GROUP BY ?p } . FILTER ( ?u >= 7 ) }
[]
common name tournament sport competition
SYSTEM
3
Q41421 Q182455 Q351862
(c(Q500834)|c(Q13406554),P3279,c(Q502895))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q500834
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q13406554
value 7
[ANSWER]
[[{'concept': 'Q500834'}, {'concept': 'Q13406554'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) ?p WHERE { { ?p rdf:type ontology:Q502895 . ?h rdf:type ontology:Q500834 . ?h property:P3279 ?p } UNION { ?h property:P3279 ?p . ?p rdf:type ontology:Q502895 . ?h rdf:type ontology:Q13406554 } } GROUP BY ?p } . FILTER ( ?u >= 7 ) }
Michael Jordan Wilt Chamberlain Sotiris Kaiafas
3
action count
action atleast
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type tournament
action find_reverse_tuple_counts
relation statistical leader
type common name
type sport competition
value 7
[[{'concept': 'tournament'}, {'concept': 'sport competition'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) ?p WHERE { { ?p rdf:type ontology:common_name . ?h rdf:type ontology:tournament . ?h property:statistical_leader ?p } UNION { ?h property:statistical_leader ?p . ?p rdf:type ontology:common_name . ?h rdf:type ontology:sport_competition } } GROUP BY ?p } . FILTER ( ?u >= 7 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2141141
P22
Q502895
USER
Which people have Reinhard von Gemmingen as dad ?
(c(Q502895),P22,Q2141141)
action filter_type
action find_reverse
entity Q2141141
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q2141141']
SELECT DISTINCT ?y WHERE { ?y property:P22 resource:Q2141141 . ?y rdf:type ontology:Q502895 }
Reinhard von Gemmingen
action filter_type
action find_reverse
entity Reinhard von Gemmingen
relation father
type common name
[{'concept': 'common name'}, 'father', 'Reinhard von Gemmingen']
SELECT DISTINCT ?y WHERE { ?y property:father resource:Reinhard_von_Gemmingen . ?y rdf:type ontology:common_name }
[]
common name
Q1583115 Q2141144 Q1279577
SYSTEM
Hans Wilhelm von Gemmingen, Reinhard von Gemmingen-Hornberg, Eberhard von Gemmingen
Q1583115 Q2141144 Q1279577
(c(Q502895),P22,Q2141141)
action filter_type
action find_reverse
entity Q2141141
relation P22
type Q502895
[ANSWERS] have Reinhard von Gemmingen as dad
[{'concept': 'Q502895'}, 'P22', 'Q2141141']
SELECT DISTINCT ?y WHERE { ?y property:P22 resource:Q2141141 . ?y rdf:type ontology:Q502895 }
Hans Wilhelm von Gemmingen Reinhard von Gemmingen-Hornberg Eberhard von Gemmingen
Hans Wilhelm von Gemmingen, Reinhard von Gemmingen-Hornberg and Eberhard von Gemmingen have Reinhard von Gemmingen as dad
Hans Wilhelm von Gemmingen Reinhard von Gemmingen-Hornberg Eberhard von Gemmingen
action filter_type
action find_reverse
entity Reinhard von Gemmingen
relation father
type common name
[{'concept': 'common name'}, 'father', 'Reinhard von Gemmingen']
SELECT DISTINCT ?y WHERE { ?y property:father resource:Reinhard_von_Gemmingen . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1583115 Q2141144 Q1279577
P22
Q502895
USER
Who were the father of Hans Wilhelm von Gemmingen, Reinhard von Gemmingen-Hornberg and Eberhard von Gemmingen ?
(Q1583115,P22,c(Q502895)) (Q2141144,P22,c(Q502895)) (Q1279577,P22,c(Q502895))
action union
action filter_type
action find
entity Q1583115
relation P22
type Q502895
action filter_type
action find
entity Q2141144
relation P22
type Q502895
action filter_type
action find
entity Q1279577
relation P22
type Q502895
['Q1583115', 'P22', {'concept': 'Q502895'}] ['Q2141144', 'P22', {'concept': 'Q502895'}] ['Q1279577', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?f property:P22 ?i . VALUES ( ?f ) { ( resource:Q1583115 ) ( resource:Q2141144 ) } }
Hans Wilhelm von Gemmingen Reinhard von Gemmingen-Hornberg Eberhard von Gemmingen
action union
action filter_type
action find
entity Hans Wilhelm von Gemmingen
relation father
type common name
action filter_type
action find
entity Reinhard von Gemmingen-Hornberg
relation father
type common name
action filter_type
action find
entity Eberhard von Gemmingen
relation father
type common name
['Hans Wilhelm von Gemmingen', 'father', {'concept': 'common name'}] ['Reinhard von Gemmingen-Hornberg', 'father', {'concept': 'common name'}] ['Eberhard von Gemmingen', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?f property:father ?i . VALUES ( ?f ) { ( resource:Hans_Wilhelm_von_Gemmingen ) ( resource:Reinhard_von_Gemmingen-Hornberg ) } }
[]
common name
Q2141141 Q2141141 Q2141141
SYSTEM
Reinhard von Gemmingen
Q2141141 Q2141141 Q2141141
(Q1583115,P22,c(Q502895)) (Q2141144,P22,c(Q502895)) (Q1279577,P22,c(Q502895))
action union
action filter_type
action find
entity Q1583115
relation P22
type Q502895
action filter_type
action find
entity Q2141144
relation P22
type Q502895
action filter_type
action find
entity Q1279577
relation P22
type Q502895
The father of Hans Wilhelm von Gemmingen , [ANSWER]-Hornberg and Eberhard von Gemmingen were brothers [ANSWER], [ANSWER] and [ANSWER]
['Q1583115', 'P22', {'concept': 'Q502895'}] ['Q2141144', 'P22', {'concept': 'Q502895'}] ['Q1279577', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?f property:P22 ?i . VALUES ( ?f ) { ( resource:Q1583115 ) ( resource:Q2141144 ) } }
Reinhard von Gemmingen Reinhard von Gemmingen Reinhard von Gemmingen
The father of Hans Wilhelm von Gemmingen , Reinhard von Gemmingen-Hornberg and Eberhard von Gemmingen were brothers Reinhard von Gemmingen, Reinhard von Gemmingen and Reinhard von Gemmingen
Reinhard von Gemmingen Reinhard von Gemmingen Reinhard von Gemmingen
action union
action filter_type
action find
entity Hans Wilhelm von Gemmingen
relation father
type common name
action filter_type
action find
entity Reinhard von Gemmingen-Hornberg
relation father
type common name
action filter_type
action find
entity Eberhard von Gemmingen
relation father
type common name
['Hans Wilhelm von Gemmingen', 'father', {'concept': 'common name'}] ['Reinhard von Gemmingen-Hornberg', 'father', {'concept': 'common name'}] ['Eberhard von Gemmingen', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?f property:father ?i . VALUES ( ?f ) { ( resource:Hans_Wilhelm_von_Gemmingen ) ( resource:Reinhard_von_Gemmingen-Hornberg ) } }
[]