Simple Question (Direct)
Simple Question
Q17332855
P166
Q618779
USER
What was received by Alexandre Debouchaud ?
(Q17332855,P166,c(Q618779))
action filter_type
action find
entity Q17332855
relation P166
type Q618779
['Q17332855', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?z WHERE { resource:Q17332855 property:P166 ?z . ?z rdf:type ontology:Q618779 }
Alexandre Debouchaud
action filter_type
action find
entity Alexandre Debouchaud
relation award received
type award
['Alexandre Debouchaud', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?z WHERE { resource:Alexandre_Debouchaud property:award_received ?z . ?z rdf:type ontology:award }
[]
award
Q10855271
SYSTEM
Knight of the Legion of Honour
Q10855271
(Q17332855,P166,c(Q618779))
action filter_type
action find
entity Q17332855
relation P166
type Q618779
The [ANSWER] was received by Alexandre Debouchaud
['Q17332855', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?z WHERE { resource:Q17332855 property:P166 ?z . ?z rdf:type ontology:Q618779 }
Knight of the Legion of Honour
The Knight of the Legion of Honour was received by Alexandre Debouchaud
Knight of the Legion of Honour
action filter_type
action find
entity Alexandre Debouchaud
relation award received
type award
['Alexandre Debouchaud', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?z WHERE { resource:Alexandre_Debouchaud property:award_received ?z . ?z rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17332855
P106
Q12737077
USER
Which occupations are the professions of that person ?
(Q10855271,P106,c(Q12737077))
action filter_type
action find
entity Q17332855
relation P106
type Q12737077
['Q10855271', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q17332855 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Alexandre Debouchaud
action filter_type
action find
entity Alexandre Debouchaud
relation occupation
type occupation
['Knight of the Legion of Honour', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Alexandre_Debouchaud property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q15637082 Q82955
SYSTEM
industrialist, politician
Q15637082 Q82955
(Q10855271,P106,c(Q12737077))
action filter_type
action find
entity Q17332855
relation P106
type Q12737077
The professions of that person are the [ANSWERS]
['Q10855271', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q17332855 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
industrialist politician
The professions of that person are the industrialist and politician
industrialist politician
action filter_type
action find
entity Alexandre Debouchaud
relation occupation
type occupation
['Knight of the Legion of Honour', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Alexandre_Debouchaud property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q11539676 Q17332855
P106
Q12737077
USER
Or Seiichi Mori?
OR((Q17332855,P106,c(Q12737077)), (Q11539676,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q17332855
relation P106
action find
entity Q11539676
relation P106
type Q12737077
{'OR': [['Q17332855', 'P106', {'concept': 'Q12737077'}], ['Q11539676', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q17332855 property:P106 ?s } UNION { resource:Q11539676 property:P106 ?s } } . ?s rdf:type ontology:Q12737077 }
Seiichi Mori Alexandre Debouchaud
action filter_type
action union
action find
entity Alexandre Debouchaud
relation occupation
action find
entity Seiichi Mori
relation occupation
type occupation
{'OR': [['Alexandre Debouchaud', 'occupation', {'concept': 'occupation'}], ['Seiichi Mori', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Alexandre_Debouchaud property:occupation ?s } UNION { resource:Seiichi_Mori property:occupation ?s } } . ?s rdf:type ontology:occupation }
[]
occupation
Q201788 Q82955 Q15637082
SYSTEM
historian, politician, industrialist
Q201788 Q82955 Q15637082
OR((Q17332855,P106,c(Q12737077)), (Q11539676,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q17332855
relation P106
action find
entity Q11539676
relation P106
type Q12737077
[ANSWERS]
{'OR': [['Q17332855', 'P106', {'concept': 'Q12737077'}], ['Q11539676', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q17332855 property:P106 ?s } UNION { resource:Q11539676 property:P106 ?s } } . ?s rdf:type ontology:Q12737077 }
historian politician industrialist
historian politician industrialist
action filter_type
action union
action find
entity Alexandre Debouchaud
relation occupation
action find
entity Seiichi Mori
relation occupation
type occupation
{'OR': [['Alexandre Debouchaud', 'occupation', {'concept': 'occupation'}], ['Seiichi Mori', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Alexandre_Debouchaud property:occupation ?s } UNION { resource:Seiichi_Mori property:occupation ?s } } . ?s rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q82955
P39
Q502895
USER
Who was responsible for occupying the position of that occupation ?
(c(Q502895),P39,Q82955)
action filter_type
action find_reverse
entity Q82955
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q82955']
SELECT DISTINCT ?o WHERE { ?o property:P39 resource:Q82955 . ?o rdf:type ontology:Q502895 }
politician
action filter_type
action find_reverse
entity politician
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'politician']
SELECT DISTINCT ?o WHERE { ?o property:position_held resource:politician . ?o rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q201788
SYSTEM
Did you mean historian ?
Q201788 Q82955 Q15637082
(c(Q502895),P39,Q201788) (c(Q502895),P39,Q82955) (c(Q502895),P39,Q15637082)
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q201788'] [{'concept': 'Q502895'}, 'P39', 'Q82955'] [{'concept': 'Q502895'}, 'P39', 'Q15637082']
SELECT DISTINCT ?o WHERE { ?o property:P39 resource:Q82955 . ?o rdf:type ontology:Q502895 }
historian politician industrialist
Did you mean historian ?
historian
[{'concept': 'common name'}, 'position held', 'historian'] [{'concept': 'common name'}, 'position held', 'politician'] [{'concept': 'common name'}, 'position held', 'industrialist']
SELECT DISTINCT ?o WHERE { ?o property:position_held resource:politician . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant politician. Could you tell me the answer for that?
(c(Q502895),P39,Q82955)
Q82955
[{'concept': 'Q502895'}, 'P39', 'Q82955']
[{'concept': 'common name'}, 'position held', 'politician']
[]
Q26215129
SYSTEM
Morteza Azari
Q26215129
(c(Q502895),P39,Q82955)
action filter_type
action find_reverse
entity Q82955
relation P39
type Q502895
[ANSWER] was responsible for occupying the position of that occupation
[{'concept': 'Q502895'}, 'P39', 'Q82955']
SELECT DISTINCT ?o WHERE { ?o property:P39 resource:Q82955 . ?o rdf:type ontology:Q502895 }
Morteza Azari
Morteza Azari was responsible for occupying the position of that occupation
Morteza Azari
action filter_type
action find_reverse
entity politician
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'politician']
SELECT DISTINCT ?o WHERE { ?o property:position_held resource:politician . ?o rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q26215129 Q278979
P27
Q15617994
USER
Does Morteza Azari belong to Castelpizzuto ?
(Q26215129,P27,Q278979)
action is_in
entity Q278979
action find
entity Q26215129
relation P27
['Q26215129', 'P27', 'Q278979']
ASK WHERE { resource:Q26215129 property:P27 resource:Q278979 }
Morteza Azari Castelpizzuto
action is_in
entity Castelpizzuto
action find
entity Morteza Azari
relation country of citizenship
['Morteza Azari', 'country of citizenship', 'Castelpizzuto']
ASK WHERE { resource:Morteza_Azari property:country_of_citizenship resource:Castelpizzuto }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q26215129,P27,Q278979)
action is_in
entity Q278979
action find
entity Q26215129
relation P27
[ANSWER]
['Q26215129', 'P27', 'Q278979']
ASK WHERE { resource:Q26215129 property:P27 resource:Q278979 }
No
action is_in
entity Castelpizzuto
action find
entity Morteza Azari
relation country of citizenship
['Morteza Azari', 'country of citizenship', 'Castelpizzuto']
ASK WHERE { resource:Morteza_Azari property:country_of_citizenship resource:Castelpizzuto }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q10855271 Q142
P17
Q15617994
USER
Does Knight of the Legion of Honour belong to France ?
(Q10855271,P17,Q142)
action is_in
entity Q142
action find
entity Q10855271
relation P17
['Q10855271', 'P17', 'Q142']
ASK WHERE { resource:Q10855271 property:P17 resource:Q142 }
Knight of the Legion of Honour France
action is_in
entity France
action find
entity Knight of the Legion of Honour
relation country
['Knight of the Legion of Honour', 'country', 'France']
ASK WHERE { resource:Knight_of_the_Legion_of_Honour property:country resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q10855271,P17,Q142)
action is_in
entity Q142
action find
entity Q10855271
relation P17
[ANSWER]
['Q10855271', 'P17', 'Q142']
ASK WHERE { resource:Q10855271 property:P17 resource:Q142 }
Yes
action is_in
entity France
action find
entity Knight of the Legion of Honour
relation country
['Knight of the Legion of Honour', 'country', 'France']
ASK WHERE { resource:Knight_of_the_Legion_of_Honour property:country resource:France }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q26390366
P725
Q502895 Q386724
USER
How many works did around the same number of people dub for as Hércules y el rey de Tesalia ?
(c(Q386724),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q386724
type Q502895
action count
action filter_type
action find
entity Q26390366
relation P725
type Q386724
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?j ) WHERE { ?q property:P725 ?l . ?q rdf:type ontology:Q386724 . ?l rdf:type ontology:Q502895 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:Q26390366 property:P725 ?g . ?g rdf:type ontology:Q386724 } } . FILTER ( ?j = ?v ) }
Hércules y el rey de Tesalia
action count
action approx
action find_tuple_counts
relation voice actor
type work
type common name
action count
action filter_type
action find
entity Hércules y el rey de Tesalia
relation voice actor
type work
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?j ) WHERE { ?q property:voice_actor ?l . ?q rdf:type ontology:work . ?l rdf:type ontology:common_name } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:Hércules_y_el_rey_de_Tesalia property:voice_actor ?g . ?g rdf:type ontology:work } } . FILTER ( ?j = ?v ) }
[]
common name work
SYSTEM
12
Q26987217 Q26701981 Q23752771 Q27627540 Q26712000 Q26390366 Q26715049 Q26299860 Q26457246 Q26301623 Q26829863 Q23894983
(c(Q386724),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q386724
type Q502895
action count
action filter_type
action find
entity Q26390366
relation P725
type Q386724
[ANSWER]
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?j ) WHERE { ?q property:P725 ?l . ?q rdf:type ontology:Q386724 . ?l rdf:type ontology:Q502895 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:Q26390366 property:P725 ?g . ?g rdf:type ontology:Q386724 } } . FILTER ( ?j = ?v ) }
Hércules y la visita de Zeus Hércules y el grifo Iron Man Doctor Strange (Doctor Extraño) Hércules y los Tecno-Griegos Hércules y el rey de Tesalia Peter y el dragón Hércules y el primer médico del mundo Hércules y el arma secreta Hércules y el primer día de escuela Angry Birds: La película Iron Man 2
12
action count
action approx
action find_tuple_counts
relation voice actor
type work
type common name
action count
action filter_type
action find
entity Hércules y el rey de Tesalia
relation voice actor
type work
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?j ) WHERE { ?q property:voice_actor ?l . ?q rdf:type ontology:work . ?l rdf:type ontology:common_name } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:Hércules_y_el_rey_de_Tesalia property:voice_actor ?g . ?g rdf:type ontology:work } } . FILTER ( ?j = ?v ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q483994
P1303
Q34379 Q502895
USER
Which musical instruments do greater number of people know to play than Kazoo ?
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q483994
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Q483994 property:P1303 ?r . ?r rdf:type ontology:Q34379 } } . FILTER ( ?z > ?e ) . { SELECT DISTINCT ?l ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 } GROUP BY ?l } }
Kazoo
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Kazoo
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Kazoo property:instrument ?r . ?r rdf:type ontology:musical_instrument } } . FILTER ( ?z > ?e ) . { SELECT DISTINCT ?l ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name } GROUP BY ?l } }
[]
musical instrument common name
Q5994 Q81982 Q80284
SYSTEM
piano, harpsichord, viola
Q80284 Q46185 Q80019 Q2563510 Q5994 Q81982 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q213100 Q626035 Q742180 Q1444 Q220971 Q128309 Q726306 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q483994
relation P1303
type Q34379
[ANSWERS] greater number of people know to play than Kazoo
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Q483994 property:P1303 ?r . ?r rdf:type ontology:Q34379 } } . FILTER ( ?z > ?e ) . { SELECT DISTINCT ?l ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 } GROUP BY ?l } }
viola bass guitar double bass steel-string acoustic guitar piano harpsichord vibraphone timpani trumpet cello violin harmonium upright piano tabla glockenspiel viola d'amore organ marimba drum kit erhu electronic keyboard drum
Piano, harpsichord and viola greater number of people know to play than Kazoo
piano harpsichord viola
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Kazoo
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Kazoo property:instrument ?r . ?r rdf:type ontology:musical_instrument } } . FILTER ( ?z > ?e ) . { SELECT DISTINCT ?l ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name } GROUP BY ?l } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q120585
P1303
Q34379 Q502895
USER
And how about Tsuzumi?
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q120585
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?v ) WHERE { ?l property:P1303 ?e . ?e rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { ?g rdf:type ontology:Q34379 . resource:Q120585 property:P1303 ?g } } . FILTER ( ?v > ?z ) }
Tsuzumi
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Tsuzumi
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?v ) WHERE { ?l property:instrument ?e . ?e rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { ?g rdf:type ontology:musical_instrument . resource:Tsuzumi property:instrument ?g } } . FILTER ( ?v > ?z ) }
[]
musical instrument common name
Q5994 Q81982 Q862501
SYSTEM
piano, harpsichord, ondes Martenot
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 greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q120585
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?v ) WHERE { ?l property:P1303 ?e . ?e rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { ?g rdf:type ontology:Q34379 . resource:Q120585 property:P1303 ?g } } . FILTER ( ?v > ?z ) }
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
piano harpsichord ondes Martenot
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Tsuzumi
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?v ) WHERE { ?l property:instrument ?e . ?e rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { ?g rdf:type ontology:musical_instrument . resource:Tsuzumi property:instrument ?g } } . FILTER ( ?v > ?z ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q26215129
P19
Q56061
USER
How many administrative territories were Morteza Azari born at ?
(Q26215129,P19,c(Q56061))
action count
action filter_type
action find
entity Q26215129
relation P19
type Q56061
['Q26215129', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { resource:Q26215129 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Morteza Azari
action count
action filter_type
action find
entity Morteza Azari
relation place of birth
type administrative territorial entity
['Morteza Azari', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { resource:Morteza_Azari property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q121157
(Q26215129,P19,c(Q56061))
action count
action filter_type
action find
entity Q26215129
relation P19
type Q56061
[ANSWER]
['Q26215129', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { resource:Q26215129 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Mashhad
1
action count
action filter_type
action find
entity Morteza Azari
relation place of birth
type administrative territorial entity
['Morteza Azari', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { resource:Morteza_Azari property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q22087172
P19
Q56061
USER
And how about Tom Hayes?
(Q22087172,P19,c(Q56061))
action count
action filter_type
action find
entity Q22087172
relation P19
type Q56061
['Q22087172', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { ?v rdf:type ontology:Q56061 . resource:Q22087172 property:P19 ?v }
Tom Hayes
action count
action filter_type
action find
entity Tom Hayes
relation place of birth
type administrative territorial entity
['Tom Hayes', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { ?v rdf:type ontology:administrative_territorial_entity . resource:Tom_Hayes property:place_of_birth ?v }
[]
administrative territorial entity
SYSTEM
1
Q84
(Q22087172,P19,c(Q56061))
action count
action filter_type
action find
entity Q22087172
relation P19
type Q56061
[ANSWER]
['Q22087172', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { ?v rdf:type ontology:Q56061 . resource:Q22087172 property:P19 ?v }
London
1
action count
action filter_type
action find
entity Tom Hayes
relation place of birth
type administrative territorial entity
['Tom Hayes', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { ?v rdf:type ontology:administrative_territorial_entity . resource:Tom_Hayes property:place_of_birth ?v }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q6292272
Q56061
USER
And what about José Francisco Álvarez?
(Q6292272,P19,c(Q56061))
action count
action filter_type
action find
entity Q6292272
relation P19
type Q56061
['Q6292272', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { ?a rdf:type ontology:Q56061 . resource:Q6292272 property:P19 ?a }
José Francisco Álvarez
action count
action filter_type
action find
entity José Francisco Álvarez
relation place of birth
type administrative territorial entity
['José Francisco Álvarez', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { ?a rdf:type ontology:administrative_territorial_entity . resource:José_Francisco_Álvarez property:place_of_birth ?a }
[]
administrative territorial entity
SYSTEM
1
(Q6292272,P19,c(Q56061))
action count
action filter_type
action find
entity Q6292272
relation P19
type Q56061
[ANSWER]
['Q6292272', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { ?a rdf:type ontology:Q56061 . resource:Q6292272 property:P19 ?a }
1
action count
action filter_type
action find
entity José Francisco Álvarez
relation place of birth
type administrative territorial entity
['José Francisco Álvarez', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { ?a rdf:type ontology:administrative_territorial_entity . resource:José_Francisco_Álvarez property:place_of_birth ?a }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P180
Q34379 Q1792379
USER
How many art genres demonstrate approximately 1 musical instrument ?
(c(Q1792379),P180,c(Q34379))
action count
action approx
action find_tuple_counts
relation P180
type Q1792379
type Q34379
value 1
[{'concept': 'Q1792379'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?a ) WHERE { ?x rdf:type ontology:Q1792379 . ?f rdf:type ontology:Q34379 . ?x property:P180 ?f } GROUP BY ?x } . FILTER ( ?a = 1 ) }
action count
action approx
action find_tuple_counts
relation depicts
type art genre
type musical instrument
value 1
[{'concept': 'art genre'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?a ) WHERE { ?x rdf:type ontology:art_genre . ?f rdf:type ontology:musical_instrument . ?x property:depicts ?f } GROUP BY ?x } . FILTER ( ?a = 1 ) }
[]
musical instrument art genre
SYSTEM
1
Q18661427
(c(Q1792379),P180,c(Q34379))
action count
action approx
action find_tuple_counts
relation P180
type Q1792379
type Q34379
value 1
[ANSWER]
[{'concept': 'Q1792379'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?a ) WHERE { ?x rdf:type ontology:Q1792379 . ?f rdf:type ontology:Q34379 . ?x property:P180 ?f } GROUP BY ?x } . FILTER ( ?a = 1 ) }
Memorial of the people of Pori
1
action count
action approx
action find_tuple_counts
relation depicts
type art genre
type musical instrument
value 1
[{'concept': 'art genre'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?a ) WHERE { ?x rdf:type ontology:art_genre . ?f rdf:type ontology:musical_instrument . ?x property:depicts ?f } GROUP BY ?x } . FILTER ( ?a = 1 ) }
[]