Simple Question (Direct)
Simple Question
Q1286889
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Tamás Selenka ?
(Q1286889,P27,c(Q15617994))
action filter_type
action find
entity Q1286889
relation P27
type Q15617994
['Q1286889', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q1286889 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Tamás Selenka
action filter_type
action find
entity Tamás Selenka
relation country of citizenship
type designation for an administrative territorial entity
['Tamás Selenka', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Tamás_Selenka property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28
SYSTEM
Hungary
Q28
(Q1286889,P27,c(Q15617994))
action filter_type
action find
entity Q1286889
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Tamás Selenka
['Q1286889', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q1286889 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Hungary
Hungary is the country of citizenship of Tamás Selenka
Hungary
action filter_type
action find
entity Tamás Selenka
relation country of citizenship
type designation for an administrative territorial entity
['Tamás Selenka', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Tamás_Selenka property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1286889
P734
Q82799
USER
Who has the surname Tamás Selenka ?
(Q1286889,P734,c(Q82799))
action filter_type
action find
entity Q1286889
relation P734
type Q82799
['Q1286889', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q1286889 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Tamás Selenka
action filter_type
action find
entity Tamás Selenka
relation family name
type name
['Tamás Selenka', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Tamás_Selenka property:family_name ?i . ?i rdf:type ontology:name }
[]
name
Q25712432
SYSTEM
Selenka
Q25712432
(Q1286889,P734,c(Q82799))
action filter_type
action find
entity Q1286889
relation P734
type Q82799
[ANSWER] has the surname Tamás [ANSWER]
['Q1286889', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q1286889 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Selenka
Selenka has the surname Tamás Selenka
Selenka
action filter_type
action find
entity Tamás Selenka
relation family name
type name
['Tamás Selenka', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Tamás_Selenka property:family_name ?i . ?i rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q9293119
Q82799
USER
And also tell me about Han Lin?
(Q9293119,P734,c(Q82799))
action filter_type
action find
entity Q9293119
relation P734
type Q82799
['Q9293119', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q82799 . resource:Q9293119 property:P734 ?n }
Han Lin
action filter_type
action find
entity Han Lin
relation family name
type name
['Han Lin', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:name . resource:Han_Lin property:family_name ?n }
[]
name
Q15242576
SYSTEM
Lin
Q15242576
(Q9293119,P734,c(Q82799))
action filter_type
action find
entity Q9293119
relation P734
type Q82799
[ANSWER]
['Q9293119', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q82799 . resource:Q9293119 property:P734 ?n }
Lin
Lin
action filter_type
action find
entity Han Lin
relation family name
type name
['Han Lin', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:name . resource:Han_Lin property:family_name ?n }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18713229 Q9293119
P641
Q349
USER
Which sports did Han Lin or Mozambique International Badminton Championships participate in ?
OR((Q9293119,P641,c(Q349)), (Q18713229,P641,c(Q349)))
action filter_type
action union
action find
entity Q9293119
relation P641
action find
entity Q18713229
relation P641
type Q349
{'OR': [['Q9293119', 'P641', {'concept': 'Q349'}], ['Q18713229', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q349 . { VALUES ( ?q ) { ( resource:Q9293119 ) ( resource:Q18713229 ) } . ?q property:P641 ?u } }
Mozambique International Badminton Championships Han Lin
action filter_type
action union
action find
entity Han Lin
relation sport
action find
entity Mozambique International Badminton Championships
relation sport
type sport
{'OR': [['Han Lin', 'sport', {'concept': 'sport'}], ['Mozambique International Badminton Championships', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sport . { VALUES ( ?q ) { ( resource:Han_Lin ) ( resource:Mozambique_International_Badminton_Championships ) } . ?q property:sport ?u } }
[]
sport
Q5369 Q7291
SYSTEM
baseball, badminton
Q5369 Q7291
OR((Q9293119,P641,c(Q349)), (Q18713229,P641,c(Q349)))
action filter_type
action union
action find
entity Q9293119
relation P641
action find
entity Q18713229
relation P641
type Q349
Han Lin or Mozambique International Badminton Championships participated in [ANSWERS]
{'OR': [['Q9293119', 'P641', {'concept': 'Q349'}], ['Q18713229', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q349 . { VALUES ( ?q ) { ( resource:Q9293119 ) ( resource:Q18713229 ) } . ?q property:P641 ?u } }
baseball badminton
Han Lin or Mozambique International Badminton Championships participated in baseball and badminton
baseball badminton
action filter_type
action union
action find
entity Han Lin
relation sport
action find
entity Mozambique International Badminton Championships
relation sport
type sport
{'OR': [['Han Lin', 'sport', {'concept': 'sport'}], ['Mozambique International Badminton Championships', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sport . { VALUES ( ?q ) { ( resource:Han_Lin ) ( resource:Mozambique_International_Badminton_Championships ) } . ?q property:sport ?u } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q18713229 Q5555191
P641
Q349
USER
How many sports were Mozambique International Badminton Championships or Ghadir Stadium a part of ?
(Q18713229,P641,c(Q349)) (Q5555191,P641,c(Q349))
action count
action union
action filter_type
action find
entity Q18713229
relation P641
type Q349
action filter_type
action find
entity Q5555191
relation P641
type Q349
['Q18713229', 'P641', {'concept': 'Q349'}] ['Q5555191', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { VALUES ( ?z ) { ( resource:Q18713229 ) ( resource:Q5555191 ) } . ?z property:P641 ?w }
Mozambique International Badminton Championships Ghadir Stadium
action count
action union
action filter_type
action find
entity Mozambique International Badminton Championships
relation sport
type sport
action filter_type
action find
entity Ghadir Stadium
relation sport
type sport
['Mozambique International Badminton Championships', 'sport', {'concept': 'sport'}] ['Ghadir Stadium', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { VALUES ( ?z ) { ( resource:Mozambique_International_Badminton_Championships ) ( resource:Ghadir_Stadium ) } . ?z property:sport ?w }
[]
sport
SYSTEM
2
Q7291 Q2736
(Q18713229,P641,c(Q349)) (Q5555191,P641,c(Q349))
action count
action union
action filter_type
action find
entity Q18713229
relation P641
type Q349
action filter_type
action find
entity Q5555191
relation P641
type Q349
[ANSWER]
['Q18713229', 'P641', {'concept': 'Q349'}] ['Q5555191', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { VALUES ( ?z ) { ( resource:Q18713229 ) ( resource:Q5555191 ) } . ?z property:P641 ?w }
badminton association football
2
action count
action union
action filter_type
action find
entity Mozambique International Badminton Championships
relation sport
type sport
action filter_type
action find
entity Ghadir Stadium
relation sport
type sport
['Mozambique International Badminton Championships', 'sport', {'concept': 'sport'}] ['Ghadir Stadium', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { VALUES ( ?z ) { ( resource:Mozambique_International_Badminton_Championships ) ( resource:Ghadir_Stadium ) } . ?z property:sport ?w }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2736
P366
Q349 Q811979 Q41176
USER
Which sports are considered as the main functionality of approximately the same number of architectural structures and buildings as association football ?
(c(Q811979)|c(Q41176),P366,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
action find_reverse_tuple_counts
relation P366
type Q349
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q2736
relation P366
type Q811979
type Q41176
[[{'concept': 'Q811979'}, {'concept': 'Q41176'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) ?s WHERE { VALUES ( ?f ) { ( ontology:Q811979 ) ( ontology:Q41176 ) } . ?l rdf:type ?f } GROUP BY ?s } . FILTER ( ?y = ?v ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { { ?t rdf:type ?d . VALUES ( ?d ) { ( ontology:Q41176 ) ( ontology:Q811979 ) } } . ?t property:P366 resource:Q2736 } } }
association football
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
action find_reverse_tuple_counts
relation use
type sport
type building
action count
action filter_multi_types
action find_reverse
entity association football
relation use
type architectural structure
type building
[[{'concept': 'architectural structure'}, {'concept': 'building'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) ?s WHERE { VALUES ( ?f ) { ( ontology:architectural_structure ) ( ontology:building ) } . ?l rdf:type ?f } GROUP BY ?s } . FILTER ( ?y = ?v ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { { ?t rdf:type ?d . VALUES ( ?d ) { ( ontology:building ) ( ontology:architectural_structure ) } } . ?t property:use resource:association_football } } }
[]
sport architectural structure building
Q183018 Q500050 Q108429
SYSTEM
bandy, cross country running, archery
Q7856 Q206989 Q14300548 Q183018 Q36908 Q500050 Q1875777 Q108429 Q177275 Q2736 Q61065 Q847 Q22857 Q1194269 Q41323 Q7291
(c(Q811979)|c(Q41176),P366,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
action find_reverse_tuple_counts
relation P366
type Q349
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q2736
relation P366
type Q811979
type Q41176
[ANSWERS] are considered as the main functionality of approximately the same number of architectural structures and buildings as association football
[[{'concept': 'Q811979'}, {'concept': 'Q41176'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) ?s WHERE { VALUES ( ?f ) { ( ontology:Q811979 ) ( ontology:Q41176 ) } . ?l rdf:type ?f } GROUP BY ?s } . FILTER ( ?y = ?v ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { { ?t rdf:type ?d . VALUES ( ?d ) { ( ontology:Q41176 ) ( ontology:Q811979 ) } } . ?t property:P366 resource:Q2736 } } }
rallying shooting sport skating bandy mountaineering cross country running air racing archery bobsleigh association football water sport tennis climbing harness racing American football badminton
Bandy, cross country running and archery are considered as the main functionality of approximately the same number of architectural structures and buildings as association football
bandy cross country running archery
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
action find_reverse_tuple_counts
relation use
type sport
type building
action count
action filter_multi_types
action find_reverse
entity association football
relation use
type architectural structure
type building
[[{'concept': 'architectural structure'}, {'concept': 'building'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) ?s WHERE { VALUES ( ?f ) { ( ontology:architectural_structure ) ( ontology:building ) } . ?l rdf:type ?f } GROUP BY ?s } . FILTER ( ?y = ?v ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { { ?t rdf:type ?d . VALUES ( ?d ) { ( ontology:building ) ( ontology:architectural_structure ) } } . ?t property:use resource:association_football } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q8418
P366
Q349 Q811979 Q41176
USER
And how about handball?
(c(Q811979)|c(Q41176),P366,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
action find_reverse_tuple_counts
relation P366
type Q349
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q8418
relation P366
type Q811979
type Q41176
[[{'concept': 'Q811979'}, {'concept': 'Q41176'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?k ) WHERE { { ?o property:P366 ?j . ?j rdf:type ontology:Q349 . ?o rdf:type ontology:Q811979 } UNION { ?o property:P366 ?j . ?j rdf:type ontology:Q349 . ?o rdf:type ontology:Q41176 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { ?i property:P366 resource:Q8418 . { ?i rdf:type ?f . VALUES ( ?f ) { ( ontology:Q41176 ) ( ontology:Q811979 ) } } } } . FILTER ( ?k = ?c ) }
handball
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
action find_reverse_tuple_counts
relation use
type sport
type building
action count
action filter_multi_types
action find_reverse
entity handball
relation use
type architectural structure
type building
[[{'concept': 'architectural structure'}, {'concept': 'building'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?k ) WHERE { { ?o property:use ?j . ?j rdf:type ontology:sport . ?o rdf:type ontology:architectural_structure } UNION { ?o property:use ?j . ?j rdf:type ontology:sport . ?o rdf:type ontology:building } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { ?i property:use resource:handball . { ?i rdf:type ?f . VALUES ( ?f ) { ( ontology:building ) ( ontology:architectural_structure ) } } } } . FILTER ( ?k = ?c ) }
[]
sport architectural structure building
Q206763 Q8418 Q5372
SYSTEM
floorball, handball, basketball
Q5372 Q8418 Q1734 Q624161 Q1345388 Q206763 Q41466
(c(Q811979)|c(Q41176),P366,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
action find_reverse_tuple_counts
relation P366
type Q349
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q8418
relation P366
type Q811979
type Q41176
[ANSWERS]
[[{'concept': 'Q811979'}, {'concept': 'Q41176'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?k ) WHERE { { ?o property:P366 ?j . ?j rdf:type ontology:Q349 . ?o rdf:type ontology:Q811979 } UNION { ?o property:P366 ?j . ?j rdf:type ontology:Q349 . ?o rdf:type ontology:Q41176 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { ?i property:P366 resource:Q8418 . { ?i rdf:type ?f . VALUES ( ?f ) { ( ontology:Q41176 ) ( ontology:Q811979 ) } } } } . FILTER ( ?k = ?c ) }
basketball handball volleyball gliding greyhound racing floorball ice hockey
floorball handball basketball
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
action find_reverse_tuple_counts
relation use
type sport
type building
action count
action filter_multi_types
action find_reverse
entity handball
relation use
type architectural structure
type building
[[{'concept': 'architectural structure'}, {'concept': 'building'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?k ) WHERE { { ?o property:use ?j . ?j rdf:type ontology:sport . ?o rdf:type ontology:architectural_structure } UNION { ?o property:use ?j . ?j rdf:type ontology:sport . ?o rdf:type ontology:building } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { ?i property:use resource:handball . { ?i rdf:type ?f . VALUES ( ?f ) { ( ontology:building ) ( ontology:architectural_structure ) } } } } . FILTER ( ?k = ?c ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8418
P101
Q502895
USER
Which person has field of work as that sport ?
(c(Q502895),P101,Q206763) (c(Q502895),P101,Q8418) (c(Q502895),P101,Q5372)
action filter_type
action find_reverse
entity Q8418
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q206763'] [{'concept': 'Q502895'}, 'P101', 'Q8418'] [{'concept': 'Q502895'}, 'P101', 'Q5372']
SELECT DISTINCT ?f WHERE { ?f property:P101 resource:Q8418 . ?f rdf:type ontology:Q502895 }
handball
action filter_type
action find_reverse
entity handball
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'floorball'] [{'concept': 'common name'}, 'field of work', 'handball'] [{'concept': 'common name'}, 'field of work', 'basketball']
SELECT DISTINCT ?f WHERE { ?f property:field_of_work resource:handball . ?f rdf:type ontology:common_name }
[]
common name
Q4750474
SYSTEM
Ana Paula Rodrigues
Q4750474
(c(Q502895),P101,Q206763) (c(Q502895),P101,Q8418) (c(Q502895),P101,Q5372)
action filter_type
action find_reverse
entity Q8418
relation P101
type Q502895
[ANSWER] has field of work as that sport
[{'concept': 'Q502895'}, 'P101', 'Q206763'] [{'concept': 'Q502895'}, 'P101', 'Q8418'] [{'concept': 'Q502895'}, 'P101', 'Q5372']
SELECT DISTINCT ?f WHERE { ?f property:P101 resource:Q8418 . ?f rdf:type ontology:Q502895 }
Ana Paula Rodrigues
Ana Paula Rodrigues has field of work as that sport
Ana Paula Rodrigues
action filter_type
action find_reverse
entity handball
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'floorball'] [{'concept': 'common name'}, 'field of work', 'handball'] [{'concept': 'common name'}, 'field of work', 'basketball']
SELECT DISTINCT ?f WHERE { ?f property:field_of_work resource:handball . ?f 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 approximately 3515 people perform with ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3515
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?h ) WHERE { ?a rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 . ?g property:P1303 ?a } GROUP BY ?a } . FILTER ( ?h = 3515 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3515
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?h ) WHERE { ?a rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name . ?g property:instrument ?a } GROUP BY ?a } . FILTER ( ?h = 3515 ) }
[]
musical instrument common name
Q8355 Q1444 Q128309
SYSTEM
violin, organ, drum kit
Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3515
The [ANSWERS] can approximately 3515 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?h ) WHERE { ?a rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 . ?g property:P1303 ?a } GROUP BY ?a } . FILTER ( ?h = 3515 ) }
violin organ drum kit
The violin, organ and drum kit can approximately 3515 people perform with
violin organ drum kit
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3515
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?h ) WHERE { ?a rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name . ?g property:instrument ?a } GROUP BY ?a } . FILTER ( ?h = 3515 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q502895 Q486972 Q82799
USER
How many names come from around 2 people and human settlements ?
(c(Q82799),P138,c(Q502895)|c(Q486972))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q82799
type Q502895
action find_tuple_counts
relation P138
type Q82799
type Q486972
value 2
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q502895'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) ?m WHERE { ?p rdf:type ?j . VALUES ( ?j ) { ( ontology:Q502895 ) ( ontology:Q486972 ) } } GROUP BY ?m } . FILTER ( ?k = 2 ) }
action count
action approx
action union
action find_tuple_counts
relation named after
type name
type common name
action find_tuple_counts
relation named after
type name
type human settlement
value 2
[{'concept': 'name'}, 'named after', [{'concept': 'common name'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) ?m WHERE { ?p rdf:type ?j . VALUES ( ?j ) { ( ontology:common_name ) ( ontology:human_settlement ) } } GROUP BY ?m } . FILTER ( ?k = 2 ) }
[]
common name human settlement name
SYSTEM
2
Q1746111 Q23885849
(c(Q82799),P138,c(Q502895)|c(Q486972))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q82799
type Q502895
action find_tuple_counts
relation P138
type Q82799
type Q486972
value 2
[ANSWER]
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q502895'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) ?m WHERE { ?p rdf:type ?j . VALUES ( ?j ) { ( ontology:Q502895 ) ( ontology:Q486972 ) } } GROUP BY ?m } . FILTER ( ?k = 2 ) }
Michael Gregorio Achaz
2
action count
action approx
action union
action find_tuple_counts
relation named after
type name
type common name
action find_tuple_counts
relation named after
type name
type human settlement
value 2
[{'concept': 'name'}, 'named after', [{'concept': 'common name'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) ?m WHERE { ?p rdf:type ?j . VALUES ( ?j ) { ( ontology:common_name ) ( ontology:human_settlement ) } } GROUP BY ?m } . FILTER ( ?k = 2 ) }
[]