Simple Question (Direct)
Simple Question
Q823395
P641
Q349
USER
What was the sport that Bernd Düker was a part of ?
(Q823395,P641,c(Q349))
action filter_type
action find
entity Q823395
relation P641
type Q349
['Q823395', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q349 . resource:Q823395 property:P641 ?b }
Bernd Düker
action filter_type
action find
entity Bernd Düker
relation sport
type sport
['Bernd Düker', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sport . resource:Bernd_Düker property:sport ?b }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q823395,P641,c(Q349))
action filter_type
action find
entity Q823395
relation P641
type Q349
The sport that Bernd Düker was a part of was the [ANSWER]
['Q823395', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q349 . resource:Q823395 property:P641 ?b }
association football
The sport that Bernd Düker was a part of was the association football
association football
action filter_type
action find
entity Bernd Düker
relation sport
type sport
['Bernd Düker', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sport . resource:Bernd_Düker property:sport ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P361
Q623109
USER
What are a component of that sport ?
(c(Q623109),P361,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P361
type Q623109
[{'concept': 'Q623109'}, 'P361', 'Q2736']
SELECT DISTINCT ?j WHERE { ?j property:P361 resource:Q2736 . ?j rdf:type ontology:Q623109 }
association football
action filter_type
action find_reverse
entity association football
relation part of
type sports league
[{'concept': 'sports league'}, 'part of', 'association football']
SELECT DISTINCT ?j WHERE { ?j property:part_of resource:association_football . ?j rdf:type ontology:sports_league }
[]
sports league
Q1061291 Q206813
SYSTEM
Championnat de France amateur, Campeonato Brasileiro Série A
Q1061291 Q206813
(c(Q623109),P361,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P361
type Q623109
A component of that sport are the [ANSWERS]
[{'concept': 'Q623109'}, 'P361', 'Q2736']
SELECT DISTINCT ?j WHERE { ?j property:P361 resource:Q2736 . ?j rdf:type ontology:Q623109 }
Championnat de France amateur Campeonato Brasileiro Série A
A component of that sport are the Championnat de France amateur and Campeonato Brasileiro Série A
Championnat de France amateur Campeonato Brasileiro Série A
action filter_type
action find_reverse
entity association football
relation part of
type sports league
[{'concept': 'sports league'}, 'part of', 'association football']
SELECT DISTINCT ?j WHERE { ?j property:part_of resource:association_football . ?j rdf:type ontology:sports_league }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1061291 Q206813
P17
Q15617994
USER
Which administrative territories are Championnat de France amateur and Campeonato Brasileiro Série A present in ?
(Q1061291,P17,c(Q15617994)) (Q206813,P17,c(Q15617994))
action union
action filter_type
action find
entity Q1061291
relation P17
type Q15617994
action filter_type
action find
entity Q206813
relation P17
type Q15617994
['Q1061291', 'P17', {'concept': 'Q15617994'}] ['Q206813', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?f ) { ( resource:Q1061291 ) ( resource:Q206813 ) } . ?f property:P17 ?h }
Championnat de France amateur Campeonato Brasileiro Série A
action union
action filter_type
action find
entity Championnat de France amateur
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Campeonato Brasileiro Série A
relation country
type designation for an administrative territorial entity
['Championnat de France amateur', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Campeonato Brasileiro Série A', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?f ) { ( resource:Championnat_de_France_amateur ) ( resource:Campeonato_Brasileiro_Série_A ) } . ?f property:country ?h }
[]
designation for an administrative territorial entity
Q142 Q155
SYSTEM
France, Brazil
Q142 Q155
(Q1061291,P17,c(Q15617994)) (Q206813,P17,c(Q15617994))
action union
action filter_type
action find
entity Q1061291
relation P17
type Q15617994
action filter_type
action find
entity Q206813
relation P17
type Q15617994
[ANSWERS] are Championnat de France amateur and Campeonato Brasileiro Série A present in
['Q1061291', 'P17', {'concept': 'Q15617994'}] ['Q206813', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?f ) { ( resource:Q1061291 ) ( resource:Q206813 ) } . ?f property:P17 ?h }
France Brazil
France and Brazil are Championnat de France amateur and Campeonato Brasileiro Série A present in
France Brazil
action union
action filter_type
action find
entity Championnat de France amateur
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Campeonato Brasileiro Série A
relation country
type designation for an administrative territorial entity
['Championnat de France amateur', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Campeonato Brasileiro Série A', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?f ) { ( resource:Championnat_de_France_amateur ) ( resource:Campeonato_Brasileiro_Série_A ) } . ?f property:country ?h }
[]
Clarification
Simple Question|Single Entity|Indirect
Q142
P138
Q874405
USER
Which social group is the etymology of that administrative territory ?
(Q142,P138,c(Q874405))
action filter_type
action find
entity Q142
relation P138
type Q874405
['Q142', 'P138', {'concept': 'Q874405'}]
SELECT DISTINCT ?s WHERE { resource:Q142 property:P138 ?s . ?s rdf:type ontology:Q874405 }
France
action filter_type
action find
entity France
relation named after
type social group
['France', 'named after', {'concept': 'social group'}]
SELECT DISTINCT ?s WHERE { resource:France property:named_after ?s . ?s rdf:type ontology:social_group }
[]
social group
Clarification for simple ques.
Q155
SYSTEM
Did you mean Brazil ?
Q142 Q155
(Q142,P138,c(Q874405)) (Q155,P138,c(Q874405))
[ANSWER]
['Q142', 'P138', {'concept': 'Q874405'}] ['Q155', 'P138', {'concept': 'Q874405'}]
SELECT DISTINCT ?s WHERE { resource:Q142 property:P138 ?s . ?s rdf:type ontology:Q874405 }
France Brazil
Did you mean Brazil ?
Brazil
['France', 'named after', {'concept': 'social group'}] ['Brazil', 'named after', {'concept': 'social group'}]
SELECT DISTINCT ?s WHERE { resource:France property:named_after ?s . ?s rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
USER
No, I meant France. Could you tell me the answer for that?
(Q142,P138,c(Q874405))
Q142
['Q142', 'P138', {'concept': 'Q874405'}]
['France', 'named after', {'concept': 'social group'}]
[]
Q43482
SYSTEM
Franks
Q43482
(Q142,P138,c(Q874405))
action filter_type
action find
entity Q142
relation P138
type Q874405
[ANSWER] is the etymology of that administrative territory
['Q142', 'P138', {'concept': 'Q874405'}]
SELECT DISTINCT ?s WHERE { resource:Q142 property:P138 ?s . ?s rdf:type ontology:Q874405 }
Franks
Franks is the etymology of that administrative territory
Franks
action filter_type
action find
entity France
relation named after
type social group
['France', 'named after', {'concept': 'social group'}]
SELECT DISTINCT ?s WHERE { resource:France property:named_after ?s . ?s rdf:type ontology:social_group }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P530
Q1048835 Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with atleast 88 political territories and administrative territories ?
(c(Q15617994),P530,c(Q1048835)|c(Q15617994))
action atleast
action union
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 88
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?e ) AS ?n ) WHERE { ?e rdf:type ?b . VALUES ( ?b ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } GROUP BY ?g } . FILTER ( ?n >= 88 ) }
action atleast
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 88
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?e ) AS ?n ) WHERE { ?e rdf:type ?b . VALUES ( ?b ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?g } . FILTER ( ?n >= 88 ) }
[]
political territorial entity designation for an administrative territorial entity designation for an administrative territorial entity
Q230
SYSTEM
Georgia
Q230
(c(Q15617994),P530,c(Q1048835)|c(Q15617994))
action atleast
action union
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 88
[ANSWER] have diplomatic relations with atleast 88 political territories and administrative territories
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?e ) AS ?n ) WHERE { ?e rdf:type ?b . VALUES ( ?b ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } GROUP BY ?g } . FILTER ( ?n >= 88 ) }
Georgia
Georgia have diplomatic relations with atleast 88 political territories and administrative territories
Georgia
action atleast
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 88
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?e ) AS ?n ) WHERE { ?e rdf:type ?b . VALUES ( ?b ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?g } . FILTER ( ?n >= 88 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2951862 Q206813
P118
Q618123
USER
Which geographical objects participate in Campeonato Brasileiro Série A or Macedonian women's football championship ?
OR((c(Q618123),P118,Q206813), (c(Q618123),P118,Q2951862))
action filter_type
action union
action find_reverse
entity Q206813
relation P118
action find_reverse
entity Q2951862
relation P118
type Q618123
{'OR': [[{'concept': 'Q618123'}, 'P118', 'Q206813'], [{'concept': 'Q618123'}, 'P118', 'Q2951862']]}
SELECT DISTINCT ?q WHERE { { { ?q property:P118 resource:Q206813 } UNION { ?q property:P118 resource:Q2951862 } } . ?q rdf:type ontology:Q618123 }
Macedonian women's football championship Campeonato Brasileiro Série A
action filter_type
action union
action find_reverse
entity Campeonato Brasileiro Série A
relation league
action find_reverse
entity Macedonian women's football championship
relation league
type geographical object
{'OR': [[{'concept': 'geographical object'}, 'league', 'Campeonato Brasileiro Série A'], [{'concept': 'geographical object'}, 'league', "Macedonian women's football championship"]]}
SELECT DISTINCT ?q WHERE { { { ?q property:league resource:Campeonato_Brasileiro_Série_A } UNION { ?q property:league resource:Macedonian_women's_football_championship } } . ?q rdf:type ontology:geographical_object }
[]
geographical object
Q5014111 Q3574365
SYSTEM
CR Vasco da Gama, ZFK Naše Taksi
Q5014111 Q3574365
OR((c(Q618123),P118,Q206813), (c(Q618123),P118,Q2951862))
action filter_type
action union
action find_reverse
entity Q206813
relation P118
action find_reverse
entity Q2951862
relation P118
type Q618123
[ANSWERS] participate in Campeonato Brasileiro Série A or Macedonian women's football championship
{'OR': [[{'concept': 'Q618123'}, 'P118', 'Q206813'], [{'concept': 'Q618123'}, 'P118', 'Q2951862']]}
SELECT DISTINCT ?q WHERE { { { ?q property:P118 resource:Q206813 } UNION { ?q property:P118 resource:Q2951862 } } . ?q rdf:type ontology:Q618123 }
CR Vasco da Gama ZFK Naše Taksi
CR Vasco da Gama and ZFK Naše Taksi participate in Campeonato Brasileiro Série A or Macedonian women's football championship
CR Vasco da Gama ZFK Naše Taksi
action filter_type
action union
action find_reverse
entity Campeonato Brasileiro Série A
relation league
action find_reverse
entity Macedonian women's football championship
relation league
type geographical object
{'OR': [[{'concept': 'geographical object'}, 'league', 'Campeonato Brasileiro Série A'], [{'concept': 'geographical object'}, 'league', "Macedonian women's football championship"]]}
SELECT DISTINCT ?q WHERE { { { ?q property:league resource:Campeonato_Brasileiro_Série_A } UNION { ?q property:league resource:Macedonian_women's_football_championship } } . ?q rdf:type ontology:geographical_object }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P937
Q502895
USER
Who are an people who works at France ?
(c(Q502895),P937,Q142)
action filter_type
action find_reverse
entity Q142
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q142']
SELECT DISTINCT ?n WHERE { ?n property:P937 resource:Q142 . ?n rdf:type ontology:Q502895 }
France
action filter_type
action find_reverse
entity France
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'France']
SELECT DISTINCT ?n WHERE { ?n property:work_location resource:France . ?n rdf:type ontology:common_name }
[]
common name
Q236293 Q17479789 Q923557
SYSTEM
Marie of France, Countess of Champagne, Vicente Urrabieta, Nicolas Baudeau
Q17479789 Q320741 Q222757 Q3301629 Q21288886 Q18599223 Q236293 Q3027537 Q923557
(c(Q502895),P937,Q142)
action filter_type
action find_reverse
entity Q142
relation P937
type Q502895
An people works at France are Princess [ANSWERS]
[{'concept': 'Q502895'}, 'P937', 'Q142']
SELECT DISTINCT ?n WHERE { ?n property:P937 resource:Q142 . ?n rdf:type ontology:Q502895 }
Vicente Urrabieta Edward Molyneux Jacques Bretel Mauricius Francois Habert Felicia Meyer Marsh Marie of France, Countess of Champagne Dietrich-Mohr Nicolas Baudeau
An people works at France are Princess Marie of France, Countess of Champagne, Vicente Urrabieta and Nicolas Baudeau
Marie of France, Countess of Champagne Vicente Urrabieta Nicolas Baudeau
action filter_type
action find_reverse
entity France
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'France']
SELECT DISTINCT ?n WHERE { ?n property:work_location resource:France . ?n rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q17479789
P40
Q502895
USER
Which people are an offsprings of that one ?
(Q17479789,P40,c(Q502895))
action filter_type
action find
entity Q17479789
relation P40
type Q502895
['Q17479789', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q17479789 property:P40 ?s . ?s rdf:type ontology:Q502895 }
Vicente Urrabieta
action filter_type
action find
entity Vicente Urrabieta
relation child
type common name
['Vicente Urrabieta', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Vicente_Urrabieta property:child ?s . ?s rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q923557
SYSTEM
Did you mean Nicolas Baudeau ?
Q236293 Q17479789 Q923557
(Q236293,P40,c(Q502895)) (Q17479789,P40,c(Q502895)) (Q923557,P40,c(Q502895))
[ANSWER]
['Q236293', 'P40', {'concept': 'Q502895'}] ['Q17479789', 'P40', {'concept': 'Q502895'}] ['Q923557', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q17479789 property:P40 ?s . ?s rdf:type ontology:Q502895 }
Marie of France, Countess of Champagne Vicente Urrabieta Nicolas Baudeau
Did you mean Nicolas Baudeau ?
Nicolas Baudeau
['Marie of France, Countess of Champagne', 'child', {'concept': 'common name'}] ['Vicente Urrabieta', 'child', {'concept': 'common name'}] ['Nicolas Baudeau', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Vicente_Urrabieta property:child ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Vicente Urrabieta. Could you tell me the answer for that?
(Q17479789,P40,c(Q502895))
Q17479789
['Q17479789', 'P40', {'concept': 'Q502895'}]
['Vicente Urrabieta', 'child', {'concept': 'common name'}]
[]
Q17479510 Q627132
SYSTEM
Samuel Urrabieta, Daniel Vierge
Q17479510 Q627132
(Q17479789,P40,c(Q502895))
action filter_type
action find
entity Q17479789
relation P40
type Q502895
[ANSWERS] are an offsprings of that one
['Q17479789', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q17479789 property:P40 ?s . ?s rdf:type ontology:Q502895 }
Samuel Urrabieta Daniel Vierge
Samuel Urrabieta and Daniel Vierge are an offsprings of that one
Samuel Urrabieta Daniel Vierge
action filter_type
action find
entity Vicente Urrabieta
relation child
type common name
['Vicente Urrabieta', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Vicente_Urrabieta property:child ?s . ?s rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can around 2986 people perform with ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2986
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?u ) WHERE { ?o property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 } GROUP BY ?w } . FILTER ( ?u = 2986 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2986
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?u ) WHERE { ?o property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name } GROUP BY ?w } . FILTER ( ?u = 2986 ) }
[]
musical instrument common name
Q1444 Q128309
SYSTEM
organ, drum kit
Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2986
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?u ) WHERE { ?o property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 } GROUP BY ?w } . FILTER ( ?u = 2986 ) }
organ drum kit
Which musical instruments can around 2986 people perform with
organ drum kit
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2986
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?u ) WHERE { ?o property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name } GROUP BY ?w } . FILTER ( ?u = 2986 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q5014111 Q629344
P115
Q1076486
USER
How many sports venues are the home field of CR Vasco da Gama or Blauw-Wit Amsterdam ?
(Q5014111,P115,c(Q1076486)) (Q629344,P115,c(Q1076486))
action count
action union
action filter_type
action find
entity Q5014111
relation P115
type Q1076486
action filter_type
action find
entity Q629344
relation P115
type Q1076486
['Q5014111', 'P115', {'concept': 'Q1076486'}] ['Q629344', 'P115', {'concept': 'Q1076486'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { ?g rdf:type ontology:Q1076486 . resource:Q5014111 property:P115 ?g } UNION { resource:Q629344 property:P115 ?g . ?g rdf:type ontology:Q1076486 } }
CR Vasco da Gama Blauw-Wit Amsterdam
action count
action union
action filter_type
action find
entity CR Vasco da Gama
relation home venue
type sports venue
action filter_type
action find
entity Blauw-Wit Amsterdam
relation home venue
type sports venue
['CR Vasco da Gama', 'home venue', {'concept': 'sports venue'}] ['Blauw-Wit Amsterdam', 'home venue', {'concept': 'sports venue'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { ?g rdf:type ontology:sports_venue . resource:CR_Vasco_da_Gama property:home_venue ?g } UNION { resource:Blauw-Wit_Amsterdam property:home_venue ?g . ?g rdf:type ontology:sports_venue } }
[]
sports venue
SYSTEM
2
Q7085078 Q2168003
(Q5014111,P115,c(Q1076486)) (Q629344,P115,c(Q1076486))
action count
action union
action filter_type
action find
entity Q5014111
relation P115
type Q1076486
action filter_type
action find
entity Q629344
relation P115
type Q1076486
[ANSWER]
['Q5014111', 'P115', {'concept': 'Q1076486'}] ['Q629344', 'P115', {'concept': 'Q1076486'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { ?g rdf:type ontology:Q1076486 . resource:Q5014111 property:P115 ?g } UNION { resource:Q629344 property:P115 ?g . ?g rdf:type ontology:Q1076486 } }
Old Stadion Sportpark Sloten
2
action count
action union
action filter_type
action find
entity CR Vasco da Gama
relation home venue
type sports venue
action filter_type
action find
entity Blauw-Wit Amsterdam
relation home venue
type sports venue
['CR Vasco da Gama', 'home venue', {'concept': 'sports venue'}] ['Blauw-Wit Amsterdam', 'home venue', {'concept': 'sports venue'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { ?g rdf:type ontology:sports_venue . resource:CR_Vasco_da_Gama property:home_venue ?g } UNION { resource:Blauw-Wit_Amsterdam property:home_venue ?g . ?g rdf:type ontology:sports_venue } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q593995
P1303
Q34379 Q502895
USER
How many musical instruments are played by greater number of people than player piano ?
(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 Q593995
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?v ) WHERE { ?t property:P1303 ?d . ?t rdf:type ontology:Q502895 . ?d rdf:type ontology:Q34379 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { ?u rdf:type ontology:Q34379 . resource:Q593995 property:P1303 ?u } } . FILTER ( ?v > ?c ) }
player piano
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 player piano
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?v ) WHERE { ?t property:instrument ?d . ?t rdf:type ontology:common_name . ?d rdf:type ontology:musical_instrument } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { ?u rdf:type ontology:musical_instrument . resource:player_piano property:instrument ?u } } . FILTER ( ?v > ?c ) }
[]
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 Q593995
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?v ) WHERE { ?t property:P1303 ?d . ?t rdf:type ontology:Q502895 . ?d rdf:type ontology:Q34379 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { ?u rdf:type ontology:Q34379 . resource:Q593995 property:P1303 ?u } } . FILTER ( ?v > ?c ) }
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 player piano
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?v ) WHERE { ?t property:instrument ?d . ?t rdf:type ontology:common_name . ?d rdf:type ontology:musical_instrument } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { ?u rdf:type ontology:musical_instrument . resource:player_piano property:instrument ?u } } . FILTER ( ?v > ?c ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q490054
P1303
Q34379 Q502895
USER
And also tell me about Ondioline?
(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 Q490054
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?n ) WHERE { ?s rdf:type ontology:Q502895 . ?b rdf:type ontology:Q34379 . ?s property:P1303 ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { resource:Q490054 property:P1303 ?w . ?w rdf:type ontology:Q34379 } } . FILTER ( ?n > ?a ) }
Ondioline
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 Ondioline
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?n ) WHERE { ?s rdf:type ontology:common_name . ?b rdf:type ontology:musical_instrument . ?s property:instrument ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { resource:Ondioline property:instrument ?w . ?w rdf:type ontology:musical_instrument } } . FILTER ( ?n > ?a ) }
[]
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 Q490054
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?n ) WHERE { ?s rdf:type ontology:Q502895 . ?b rdf:type ontology:Q34379 . ?s property:P1303 ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { resource:Q490054 property:P1303 ?w . ?w rdf:type ontology:Q34379 } } . FILTER ( ?n > ?a ) }
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 Ondioline
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?n ) WHERE { ?s rdf:type ontology:common_name . ?b rdf:type ontology:musical_instrument . ?s property:instrument ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { resource:Ondioline property:instrument ?w . ?w rdf:type ontology:musical_instrument } } . FILTER ( ?n > ?a ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q236293
P9
Q502895
USER
Who are Marie of France, Countess of Champagne a sister of ?
(c(Q502895),P9,Q236293)
action filter_type
action find_reverse
entity Q236293
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q236293']
SELECT DISTINCT ?x WHERE { ?x property:P9 resource:Q236293 . ?x rdf:type ontology:Q502895 }
Marie of France, Countess of Champagne
action filter_type
action find_reverse
entity Marie of France, Countess of Champagne
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Marie of France, Countess of Champagne']
SELECT DISTINCT ?x WHERE { ?x property:sister resource:Marie_of_France,_Countess_of_Champagne . ?x rdf:type ontology:common_name }
[]
common name
Q129308 Q42305 Q34428
SYSTEM
John of England, Richard I of England, Philip
Q232144 Q235462 Q129308 Q314550 Q719148 Q235484 Q235238 Q42305 Q235637 Q34428 Q233631 Q231723 Q235418
(c(Q502895),P9,Q236293)
action filter_type
action find_reverse
entity Q236293
relation P9
type Q502895
Marie of France , Countess of Champagne are a sister of King [ANSWERS]
[{'concept': 'Q502895'}, 'P9', 'Q236293']
SELECT DISTINCT ?x WHERE { ?x property:P9 resource:Q236293 . ?x rdf:type ontology:Q502895 }
Eleanor of England, Queen of Castile Alys, Countess of the Vexin John of England Geoffrey II, Duke of Brittany William IX, Count of Poitiers Matilda of England, Duchess of Saxony Henry the Young King Richard I of England Alix of France Philip Agnes of France Margaret of France, Queen of England and Hungary Joan of England, Queen of Sicily
Marie of France , Countess of Champagne are a sister of King John of England, Richard I of England and Philip
John of England Richard I of England Philip
action filter_type
action find_reverse
entity Marie of France, Countess of Champagne
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Marie of France, Countess of Champagne']
SELECT DISTINCT ?x WHERE { ?x property:sister resource:Marie_of_France,_Countess_of_Champagne . ?x rdf:type ontology:common_name }
[]