Simple Question (Direct)
Simple Question
Q792130
P106
Q12737077
USER
What is the job of Axel Gauvin ?
(Q792130,P106,c(Q12737077))
action filter_type
action find
entity Q792130
relation P106
type Q12737077
['Q792130', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q792130 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Axel Gauvin
action filter_type
action find
entity Axel Gauvin
relation occupation
type occupation
['Axel Gauvin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Axel_Gauvin property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q36180
SYSTEM
writer
Q36180
(Q792130,P106,c(Q12737077))
action filter_type
action find
entity Q792130
relation P106
type Q12737077
The job of Axel Gauvin is a [ANSWER]
['Q792130', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q792130 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
writer
The job of Axel Gauvin is a writer
writer
action filter_type
action find
entity Axel Gauvin
relation occupation
type occupation
['Axel Gauvin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Axel_Gauvin property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q792130
P1412
Q5962346
USER
Which classification scheme does Axel Gauvin speak in ?
(Q792130,P1412,c(Q5962346))
action filter_type
action find
entity Q792130
relation P1412
type Q5962346
['Q792130', 'P1412', {'concept': 'Q5962346'}]
SELECT DISTINCT ?u WHERE { resource:Q792130 property:P1412 ?u . ?u rdf:type ontology:Q5962346 }
Axel Gauvin
action filter_type
action find
entity Axel Gauvin
relation languages spoken, written or signed
type classification scheme
['Axel Gauvin', 'languages spoken, written or signed', {'concept': 'classification scheme'}]
SELECT DISTINCT ?u WHERE { resource:Axel_Gauvin property:languages_spoken,_written_or_signed ?u . ?u rdf:type ontology:classification_scheme }
[]
classification scheme
Q33260
SYSTEM
French-based creole languages
Q33260
(Q792130,P1412,c(Q5962346))
action filter_type
action find
entity Q792130
relation P1412
type Q5962346
Axel Gauvin speaks French [ANSWER]
['Q792130', 'P1412', {'concept': 'Q5962346'}]
SELECT DISTINCT ?u WHERE { resource:Q792130 property:P1412 ?u . ?u rdf:type ontology:Q5962346 }
French-based creole languages
Axel Gauvin speaks French French-based creole languages
French-based creole languages
action filter_type
action find
entity Axel Gauvin
relation languages spoken, written or signed
type classification scheme
['Axel Gauvin', 'languages spoken, written or signed', {'concept': 'classification scheme'}]
SELECT DISTINCT ?u WHERE { resource:Axel_Gauvin property:languages_spoken,_written_or_signed ?u . ?u rdf:type ontology:classification_scheme }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q792130
P166
Q618779
USER
Which award was received by Axel Gauvin ?
(Q792130,P166,c(Q618779))
action filter_type
action find
entity Q792130
relation P166
type Q618779
['Q792130', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?k WHERE { resource:Q792130 property:P166 ?k . ?k rdf:type ontology:Q618779 }
Axel Gauvin
action filter_type
action find
entity Axel Gauvin
relation award received
type award
['Axel Gauvin', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?k WHERE { resource:Axel_Gauvin property:award_received ?k . ?k rdf:type ontology:award }
[]
award
Q13452528
SYSTEM
Chevalier de l'ordre des Arts et des Lettres‎
Q13452528
(Q792130,P166,c(Q618779))
action filter_type
action find
entity Q792130
relation P166
type Q618779
[ANSWER] was received by Axel Gauvin
['Q792130', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?k WHERE { resource:Q792130 property:P166 ?k . ?k rdf:type ontology:Q618779 }
Chevalier de l'ordre des Arts et des Lettres‎
Chevalier de l'ordre des Arts et des Lettres‎ was received by Axel Gauvin
Chevalier de l'ordre des Arts et des Lettres‎
action filter_type
action find
entity Axel Gauvin
relation award received
type award
['Axel Gauvin', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?k WHERE { resource:Axel_Gauvin property:award_received ?k . ?k rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q792130
P19
Q20667921
USER
Which french administrative division was Axel Gauvin born at ?
(Q792130,P19,c(Q20667921))
action filter_type
action find
entity Q792130
relation P19
type Q20667921
['Q792130', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q20667921 . resource:Q792130 property:P19 ?j }
Axel Gauvin
action filter_type
action find
entity Axel Gauvin
relation place of birth
type type of french administrative division
['Axel Gauvin', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:type_of_french_administrative_division . resource:Axel_Gauvin property:place_of_birth ?j }
[]
type of french administrative division
Q47045
SYSTEM
Saint-Denis
Q47045
(Q792130,P19,c(Q20667921))
action filter_type
action find
entity Q792130
relation P19
type Q20667921
Axel Gauvin was born in [ANSWER]
['Q792130', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q20667921 . resource:Q792130 property:P19 ?j }
Saint-Denis
Axel Gauvin was born in Saint-Denis
Saint-Denis
action filter_type
action find
entity Axel Gauvin
relation place of birth
type type of french administrative division
['Axel Gauvin', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:type_of_french_administrative_division . resource:Axel_Gauvin property:place_of_birth ?j }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q159575
Q20667921
USER
And how about Hugh Capet of France?
(Q159575,P19,c(Q20667921))
action filter_type
action find
entity Q159575
relation P19
type Q20667921
['Q159575', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { resource:Q159575 property:P19 ?v . ?v rdf:type ontology:Q20667921 }
Hugh Capet of France
action filter_type
action find
entity Hugh Capet of France
relation place of birth
type type of french administrative division
['Hugh Capet of France', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { resource:Hugh_Capet_of_France property:place_of_birth ?v . ?v rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q646609
SYSTEM
Dourdan
Q646609
(Q159575,P19,c(Q20667921))
action filter_type
action find
entity Q159575
relation P19
type Q20667921
[ANSWER]
['Q159575', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { resource:Q159575 property:P19 ?v . ?v rdf:type ontology:Q20667921 }
Dourdan
Dourdan
action filter_type
action find
entity Hugh Capet of France
relation place of birth
type type of french administrative division
['Hugh Capet of France', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { resource:Hugh_Capet_of_France property:place_of_birth ?v . ?v rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q21407509 Q792130
P27 P17
Q15617994
USER
Which administrative territories are the native countriesof Axel Gauvin or are Uhamba a part of ?
OR((Q792130,P27,c(Q15617994)), (Q21407509,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q792130
relation P27
action find
entity Q21407509
relation P17
type Q15617994
{'OR': [['Q792130', 'P27', {'concept': 'Q15617994'}], ['Q21407509', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q21407509 property:P17 ?s } UNION { resource:Q792130 property:P27 ?s } } . ?s rdf:type ontology:Q15617994 }
Uhamba Axel Gauvin
action filter_type
action union
action find
entity Axel Gauvin
relation country of citizenship
action find
entity Uhamba
relation country
type designation for an administrative territorial entity
{'OR': [['Axel Gauvin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Uhamba', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Uhamba property:country ?s } UNION { resource:Axel_Gauvin property:country_of_citizenship ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q916
SYSTEM
France, Angola
Q142 Q916
OR((Q792130,P27,c(Q15617994)), (Q21407509,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q792130
relation P27
action find
entity Q21407509
relation P17
type Q15617994
[ANSWERS] are the native countriesof Axel Gauvin or are Uhamba a part of
{'OR': [['Q792130', 'P27', {'concept': 'Q15617994'}], ['Q21407509', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q21407509 property:P17 ?s } UNION { resource:Q792130 property:P27 ?s } } . ?s rdf:type ontology:Q15617994 }
France Angola
France and Angola are the native countriesof Axel Gauvin or are Uhamba a part of
France Angola
action filter_type
action union
action find
entity Axel Gauvin
relation country of citizenship
action find
entity Uhamba
relation country
type designation for an administrative territorial entity
{'OR': [['Axel Gauvin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Uhamba', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Uhamba property:country ?s } UNION { resource:Axel_Gauvin property:country_of_citizenship ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2723621
P530
Q1048835
USER
Are Cusco known to have diplomatic connections with those administrative territories ?
(Q2723621,P530,Q142) (Q2723621,P530,Q916)
action is_in
entity prev_answer
action find
entity Q2723621
relation P530
['Q2723621', 'P530', 'Q142'] ['Q2723621', 'P530', 'Q916']
ASK WHERE { resource:Q2723621 property:P530 ?d . VALUES ( ?d ) { ( resource:Q142 ) ( resource:Q916 ) } }
Cusco
action is_in
entity prev_answer
action find
entity Cusco
relation diplomatic relation
['Cusco', 'diplomatic relation', 'France'] ['Cusco', 'diplomatic relation', 'Angola']
ASK WHERE { resource:Cusco property:diplomatic_relation ?d . VALUES ( ?d ) { ( resource:France ) ( resource:Angola ) } }
[]
political territorial entity
SYSTEM
NO
(Q2723621,P530,Q142) (Q2723621,P530,Q916)
action is_in
entity prev_answer
action find
entity Q2723621
relation P530
[ANSWER]
['Q2723621', 'P530', 'Q142'] ['Q2723621', 'P530', 'Q916']
ASK WHERE { resource:Q2723621 property:P530 ?d . VALUES ( ?d ) { ( resource:Q142 ) ( resource:Q916 ) } }
No
action is_in
entity prev_answer
action find
entity Cusco
relation diplomatic relation
['Cusco', 'diplomatic relation', 'France'] ['Cusco', 'diplomatic relation', 'Angola']
ASK WHERE { resource:Cusco property:diplomatic_relation ?d . VALUES ( ?d ) { ( resource:France ) ( resource:Angola ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q47045 Q47620
P17
Q15617994
USER
Is Saint-Denis situated in Veleso ?
(Q47045,P17,Q47620)
action is_in
entity Q47620
action find
entity Q47045
relation P17
['Q47045', 'P17', 'Q47620']
ASK WHERE { resource:Q47045 property:P17 resource:Q47620 }
Saint-Denis Veleso
action is_in
entity Veleso
action find
entity Saint-Denis
relation country
['Saint-Denis', 'country', 'Veleso']
ASK WHERE { resource:Saint-Denis property:country resource:Veleso }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q47045,P17,Q47620)
action is_in
entity Q47620
action find
entity Q47045
relation P17
[ANSWER]
['Q47045', 'P17', 'Q47620']
ASK WHERE { resource:Q47045 property:P17 resource:Q47620 }
No
action is_in
entity Veleso
action find
entity Saint-Denis
relation country
['Saint-Denis', 'country', 'Veleso']
ASK WHERE { resource:Saint-Denis property:country resource:Veleso }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3559506 Q21407509
P17
Q15617994
USER
Which administrative territories do Uhamba or Voufrades belong to ?
OR((Q21407509,P17,c(Q15617994)), (Q3559506,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q21407509
relation P17
action find
entity Q3559506
relation P17
type Q15617994
{'OR': [['Q21407509', 'P17', {'concept': 'Q15617994'}], ['Q3559506', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q3559506 property:P17 ?o } UNION { resource:Q21407509 property:P17 ?o } } . ?o rdf:type ontology:Q15617994 }
Voufrades Uhamba
action filter_type
action union
action find
entity Uhamba
relation country
action find
entity Voufrades
relation country
type designation for an administrative territorial entity
{'OR': [['Uhamba', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Voufrades', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Voufrades property:country ?o } UNION { resource:Uhamba property:country ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q916 Q41
SYSTEM
Angola, Greece
Q916 Q41
OR((Q21407509,P17,c(Q15617994)), (Q3559506,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q21407509
relation P17
action find
entity Q3559506
relation P17
type Q15617994
Uhamba or Voufrades belong to [ANSWERS]
{'OR': [['Q21407509', 'P17', {'concept': 'Q15617994'}], ['Q3559506', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q3559506 property:P17 ?o } UNION { resource:Q21407509 property:P17 ?o } } . ?o rdf:type ontology:Q15617994 }
Angola Greece
Uhamba or Voufrades belong to Angola and Greece
Angola Greece
action filter_type
action union
action find
entity Uhamba
relation country
action find
entity Voufrades
relation country
type designation for an administrative territorial entity
{'OR': [['Uhamba', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Voufrades', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Voufrades property:country ?o } UNION { resource:Uhamba property:country ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P144
Q502895 Q838948 Q95074
USER
Which people are max number of works of art and fictional characters considered a copy of ?
(c(Q838948)|c(Q95074),P144,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q838948
action find_reverse_tuple_counts
relation P144
type Q502895
type Q95074
[[{'concept': 'Q838948'}, {'concept': 'Q95074'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) ?d WHERE { { ?o property:P144 ?d . ?o rdf:type ontology:Q838948 . ?d rdf:type ontology:Q502895 } UNION { ?d rdf:type ontology:Q502895 . ?o rdf:type ontology:Q95074 . ?o property:P144 ?d } } GROUP BY ?d } } . FILTER ( ?e = ?n ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) ?l WHERE { { ?x property:P144 ?l . ?l rdf:type ontology:Q502895 . ?x rdf:type ontology:Q838948 } UNION { ?x property:P144 ?l . ?l rdf:type ontology:Q502895 . ?x rdf:type ontology:Q95074 } } GROUP BY ?l } }
action argmax
action union
action find_reverse_tuple_counts
relation based on
type common name
type work of art
action find_reverse_tuple_counts
relation based on
type common name
type fictional character
[[{'concept': 'work of art'}, {'concept': 'fictional character'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) ?d WHERE { { ?o property:based_on ?d . ?o rdf:type ontology:work_of_art . ?d rdf:type ontology:common_name } UNION { ?d rdf:type ontology:common_name . ?o rdf:type ontology:fictional_character . ?o property:based_on ?d } } GROUP BY ?d } } . FILTER ( ?e = ?n ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) ?l WHERE { { ?x property:based_on ?l . ?l rdf:type ontology:common_name . ?x rdf:type ontology:work_of_art } UNION { ?x property:based_on ?l . ?l rdf:type ontology:common_name . ?x rdf:type ontology:fictional_character } } GROUP BY ?l } }
[]
common name work of art fictional character
Q12014160 Q5968600
SYSTEM
Huh Young-man, Jeffrey Reddick
Q12014160 Q5968600
(c(Q838948)|c(Q95074),P144,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q838948
action find_reverse_tuple_counts
relation P144
type Q502895
type Q95074
[ANSWERS] are max number of works of art and fictional characters considered a copy of
[[{'concept': 'Q838948'}, {'concept': 'Q95074'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) ?d WHERE { { ?o property:P144 ?d . ?o rdf:type ontology:Q838948 . ?d rdf:type ontology:Q502895 } UNION { ?d rdf:type ontology:Q502895 . ?o rdf:type ontology:Q95074 . ?o property:P144 ?d } } GROUP BY ?d } } . FILTER ( ?e = ?n ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) ?l WHERE { { ?x property:P144 ?l . ?l rdf:type ontology:Q502895 . ?x rdf:type ontology:Q838948 } UNION { ?x property:P144 ?l . ?l rdf:type ontology:Q502895 . ?x rdf:type ontology:Q95074 } } GROUP BY ?l } }
Huh Young-man Jeffrey Reddick
Huh Young-man and Jeffrey Reddick are max number of works of art and fictional characters considered a copy of
Huh Young-man Jeffrey Reddick
action argmax
action union
action find_reverse_tuple_counts
relation based on
type common name
type work of art
action find_reverse_tuple_counts
relation based on
type common name
type fictional character
[[{'concept': 'work of art'}, {'concept': 'fictional character'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) ?d WHERE { { ?o property:based_on ?d . ?o rdf:type ontology:work_of_art . ?d rdf:type ontology:common_name } UNION { ?d rdf:type ontology:common_name . ?o rdf:type ontology:fictional_character . ?o property:based_on ?d } } GROUP BY ?d } } . FILTER ( ?e = ?n ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) ?l WHERE { { ?x property:based_on ?l . ?l rdf:type ontology:common_name . ?x rdf:type ontology:work_of_art } UNION { ?x property:based_on ?l . ?l rdf:type ontology:common_name . ?x rdf:type ontology:fictional_character } } GROUP BY ?l } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P27
Q15617994
USER
How many administrative territories are the native countriesof that person ?
(Q12014160,P27,c(Q15617994))
['Q12014160', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q12014160 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
['Huh Young-man', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Huh_Young-man property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q5968600
SYSTEM
Did you mean Jeffrey Reddick ?
(Q12014160,P27,c(Q15617994)) (Q5968600,P27,c(Q15617994))
[ANSWER]
['Q12014160', 'P27', {'concept': 'Q15617994'}] ['Q5968600', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q12014160 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Jeffrey Reddick ?
Jeffrey Reddick
['Huh Young-man', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Jeffrey Reddick', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Huh_Young-man property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Huh Young-man. Could you tell me the answer for that?
(Q12014160,P27,c(Q15617994))
Q12014160
['Q12014160', 'P27', {'concept': 'Q15617994'}]
['Huh Young-man', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q884
(Q12014160,P27,c(Q15617994))
[ANSWER]
['Q12014160', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q12014160 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
South Korea
1
['Huh Young-man', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Huh_Young-man property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P17
Q15617994 Q55488 Q14524493
USER
How many administrative territories do approximately 1074 railway stations and terrains belong to ?
(c(Q55488)|c(Q14524493),P17,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q55488
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q14524493
value 1074
[[{'concept': 'Q55488'}, {'concept': 'Q14524493'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?b ) WHERE { { ?a property:P17 ?j . ?a rdf:type ontology:Q55488 . ?j rdf:type ontology:Q15617994 } UNION { ?a property:P17 ?j . ?j rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q14524493 } } GROUP BY ?j } . FILTER ( ?b = 1074 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type railway station
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type terrain
value 1074
[[{'concept': 'railway station'}, {'concept': 'terrain'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?b ) WHERE { { ?a property:country ?j . ?a rdf:type ontology:railway_station . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?a property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:terrain } } GROUP BY ?j } . FILTER ( ?b = 1074 ) }
[]
designation for an administrative territorial entity railway station terrain
SYSTEM
5
Q142 Q148 Q38 Q20 Q29
(c(Q55488)|c(Q14524493),P17,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q55488
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q14524493
value 1074
[ANSWER]
[[{'concept': 'Q55488'}, {'concept': 'Q14524493'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?b ) WHERE { { ?a property:P17 ?j . ?a rdf:type ontology:Q55488 . ?j rdf:type ontology:Q15617994 } UNION { ?a property:P17 ?j . ?j rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q14524493 } } GROUP BY ?j } . FILTER ( ?b = 1074 ) }
France People's Republic of China Italy Norway Spain
5
action count
action approx
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type railway station
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type terrain
value 1074
[[{'concept': 'railway station'}, {'concept': 'terrain'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?b ) WHERE { { ?a property:country ?j . ?a rdf:type ontology:railway_station . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?a property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:terrain } } GROUP BY ?j } . FILTER ( ?b = 1074 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q574
P1532
Q6979593
USER
Whose national association football team is East Timor ?
(c(Q6979593),P1532,Q574)
action filter_type
action find_reverse
entity Q574
relation P1532
type Q6979593
[{'concept': 'Q6979593'}, 'P1532', 'Q574']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q6979593 . ?s property:P1532 resource:Q574 }
East Timor
action filter_type
action find_reverse
entity East Timor
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'East Timor']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:national_association_football_team . ?s property:country_for_sport resource:East_Timor }
[]
national association football team
Q7806952
SYSTEM
Timor-Leste women's national football team
Q7806952
(c(Q6979593),P1532,Q574)
action filter_type
action find_reverse
entity Q574
relation P1532
type Q6979593
And [ANSWER] is East Timor
[{'concept': 'Q6979593'}, 'P1532', 'Q574']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q6979593 . ?s property:P1532 resource:Q574 }
Timor-Leste women's national football team
And Timor-Leste women's national football team is East Timor
Timor-Leste women's national football team
action filter_type
action find_reverse
entity East Timor
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'East Timor']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:national_association_football_team . ?s property:country_for_sport resource:East_Timor }
[]